From c61766960bd4c08d02f0ee9666113f5c42622282 Mon Sep 17 00:00:00 2001 From: The_miro Date: Fri, 8 May 2026 15:16:01 +0200 Subject: [PATCH] added timer --- desktopenvs/hyprland/hypr-usr/binds.conf | 2 +- desktopenvs/hyprland/mimeapps.list | 1 + .../hyprland/scripts/frequentcommands.list | 0 .../{timer-notify.sh => timer-notify.sh.old} | 15 +- desktopenvs/hyprland/scripts/timer-pick | 201 ++++++++++++++++++ desktopenvs/hyprland/scripts/timer-run | 110 ++++++++++ desktopenvs/hyprland/scripts/timer.sh | 162 -------------- desktopenvs/hyprland/scripts/timer.sh.old | 151 +++++++++++++ .../xfconf/xfce-perchannel-xml/thunar.xml | 2 +- 9 files changed, 478 insertions(+), 166 deletions(-) mode change 100644 => 100755 desktopenvs/hyprland/scripts/frequentcommands.list rename desktopenvs/hyprland/scripts/{timer-notify.sh => timer-notify.sh.old} (78%) create mode 100755 desktopenvs/hyprland/scripts/timer-pick create mode 100755 desktopenvs/hyprland/scripts/timer-run delete mode 100755 desktopenvs/hyprland/scripts/timer.sh create mode 100755 desktopenvs/hyprland/scripts/timer.sh.old diff --git a/desktopenvs/hyprland/hypr-usr/binds.conf b/desktopenvs/hyprland/hypr-usr/binds.conf index 466e10d..31a8e39 100644 --- a/desktopenvs/hyprland/hypr-usr/binds.conf +++ b/desktopenvs/hyprland/hypr-usr/binds.conf @@ -88,7 +88,7 @@ bind = $mainMod CTRL, M, exec, ~/.config/scripts/toggle-layout.sh bind = $mainMod, S, exec, [tag +mixer] pavucontrol bind = $mainMod, F1, exec, [tag +centered] kitty ~/.config/scripts/helpmenu.sh -bind = $mainMod CTRL, T, exec, [tag +centered] kitty --class timer-popup bash ~/.config/scripts/timer.sh +bind = $mainMod CTRL, T, exec, [tag +centered] kitty bash ~/.config/scripts/timer-pick bind = $mainMod, U, exec, [tag +centered-L] kitty btop bind = $mainMod SHIFT, F1, exec, [tag +centered-L] kitty nvim ~/.config/binds.conf bind = $mainMod CTRL, E, exec, ~/.config/scripts/screenrotationwcw.sh diff --git a/desktopenvs/hyprland/mimeapps.list b/desktopenvs/hyprland/mimeapps.list index 95bf53c..140291a 100644 --- a/desktopenvs/hyprland/mimeapps.list +++ b/desktopenvs/hyprland/mimeapps.list @@ -44,3 +44,4 @@ application/x-extension-xht=firefox.desktop; application/xml=nvim.desktop; text/x-python=nvim.desktop; video/mp4=firefox.desktop;vlc.desktop; +application/x-shellscript=nvim.desktop; diff --git a/desktopenvs/hyprland/scripts/frequentcommands.list b/desktopenvs/hyprland/scripts/frequentcommands.list old mode 100644 new mode 100755 diff --git a/desktopenvs/hyprland/scripts/timer-notify.sh b/desktopenvs/hyprland/scripts/timer-notify.sh.old similarity index 78% rename from desktopenvs/hyprland/scripts/timer-notify.sh rename to desktopenvs/hyprland/scripts/timer-notify.sh.old index db8199c..756bb07 100755 --- a/desktopenvs/hyprland/scripts/timer-notify.sh +++ b/desktopenvs/hyprland/scripts/timer-notify.sh.old @@ -1,11 +1,22 @@ #!/usr/bin/env bash # Background timer: sleeps, notifies, rings thrice in 30s unless dismissed -# Usage: timer-notify.sh