diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-03-08 20:01:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-08 20:01:00 +0900 |
| commit | 58ff6d436f2180c1bb3ea967636d0715258542a4 (patch) | |
| tree | e0c130bf8479dcfedc79059202a9c4449bc54048 /config/waybar/ModulesCustom | |
| parent | 8ead68af4e161693f82e5dcd37118d7a2dac24d5 (diff) | |
| parent | a5530ba1c81a482aa8e77db9bf37aa5894d1fa86 (diff) | |
Merge pull request #605 from JaKooLit/development
Development to main
Diffstat (limited to 'config/waybar/ModulesCustom')
| -rw-r--r-- | config/waybar/ModulesCustom | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/config/waybar/ModulesCustom b/config/waybar/ModulesCustom index 9237af27..86cbe6c6 100644 --- a/config/waybar/ModulesCustom +++ b/config/waybar/ModulesCustom @@ -33,7 +33,7 @@ "custom/browser": { "format": " ", - "on-click": "xdg-open http:// &", + "on-click": "xdg-open https://", "tooltip": true, "tooltip-format": "Launch Browser", }, @@ -140,6 +140,20 @@ "tooltip-format": "Left Click: Logout Menu\nRight Click: Change Blur", }, +"custom/reboot": { + "format": "", + "on-click": "systemctl reboot", + "tooltip": true, + "tooltip-format": "Left Click: Reboot", +}, + +"custom/quit": { + "format": "", + "on-click": "hyprctl dispatch exit", + "tooltip": true, + "tooltip-format": "Left Click: Exit Hyprland", +}, + "custom/swaync": { "tooltip": true, "tooltip-format": "Left Click: Launch Notification Center\nRight Click: Do not Disturb", @@ -161,15 +175,16 @@ "on-click-right": "swaync-client -d -sw", "escape": true, }, -// NOTE:! This is only for Arch and Arch Based Distros depend: pacman-contrib +// NOTE:! This is mainly for Arch and Arch Based Distros depend: pacman-contrib +// Other Distro dont have notifications but can use to check for update for any other distro "custom/updater": { "format": " {}", "exec": "checkupdates | wc -l", "exec-if": "[[ $(checkupdates | wc -l) ]]", - "interval": 15, - "on-click": "if command -v paru &> /dev/null; then kitty -T update paru -Syu; else kitty -T update yay -Syu; fi && notify-send 'The system has been updated'", + "interval": 43200, // (Arch Linux will try to check 12 hrs interval only + "on-click": "$HOME/.config/hypr/scripts/Distro_update.sh", "tooltip": true, - "tooltip-format": "Left Click: Update System\nArch Linux Only", + "tooltip-format": "Left Click: Update System\nArch (w/ notification)\nFedora, OpenSuse, Debian/Ubuntu click to update", }, // Separators "custom/separator#dot": { |
