diff options
-rw-r--r-- | spectrwm/.config/spectrwm/spectrwm.conf | 19 | ||||
-rw-r--r-- | x/.xinitrc | 12 |
2 files changed, 18 insertions, 13 deletions
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 62709ad..87efc30 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf | |||
@@ -38,8 +38,8 @@ bar_color[1] = black | |||
38 | bar_color_selected[1] = rgb:00/80/80 | 38 | bar_color_selected[1] = rgb:00/80/80 |
39 | bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73 | 39 | bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73 |
40 | bar_font_color_selected = black | 40 | bar_font_color_selected = black |
41 | bar_font = Hermit:size=9 | 41 | bar_font = Hermit:size=9.5 |
42 | bar_action = ~/.local/bin/statusbar | 42 | bar_action = ~/.config/spectrwm/statusbar |
43 | bar_action_expand = 1 | 43 | bar_action_expand = 1 |
44 | bar_justify = left | 44 | bar_justify = left |
45 | #bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+4<+V | 45 | #bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+4<+V |
@@ -66,10 +66,9 @@ urgent_enabled = 1 | |||
66 | # region = screen[1]:1280x1024+1280+0 | 66 | # region = screen[1]:1280x1024+1280+0 |
67 | 67 | ||
68 | # Launch applications in a workspace of choice | 68 | # Launch applications in a workspace of choice |
69 | autorun = ws[1]:urxvtd | ||
70 | autorun = ws[1]:~/.fehbg | 69 | autorun = ws[1]:~/.fehbg |
71 | autorun = ws[1]:picom | 70 | autorun = ws[1]:picom |
72 | autorun = ws[2]:firefox | 71 | autorun = ws[2]:firefox-bin |
73 | autorun = ws[1]:~/bin/xss | 72 | autorun = ws[1]:~/bin/xss |
74 | autorun = ws[1]:~/.local/bin/bat_check.sh | 73 | autorun = ws[1]:~/.local/bin/bat_check.sh |
75 | 74 | ||
@@ -101,14 +100,17 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf | |||
101 | 100 | ||
102 | # Validated default programs: | 101 | # Validated default programs: |
103 | program[lock] = xset s activate | 102 | program[lock] = xset s activate |
104 | program[term] = urxvtc | 103 | program[term] = st |
105 | program[menu] = ~/bin/menu | 104 | program[menu] = ~/bin/menu |
106 | program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 105 | 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] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' | 106 | program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' |
108 | program[soundinc] = pulsemixer --change-volume +5 | 107 | program[soundinc] = pulsemixer --change-volume +5 |
109 | program[sounddec] = pulsemixer --change-volume -5 | 108 | program[sounddec] = pulsemixer --change-volume -5 |
110 | program[soundmute] = pulsemixer --toggle-mute | 109 | program[soundmute] = pulsemixer --toggle-mute |
111 | program[shut] = ~/.local/bin/shut | 110 | program[shut] = ~/.local/bin/shut |
111 | program[pnext] = cmus-remote -n | ||
112 | program[pprev] = cmus-remote -r | ||
113 | program[pplay] = cmus-remote -u | ||
112 | # program[search] = dmenu $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected | 114 | # program[search] = dmenu $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected |
113 | # program[name_workspace] = dmenu $dmenu_bottom -p Workspace -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected | 115 | # program[name_workspace] = dmenu $dmenu_bottom -p Workspace -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected |
114 | 116 | ||
@@ -122,6 +124,9 @@ bind[soundinc] = XF86AudioRaiseVolume | |||
122 | bind[sounddec] = XF86AudioLowerVolume | 124 | bind[sounddec] = XF86AudioLowerVolume |
123 | bind[soundmute] = XF86AudioMute | 125 | bind[soundmute] = XF86AudioMute |
124 | bind[shut] = MOD+x | 126 | bind[shut] = MOD+x |
127 | bind[pnext] = XF86AudioNext | ||
128 | bind[pprev] = XF86AudioPrev | ||
129 | bind[pplay] = XF86AudioPlay | ||
125 | 130 | ||
126 | # Optional default programs that will only be validated if you override: | 131 | # Optional default programs that will only be validated if you override: |
127 | program[screenshot_all] = screenshot full # optional | 132 | program[screenshot_all] = screenshot full # optional |
@@ -2,10 +2,10 @@ | |||
2 | #.xinitrc | 2 | #.xinitrc |
3 | xset b off & | 3 | xset b off & |
4 | xset s 600 & | 4 | xset s 600 & |
5 | ~/bin/xss & | 5 | # ~/bin/xss & |
6 | ~/.fehbg & | 6 | # ~/.fehbg & |
7 | ~/bin/batcheck & | 7 | # ~/bin/batcheck & |
8 | picom 2>/dev/null & | 8 | # picom 2>/dev/null & |
9 | dwmbar & | 9 | # dwmbar & |
10 | 10 | ||
11 | exec dbus-launch --exit-with-session startdwm | 11 | exec dbus-launch --exit-with-session spectrwm |