summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-05-07 17:32:02 +0000
committerShubham Saini <shubham6405@gmail.com>2020-05-07 17:32:02 +0000
commit92f92f8e22cc77bb02a53c32d2aabbb83417eac2 (patch)
treee2dfd99c14d7b051ec3ea5145c4a43336e90db3e
parentc68e0cfc0c3811fac25b371395e2dd5a7ab555c3 (diff)
distrohopping
-rwxr-xr-xbin/.local/bin/shut4
-rw-r--r--spectrwm/.config/spectrwm/spectrwm.conf6
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut
index 801d5bf..76a7bd0 100755
--- a/bin/.local/bin/shut
+++ b/bin/.local/bin/shut
@@ -3,8 +3,8 @@
3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10") 3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10")
4 4
5case $RET in 5case $RET in
6 shutdown) sudo poweroff ;; 6 shutdown) doas poweroff ;;
7 reboot) sudo reboot ;; 7 reboot) doas reboot ;;
8 sleep) xset s activate & sudo zzz ;; 8 sleep) xset s activate & sudo zzz ;;
9 lock) xset s activate ;; 9 lock) xset s activate ;;
10 *) ;; 10 *) ;;
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf
index 62709ad..3bff621 100644
--- a/spectrwm/.config/spectrwm/spectrwm.conf
+++ b/spectrwm/.config/spectrwm/spectrwm.conf
@@ -69,7 +69,7 @@ urgent_enabled = 1
69autorun = ws[1]:urxvtd 69autorun = ws[1]:urxvtd
70autorun = ws[1]:~/.fehbg 70autorun = ws[1]:~/.fehbg
71autorun = ws[1]:picom 71autorun = ws[1]:picom
72autorun = ws[2]:firefox 72autorun = ws[2]:firefox-bin
73autorun = ws[1]:~/bin/xss 73autorun = ws[1]:~/bin/xss
74autorun = ws[1]:~/.local/bin/bat_check.sh 74autorun = ws[1]:~/.local/bin/bat_check.sh
75 75
@@ -103,8 +103,8 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf
103program[lock] = xset s activate 103program[lock] = xset s activate
104program[term] = urxvtc 104program[term] = urxvtc
105program[menu] = ~/bin/menu 105program[menu] = ~/bin/menu
106program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' 106program[bup] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done'
107program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' 107program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done'
108program[soundinc] = pulsemixer --change-volume +5 108program[soundinc] = pulsemixer --change-volume +5
109program[sounddec] = pulsemixer --change-volume -5 109program[sounddec] = pulsemixer --change-volume -5
110program[soundmute] = pulsemixer --toggle-mute 110program[soundmute] = pulsemixer --toggle-mute