diff options
-rwxr-xr-x | bin/.local/bin/record | 10 | ||||
-rw-r--r-- | spectrwm/.config/spectrwm/keybindings.conf | 6 | ||||
-rw-r--r-- | spectrwm/.config/spectrwm/spectrwm.conf | 35 |
3 files changed, 36 insertions, 15 deletions
diff --git a/bin/.local/bin/record b/bin/.local/bin/record new file mode 100755 index 0000000..f254e20 --- /dev/null +++ b/bin/.local/bin/record | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | ffmpeg -f x11grab \ | ||
4 | -s 1366x768 \ | ||
5 | -an -i :0.0 \ | ||
6 | -c:v libvpx \ | ||
7 | -b:v 5M \ | ||
8 | -crf 10 \ | ||
9 | -quality realtime \ | ||
10 | -y ~/record.mkv | ||
diff --git a/spectrwm/.config/spectrwm/keybindings.conf b/spectrwm/.config/spectrwm/keybindings.conf index 7cade6f..eb02639 100644 --- a/spectrwm/.config/spectrwm/keybindings.conf +++ b/spectrwm/.config/spectrwm/keybindings.conf | |||
@@ -14,8 +14,9 @@ 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+i |
18 | bind[initscr] = MOD+Shift+i | 18 | bind[uniconify] = MOD+Shift+i |
19 | # bind[initscr] = MOD+Shift+i | ||
19 | bind[lock] = MOD+Shift+Delete | 20 | bind[lock] = MOD+Shift+Delete |
20 | bind[master_add] = MOD+comma | 21 | bind[master_add] = MOD+comma |
21 | bind[master_del] = MOD+period | 22 | bind[master_del] = MOD+period |
@@ -84,7 +85,6 @@ bind[swap_main] = MOD+Shift+Return | |||
84 | bind[swap_next] = MOD+Shift+j | 85 | bind[swap_next] = MOD+Shift+j |
85 | bind[swap_prev] = MOD+Shift+k | 86 | bind[swap_prev] = MOD+Shift+k |
86 | bind[term] = MOD+Return | 87 | bind[term] = MOD+Return |
87 | bind[uniconify] = MOD+Shift+w | ||
88 | bind[version] = MOD+Shift+v | 88 | bind[version] = MOD+Shift+v |
89 | bind[width_grow] = MOD+equal | 89 | bind[width_grow] = MOD+equal |
90 | bind[width_shrink] = MOD+minus | 90 | bind[width_shrink] = MOD+minus |
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 7c0ff48..204bab1 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf | |||
@@ -43,13 +43,13 @@ 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 |
46 | bar_format = +|L+1<+L +@fg=1;+C+@fg=0; +|R+A | 46 | bar_format = +|L +1<+A +|R +@fg=1;+S +C+@fg=0;+1< +L+1< |
47 | workspace_indicator = listcurrent,listactive,markcurrent,printnames | 47 | workspace_indicator = listcurrent,listactive,markcurrent,printnames |
48 | bar_at_bottom = 0 | 48 | bar_at_bottom = 0 |
49 | stack_enabled = 0 | 49 | stack_enabled = 0 |
50 | clock_enabled = 0 | 50 | clock_enabled = 0 |
51 | clock_format = %a %b %d %R %Z %Y | 51 | clock_format = %a %b %d %R %Z %Y |
52 | iconic_enabled = 0 | 52 | iconic_enabled = 1 |
53 | maximize_hide_bar = 0 | 53 | maximize_hide_bar = 0 |
54 | window_class_enabled = 1 | 54 | window_class_enabled = 1 |
55 | window_instance_enabled = 1 | 55 | window_instance_enabled = 1 |
@@ -67,6 +67,15 @@ urgent_enabled = 1 | |||
67 | 67 | ||
68 | # Launch applications in a workspace of choice | 68 | # Launch applications in a workspace of choice |
69 | # autorun = ws[2]:chromium --profile-directory=Default | 69 | # autorun = ws[2]:chromium --profile-directory=Default |
70 | autorun = ws[1]:xsetroot -cursor_name left_ptr | ||
71 | autorun = ws[1]:xss-lock -- slock | ||
72 | autorun = ws[1]:xset b off | ||
73 | autorun = ws[1]:xset s 300 | ||
74 | autorun = ws[1]:~/.fehbg | ||
75 | autorun = ws[1]:~/.local/bin/bat_check.sh | ||
76 | autorun = ws[1]:picom | ||
77 | autorun = ws[1]:urxvtd | ||
78 | autorun = ws[1]:dunst | ||
70 | 79 | ||
71 | # Customize workspace layout at start | 80 | # Customize workspace layout at start |
72 | # layout = ws[1]:4:0:0:0:vertical | 81 | # layout = ws[1]:4:0:0:0:vertical |
@@ -76,15 +85,12 @@ urgent_enabled = 1 | |||
76 | # layout = ws[5]:0:0:0:0:horizontal_flip | 85 | # layout = ws[5]:0:0:0:0:horizontal_flip |
77 | 86 | ||
78 | # Set workspace name at start | 87 | # Set workspace name at start |
79 | name = ws[1]:term | 88 | name = ws[1]:1 |
80 | name = ws[2]:web | 89 | name = ws[2]:2 |
81 | name = ws[3]:social | 90 | name = ws[3]:3 |
82 | name = ws[4]:music | 91 | name = ws[4]:4 |
83 | name = ws[5]:code | 92 | name = ws[5]:5 |
84 | name = ws[6]:virt | 93 | name = ws[6]:6 |
85 | name = ws[7]:game | ||
86 | name = ws[8]:hack | ||
87 | name = ws[9]:temp | ||
88 | 94 | ||
89 | # Mod key, (Windows key is Mod4) (Apple key on OSX is Mod2) | 95 | # Mod key, (Windows key is Mod4) (Apple key on OSX is Mod2) |
90 | modkey = Mod4 | 96 | modkey = Mod4 |
@@ -111,6 +117,8 @@ program[notes] = urxvtc -e nvim /home/x/.cache/bujo/todo.md | |||
111 | program[files] = urxvtc -e ranger | 117 | program[files] = urxvtc -e ranger |
112 | program[pass] = passmenu -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected | 118 | program[pass] = passmenu -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected |
113 | program[menu] = dmenu_run $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected | 119 | program[menu] = dmenu_run $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected |
120 | program[browser] = chromium --profile-directory=Default | ||
121 | # 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[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 | 122 | # 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 | 123 | ||
116 | # To disable validation of the above, free the respective binding(s): | 124 | # To disable validation of the above, free the respective binding(s): |
@@ -122,13 +130,13 @@ bind[bdown] = XF86MonBrightnessDown | |||
122 | bind[soundinc] = XF86AudioRaiseVolume | 130 | bind[soundinc] = XF86AudioRaiseVolume |
123 | bind[sounddec] = XF86AudioLowerVolume | 131 | bind[sounddec] = XF86AudioLowerVolume |
124 | bind[soundmute] = XF86AudioMute | 132 | bind[soundmute] = XF86AudioMute |
125 | #bind[shut] = MOD+x | ||
126 | bind[pnext] = XF86AudioNext | 133 | bind[pnext] = XF86AudioNext |
127 | bind[pprev] = XF86AudioPrev | 134 | bind[pprev] = XF86AudioPrev |
128 | bind[pplay] = XF86AudioPlay | 135 | bind[pplay] = XF86AudioPlay |
129 | bind[notes] = MOD+n | 136 | bind[notes] = MOD+n |
130 | bind[files] = MOD+Shift+f | 137 | bind[files] = MOD+Shift+f |
131 | bind[pass] = MOD+Shift+p | 138 | bind[pass] = MOD+Shift+p |
139 | bind[browser] = MOD+Shift+w | ||
132 | 140 | ||
133 | # Optional default programs that will only be validated if you override: | 141 | # Optional default programs that will only be validated if you override: |
134 | program[screenshot_all] = ~/.local/bin/screenshot full # optional | 142 | program[screenshot_all] = ~/.local/bin/screenshot full # optional |
@@ -148,6 +156,9 @@ program[screenshot_wind] = ~/.local/bin/screenshot window # optional | |||
148 | # quirk[Firefox-bin:firefox-bin] = TRANSSZ | 156 | # quirk[Firefox-bin:firefox-bin] = TRANSSZ |
149 | # quirk[Firefox:Dialog] = FLOAT | 157 | # quirk[Firefox:Dialog] = FLOAT |
150 | # quirk[Gimp:gimp] = FLOAT + ANYWHERE | 158 | # quirk[Gimp:gimp] = FLOAT + ANYWHERE |
159 | quirk[Gimp:gimp] = WS[5] | ||
160 | quirk[Chromium:chromium] = WS[2] | ||
161 | quirk[Steam:Steam] = WS[6] | ||
151 | # quirk[XTerm:xterm] = XTERM_FONTADJ | 162 | # quirk[XTerm:xterm] = XTERM_FONTADJ |
152 | # quirk[xine:Xine Window] = FLOAT + ANYWHERE | 163 | # quirk[xine:Xine Window] = FLOAT + ANYWHERE |
153 | # quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE | 164 | # quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE |