summaryrefslogtreecommitdiff
path: root/spectrwm
diff options
context:
space:
mode:
Diffstat (limited to 'spectrwm')
-rw-r--r--spectrwm/.config/spectrwm/keybindings.conf2
-rw-r--r--spectrwm/.config/spectrwm/spectrwm.conf38
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
14bind[focus_urgent] = MOD+u 14bind[focus_urgent] = MOD+u
15bind[height_grow] = MOD+Shift+equal 15bind[height_grow] = MOD+Shift+equal
16bind[height_shrink] = MOD+Shift+minus 16bind[height_shrink] = MOD+Shift+minus
17bind[iconify] = MOD+x 17#bind[iconify] = MOD+x
18bind[initscr] = MOD+Shift+i 18bind[initscr] = MOD+Shift+i
19bind[lock] = MOD+Shift+Delete 19bind[lock] = MOD+Shift+Delete
20bind[master_add] = MOD+comma 20bind[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
18color_focus_maximized = yellow 18color_focus_maximized = yellow
19color_unfocus = rgb:88/88/88 19color_unfocus = rgb:88/88/88
20color_unfocus_maximized = rgb:88/88/00 20color_unfocus_maximized = rgb:88/88/00
21region_padding = 6 21region_padding = 10
22tile_gap = 6 22tile_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
36bar_border_unfocus[1] = rgb:00/40/40 36bar_border_unfocus[1] = rgb:00/40/40
37bar_color[1] = black 37bar_color[1] = black
38bar_color_selected[1] = rgb:00/80/80 38bar_color_selected[1] = rgb:00/80/80
39bar_font_color[1] = rgb:a0/a0/a0 39bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73, rgb:5e/5e/5e
40bar_font_color_selected = black 40bar_font_color_selected = black
41bar_font = Hermit:size=9 41bar_font = Hermit:size=9
42# bar_action = baraction.sh 42bar_action = ~/.local/bin/statusbar
43bar_action_expand = 1
43bar_justify = left 44bar_justify = left
44bar_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
46bar_format = +|L+1<+L +@fg=2;+C+@fg=0; +|R+A
45workspace_indicator = listcurrent,listactive,markcurrent,printnames 47workspace_indicator = listcurrent,listactive,markcurrent,printnames
46bar_at_bottom = 0 48bar_at_bottom = 0
47stack_enabled = 1 49stack_enabled = 0
48clock_enabled = 1 50clock_enabled = 0
49clock_format = %a %b %d %R %Z %Y 51clock_format = %a %b %d %R %Z %Y
50iconic_enabled = 0 52iconic_enabled = 0
51maximize_hide_bar = 0 53maximize_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 69autorun = ws[1]:urxvtd
68autorun = ws[1]:~/.fehbg 70autorun = ws[1]:~/.fehbg
71autorun = ws[1]:picom
72autorun = ws[2]:firefox
73autorun = ws[1]:~/bin/xss
74autorun = 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 103program[lock] = xset s activate
98program[term] = urxvtc 104program[term] = urxvtc
99program[menu] = dmenu_run -nb $bar_color -nf $bar_font_color -sb $bar_border -sf darkgray -fn "Hermit:size=10" 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'
107program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done'
108program[soundinc] = amixer set Master 5%+
109program[sounddec] = amixer set Master 5%-
110program[soundmute] = amixer set Master toggle
111program[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
119bind[bup] = XF86MonBrightnessUp
120bind[bdown] = XF86MonBrightnessDown
121bind[soundinc] = XF86AudioRaiseVolume
122bind[sounddec] = XF86AudioLowerVolume
123bind[soundmute] = XF86AudioMute
124bind[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