diff options
-rwxr-xr-x | bin/.local/bin/shut | 6 | ||||
-rw-r--r-- | sxhkd/.config/sxhkd/sxhkdrc | 4 | ||||
-rw-r--r-- | zsh/.zshrc | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut index e55784b..88711d1 100755 --- a/bin/.local/bin/shut +++ b/bin/.local/bin/shut | |||
@@ -3,9 +3,9 @@ | |||
3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara") | 3 | RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara") |
4 | 4 | ||
5 | case $RET in | 5 | case $RET in |
6 | shutdown) sudo poweroff ;; | 6 | shutdown) doas poweroff ;; |
7 | reboot) sudo reboot ;; | 7 | reboot) doas reboot ;; |
8 | sleep) /home/fd0e/.local/bin/lock & sudo sh -c "echo -n mem > /sys/power/state" ;; | 8 | sleep) /home/fd0e/.local/bin/lock & doas sh -c "echo -n mem > /sys/power/state" ;; |
9 | lock) /home/fd0e/.local/bin/lock ;; | 9 | lock) /home/fd0e/.local/bin/lock ;; |
10 | *) ;; | 10 | *) ;; |
11 | esac | 11 | esac |
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 4a64b63..d6b3f25 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc | |||
@@ -162,6 +162,6 @@ XF86Audio{Play,Next,Prev} | |||
162 | 162 | ||
163 | #light | 163 | #light |
164 | XF86MonBrightnessDown | 164 | XF86MonBrightnessDown |
165 | sudo sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 165 | doas sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
166 | XF86MonBrightnessUp | 166 | XF86MonBrightnessUp |
167 | sudo sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 167 | doas sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
@@ -117,6 +117,6 @@ alias vimrc="vim $HOME/.config/nvim/init.vim" | |||
117 | alias poly="vim $HOME/.config/polybar/config" | 117 | alias poly="vim $HOME/.config/polybar/config" |
118 | alias v="/usr/bin/nvim" | 118 | alias v="/usr/bin/nvim" |
119 | alias vim="/usr/bin/nvim" | 119 | alias vim="/usr/bin/nvim" |
120 | alias sudo="sudo " | 120 | alias sudo="doas " |
121 | 121 | ||
122 | source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh | 122 | source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh |