From f7d1073a98cef62b2f4a87afd18651dfeea6a7ca Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 16 Sep 2024 01:04:09 +0100 Subject: (Scripts)~qdisplay -> statdisplay --- SXHkD/.config/sxhkd/sxhkdrc | 4 ++-- Scripts/.local/scripts/qdisplay | 34 ---------------------------------- Scripts/.local/scripts/statdisplay | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 36 deletions(-) delete mode 100755 Scripts/.local/scripts/qdisplay create mode 100755 Scripts/.local/scripts/statdisplay diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc index b434014..0659780 100644 --- a/SXHkD/.config/sxhkd/sxhkdrc +++ b/SXHkD/.config/sxhkd/sxhkdrc @@ -22,7 +22,7 @@ super + s xdg-open "https://duckduckgo.com" super + semicolon - $HOME/.local/scripts/qdisplay + $HOME/.local/scripts/statdisplay super + z notify-send -u low "Launching zathura"; \ @@ -70,7 +70,7 @@ XF86Audio{Lower,Raise}Volume kill -43 $(pidof dwmblocks); \ {pamixer -d,pamixer -i} 5 --allow-boost; -ctrl + XF86Audio{Lower,Raise}Volume +shift + XF86Audio{Lower,Raise}Volume kill -43 $(pidof dwmblocks); \ {pamixer -d,pamixer -i} 1 --allow-boost; diff --git a/Scripts/.local/scripts/qdisplay b/Scripts/.local/scripts/qdisplay deleted file mode 100755 index 665d1f5..0000000 --- a/Scripts/.local/scripts/qdisplay +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env sh - -script="" -case "$(printf "Date\nBattery\nBluetooth\nMusic\nNetwork\nVolume\nTemperature\nMemory\nUptime" | dmenu -i -p "Select: ")" in - "Date") - script="datetime" - ;; - "Battery") - script="battery" - ;; - "Bluetooth") - script="bluetooth-status" - ;; - "Music") - script="music" - ;; - "Network") - script="connection" - ;; - "Volume") - script="volume" - ;; - "Temperature") - script="temperature" - ;; - "Memory") - script="memory" - ;; - "Uptime") - script="uptime_status" - ;; -esac - -notify-send -u low "$(~/.local/scripts/status/$script)" diff --git a/Scripts/.local/scripts/statdisplay b/Scripts/.local/scripts/statdisplay new file mode 100755 index 0000000..665d1f5 --- /dev/null +++ b/Scripts/.local/scripts/statdisplay @@ -0,0 +1,34 @@ +#!/usr/bin/env sh + +script="" +case "$(printf "Date\nBattery\nBluetooth\nMusic\nNetwork\nVolume\nTemperature\nMemory\nUptime" | dmenu -i -p "Select: ")" in + "Date") + script="datetime" + ;; + "Battery") + script="battery" + ;; + "Bluetooth") + script="bluetooth-status" + ;; + "Music") + script="music" + ;; + "Network") + script="connection" + ;; + "Volume") + script="volume" + ;; + "Temperature") + script="temperature" + ;; + "Memory") + script="memory" + ;; + "Uptime") + script="uptime_status" + ;; +esac + +notify-send -u low "$(~/.local/scripts/status/$script)" -- cgit v1.2.3-13-gbd6f