diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.bin/shut | 8 | ||||
-rwxr-xr-x | bin/.bin/sysinfo | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/.bin/shut b/bin/.bin/shut index 1fb1295..2d24299 100755 --- a/bin/.bin/shut +++ b/bin/.bin/shut | |||
@@ -1,11 +1,11 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10:antialias=true:autohint=true") | 3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -p "Sayonara" -fn "JetBrains Mono Nerd Font Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f") |
4 | 4 | ||
5 | case $RET in | 5 | case $RET in |
6 | shutdown) doas poweroff ;; | 6 | shutdown) systemctl poweroff ;; |
7 | reboot) doas reboot ;; | 7 | reboot) systemctl reboot ;; |
8 | sleep) xset s activate & doas zzz;; | 8 | sleep) systemctl suspend ;; |
9 | lock) xset s activate ;; | 9 | lock) xset s activate ;; |
10 | *) ;; | 10 | *) ;; |
11 | esac | 11 | esac |
diff --git a/bin/.bin/sysinfo b/bin/.bin/sysinfo index 4f9f456..b121b97 100755 --- a/bin/.bin/sysinfo +++ b/bin/.bin/sysinfo | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | wm="$(echo $XDG_CURRENT_DESKTOP)" | 5 | wm="$(echo $XDG_CURRENT_DESKTOP)" |
6 | distro="$(cat /etc/*-release | grep PRETTY_NAME | cut -d '=' -f2 | tr -d '"')" | 6 | distro="$(cat /etc/*-release | grep PRETTY_NAME | cut -d '=' -f2 | tr -d '"')" |
7 | packages="$(xbps-query -l | wc -l)" | 7 | packages="$(pacman -Q | wc -l)" |
8 | font="jetbrains mono" | 8 | font="jetbrains mono" |
9 | colors="pencil" | 9 | colors="pencil" |
10 | 10 | ||