diff options
Diffstat (limited to 'spectrwm')
-rw-r--r-- | spectrwm/.config/spectrwm/keybindings.conf | 2 | ||||
-rw-r--r-- | spectrwm/.config/spectrwm/spectrwm.conf | 38 |
2 files changed, 29 insertions, 11 deletions
diff --git a/spectrwm/.config/spectrwm/keybindings.conf b/spectrwm/.config/spectrwm/keybindings.conf index d736a07..8635a11 100644 --- a/spectrwm/.config/spectrwm/keybindings.conf +++ b/spectrwm/.config/spectrwm/keybindings.conf | |||
@@ -14,7 +14,7 @@ bind[focus_prev] = MOD+Shift+Tab | |||
14 | bind[focus_urgent] = MOD+u | 14 | bind[focus_urgent] = MOD+u |
15 | bind[height_grow] = MOD+Shift+equal | 15 | bind[height_grow] = MOD+Shift+equal |
16 | bind[height_shrink] = MOD+Shift+minus | 16 | bind[height_shrink] = MOD+Shift+minus |
17 | bind[iconify] = MOD+x | 17 | #bind[iconify] = MOD+x |
18 | bind[initscr] = MOD+Shift+i | 18 | bind[initscr] = MOD+Shift+i |
19 | bind[lock] = MOD+Shift+Delete | 19 | bind[lock] = MOD+Shift+Delete |
20 | bind[master_add] = MOD+comma | 20 | bind[master_add] = MOD+comma |
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 0046444..8f3a125 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf | |||
@@ -18,8 +18,8 @@ color_focus = red | |||
18 | color_focus_maximized = yellow | 18 | color_focus_maximized = yellow |
19 | color_unfocus = rgb:88/88/88 | 19 | color_unfocus = rgb:88/88/88 |
20 | color_unfocus_maximized = rgb:88/88/00 | 20 | color_unfocus_maximized = rgb:88/88/00 |
21 | region_padding = 6 | 21 | region_padding = 10 |
22 | tile_gap = 6 | 22 | tile_gap = 10 |
23 | 23 | ||
24 | # Region containment | 24 | # Region containment |
25 | # Distance window must be dragged/resized beyond the region edge before it is | 25 | # Distance window must be dragged/resized beyond the region edge before it is |
@@ -36,16 +36,18 @@ bar_border[1] = rgb:00/80/80 | |||
36 | bar_border_unfocus[1] = rgb:00/40/40 | 36 | bar_border_unfocus[1] = rgb:00/40/40 |
37 | bar_color[1] = black | 37 | 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:a0/a0/a0 | 39 | bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73, rgb:5e/5e/5e |
40 | bar_font_color_selected = black | 40 | bar_font_color_selected = black |
41 | bar_font = Hermit:size=9 | 41 | bar_font = Hermit:size=9 |
42 | # bar_action = baraction.sh | 42 | bar_action = ~/.local/bin/statusbar |
43 | bar_action_expand = 1 | ||
43 | bar_justify = left | 44 | bar_justify = left |
44 | 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 |
46 | bar_format = +|L+1<+L +@fg=2;+C+@fg=0; +|R+A | ||
45 | workspace_indicator = listcurrent,listactive,markcurrent,printnames | 47 | workspace_indicator = listcurrent,listactive,markcurrent,printnames |
46 | bar_at_bottom = 0 | 48 | bar_at_bottom = 0 |
47 | stack_enabled = 1 | 49 | stack_enabled = 0 |
48 | clock_enabled = 1 | 50 | clock_enabled = 0 |
49 | clock_format = %a %b %d %R %Z %Y | 51 | clock_format = %a %b %d %R %Z %Y |
50 | iconic_enabled = 0 | 52 | iconic_enabled = 0 |
51 | maximize_hide_bar = 0 | 53 | maximize_hide_bar = 0 |
@@ -64,8 +66,12 @@ urgent_enabled = 1 | |||
64 | # region = screen[1]:1280x1024+1280+0 | 66 | # region = screen[1]:1280x1024+1280+0 |
65 | 67 | ||
66 | # Launch applications in a workspace of choice | 68 | # Launch applications in a workspace of choice |
67 | #autorun = ws[1]:urxvtd | 69 | autorun = ws[1]:urxvtd |
68 | autorun = ws[1]:~/.fehbg | 70 | autorun = ws[1]:~/.fehbg |
71 | autorun = ws[1]:picom | ||
72 | autorun = ws[2]:firefox | ||
73 | autorun = ws[1]:~/bin/xss | ||
74 | autorun = ws[1]:~/.local/bin/bat_check.sh | ||
69 | 75 | ||
70 | # Customize workspace layout at start | 76 | # Customize workspace layout at start |
71 | # layout = ws[1]:4:0:0:0:vertical | 77 | # layout = ws[1]:4:0:0:0:vertical |
@@ -94,9 +100,15 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf | |||
94 | # PROGRAMS | 100 | # PROGRAMS |
95 | 101 | ||
96 | # Validated default programs: | 102 | # Validated default programs: |
97 | # program[lock] = xlock | 103 | program[lock] = xset s activate |
98 | program[term] = urxvtc | 104 | program[term] = urxvtc |
99 | program[menu] = dmenu_run -nb $bar_color -nf $bar_font_color -sb $bar_border -sf darkgray -fn "Hermit:size=10" | 105 | 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' | ||
107 | program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' | ||
108 | program[soundinc] = amixer set Master 5%+ | ||
109 | program[sounddec] = amixer set Master 5%- | ||
110 | program[soundmute] = amixer set Master toggle | ||
111 | program[shut] = ~/.local/bin/shut | ||
100 | # 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 | 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 |
101 | # 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 | 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 |
102 | 114 | ||
@@ -104,6 +116,12 @@ program[menu] = dmenu_run -nb $bar_color -nf $bar_font_color -sb $bar_border -s | |||
104 | # bind[] = MOD+Shift+Delete # disable lock | 116 | # bind[] = MOD+Shift+Delete # disable lock |
105 | # bind[] = MOD+Shift+Return # disable term | 117 | # bind[] = MOD+Shift+Return # disable term |
106 | # bind[] = MOD+p # disable menu | 118 | # bind[] = MOD+p # disable menu |
119 | bind[bup] = XF86MonBrightnessUp | ||
120 | bind[bdown] = XF86MonBrightnessDown | ||
121 | bind[soundinc] = XF86AudioRaiseVolume | ||
122 | bind[sounddec] = XF86AudioLowerVolume | ||
123 | bind[soundmute] = XF86AudioMute | ||
124 | bind[shut] = MOD+x | ||
107 | 125 | ||
108 | # Optional default programs that will only be validated if you override: | 126 | # Optional default programs that will only be validated if you override: |
109 | # program[screenshot_all] = screenshot.sh full # optional | 127 | # program[screenshot_all] = screenshot.sh full # optional |