summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/.local/bin/record10
-rw-r--r--spectrwm/.config/spectrwm/keybindings.conf6
-rw-r--r--spectrwm/.config/spectrwm/spectrwm.conf35
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
3ffmpeg -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
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
17#bind[iconify] = MOD+x 17bind[iconify] = MOD+i
18bind[initscr] = MOD+Shift+i 18bind[uniconify] = MOD+Shift+i
19# bind[initscr] = MOD+Shift+i
19bind[lock] = MOD+Shift+Delete 20bind[lock] = MOD+Shift+Delete
20bind[master_add] = MOD+comma 21bind[master_add] = MOD+comma
21bind[master_del] = MOD+period 22bind[master_del] = MOD+period
@@ -84,7 +85,6 @@ bind[swap_main] = MOD+Shift+Return
84bind[swap_next] = MOD+Shift+j 85bind[swap_next] = MOD+Shift+j
85bind[swap_prev] = MOD+Shift+k 86bind[swap_prev] = MOD+Shift+k
86bind[term] = MOD+Return 87bind[term] = MOD+Return
87bind[uniconify] = MOD+Shift+w
88bind[version] = MOD+Shift+v 88bind[version] = MOD+Shift+v
89bind[width_grow] = MOD+equal 89bind[width_grow] = MOD+equal
90bind[width_shrink] = MOD+minus 90bind[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
43bar_action_expand = 1 43bar_action_expand = 1
44bar_justify = left 44bar_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
46bar_format = +|L+1<+L +@fg=1;+C+@fg=0; +|R+A 46bar_format = +|L +1<+A +|R +@fg=1;+S +C+@fg=0;+1< +L+1<
47workspace_indicator = listcurrent,listactive,markcurrent,printnames 47workspace_indicator = listcurrent,listactive,markcurrent,printnames
48bar_at_bottom = 0 48bar_at_bottom = 0
49stack_enabled = 0 49stack_enabled = 0
50clock_enabled = 0 50clock_enabled = 0
51clock_format = %a %b %d %R %Z %Y 51clock_format = %a %b %d %R %Z %Y
52iconic_enabled = 0 52iconic_enabled = 1
53maximize_hide_bar = 0 53maximize_hide_bar = 0
54window_class_enabled = 1 54window_class_enabled = 1
55window_instance_enabled = 1 55window_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
70autorun = ws[1]:xsetroot -cursor_name left_ptr
71autorun = ws[1]:xss-lock -- slock
72autorun = ws[1]:xset b off
73autorun = ws[1]:xset s 300
74autorun = ws[1]:~/.fehbg
75autorun = ws[1]:~/.local/bin/bat_check.sh
76autorun = ws[1]:picom
77autorun = ws[1]:urxvtd
78autorun = 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
79name = ws[1]:term 88name = ws[1]:1
80name = ws[2]:web 89name = ws[2]:2
81name = ws[3]:social 90name = ws[3]:3
82name = ws[4]:music 91name = ws[4]:4
83name = ws[5]:code 92name = ws[5]:5
84name = ws[6]:virt 93name = ws[6]:6
85name = ws[7]:game
86name = ws[8]:hack
87name = 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)
90modkey = Mod4 96modkey = Mod4
@@ -111,6 +117,8 @@ program[notes] = urxvtc -e nvim /home/x/.cache/bujo/todo.md
111program[files] = urxvtc -e ranger 117program[files] = urxvtc -e ranger
112program[pass] = passmenu -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected 118program[pass] = passmenu -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
113program[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 119program[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
120program[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
122bind[soundinc] = XF86AudioRaiseVolume 130bind[soundinc] = XF86AudioRaiseVolume
123bind[sounddec] = XF86AudioLowerVolume 131bind[sounddec] = XF86AudioLowerVolume
124bind[soundmute] = XF86AudioMute 132bind[soundmute] = XF86AudioMute
125#bind[shut] = MOD+x
126bind[pnext] = XF86AudioNext 133bind[pnext] = XF86AudioNext
127bind[pprev] = XF86AudioPrev 134bind[pprev] = XF86AudioPrev
128bind[pplay] = XF86AudioPlay 135bind[pplay] = XF86AudioPlay
129bind[notes] = MOD+n 136bind[notes] = MOD+n
130bind[files] = MOD+Shift+f 137bind[files] = MOD+Shift+f
131bind[pass] = MOD+Shift+p 138bind[pass] = MOD+Shift+p
139bind[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:
134program[screenshot_all] = ~/.local/bin/screenshot full # optional 142program[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
159quirk[Gimp:gimp] = WS[5]
160quirk[Chromium:chromium] = WS[2]
161quirk[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