diff options
Diffstat (limited to 'spectrwm')
| -rw-r--r-- | spectrwm/.config/spectrwm/spectrwm.conf | 8 | ||||
| -rwxr-xr-x | spectrwm/.config/spectrwm/statusbar | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 8466a62..5ccdd54 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf | |||
| @@ -67,9 +67,9 @@ urgent_enabled = 1 | |||
| 67 | 67 | ||
| 68 | # Launch applications in a workspace of choice | 68 | # Launch applications in a workspace of choice |
| 69 | autorun = ws[1]:~/.fehbg | 69 | autorun = ws[1]:~/.fehbg |
| 70 | autorun = ws[1]:st | 70 | autorun = ws[1]:~/bin/stst |
| 71 | autorun = ws[1]:picom | 71 | autorun = ws[1]:~/bin/pica |
| 72 | autorun = ws[2]:firefox-bin | 72 | autorun = ws[2]:~/bin/fireff |
| 73 | autorun = ws[1]:~/bin/xss | 73 | autorun = ws[1]:~/bin/xss |
| 74 | autorun = ws[1]:~/.local/bin/bat_check.sh | 74 | autorun = ws[1]:~/.local/bin/bat_check.sh |
| 75 | 75 | ||
| @@ -101,7 +101,7 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf | |||
| 101 | 101 | ||
| 102 | # Validated default programs: | 102 | # Validated default programs: |
| 103 | program[lock] = xset s activate | 103 | program[lock] = xset s activate |
| 104 | program[term] = st | 104 | program[term] = ~/bin/stst |
| 105 | program[menu] = ~/bin/menu | 105 | program[menu] = ~/bin/menu |
| 106 | program[bup] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 106 | program[bup] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
| 107 | program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 107 | program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
diff --git a/spectrwm/.config/spectrwm/statusbar b/spectrwm/.config/spectrwm/statusbar index fa02a69..5f6918c 100755 --- a/spectrwm/.config/spectrwm/statusbar +++ b/spectrwm/.config/spectrwm/statusbar | |||
| @@ -11,17 +11,17 @@ bat() { | |||
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | dte() { | 13 | dte() { |
| 14 | dte=$(date +"%A, %B %d") | 14 | dte=$(date +"%a, %b %d") |
| 15 | echo -e "+@fg=1;date+@fg=0; $dte " | 15 | echo -e "+@fg=1;date+@fg=0; $dte " |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | tie() { | 18 | tie() { |
| 19 | tme=$(date +"%I:%M %p") | 19 | tme=$(date +"%I:%M %P") |
| 20 | echo -e "+@fg=1;time+@fg=0; $tme " | 20 | echo -e "+@fg=1;time+@fg=0; $tme " |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | while :; do | 23 | while :; do |
| 24 | echo "$(vol) $(bat) $(tie) $(dte)" | 24 | echo "$(vol) $(bat) $(tie) $(dte)" |
| 25 | sleep 2 | 25 | sleep 2 |
| 26 | done | 26 | done |
| 27 | 27 | ||
