1 | commit e4bc41b1a728377d12ecc94f2f965913aa300ebd |
2 | Author: acidvegas <acid.vegas@acid.vegas> |
3 | Date: Sun Mar 29 05:24:30 2020 -0400 |
4 | |
5 | Initial commit |
6 | --- |
7 | etc/dialogrc | 44 ++ |
8 | etc/fstab | 8 + |
9 | etc/issue | 11 + |
10 | etc/pacman.conf | 22 + |
11 | etc/ssh/sshd_config | 17 + |
12 | etc/sudoers.d/sudoers.lecture | 6 + |
13 | home/acidvegas/.bashrc | 98 +++++ |
14 | home/acidvegas/.config/cmus/autosave | 81 ++++ |
15 | home/acidvegas/.config/htop/htoprc | 26 ++ |
16 | home/acidvegas/.gitconfig | 21 + |
17 | home/acidvegas/.gnupg/gpg.conf | 19 + |
18 | .../firefox/profile.default/chrome/userChrome.css | 82 ++++ |
19 | .../firefox/profile.default/chrome/userContent.css | 4 + |
20 | .../.mozilla/firefox/profile.default/mozilla.cfg | 68 ++++ |
21 | home/acidvegas/.scripts/backup | 7 + |
22 | home/acidvegas/.scripts/gitremote | 25 ++ |
23 | home/acidvegas/.scripts/mutag | 10 + |
24 | home/acidvegas/.scripts/todo | 19 + |
25 | home/acidvegas/.xinitrc | 16 + |
26 | home/acidvegas/dev/build/dwm/config.h | 65 +++ |
27 | home/acidvegas/dev/build/dwm/patch_nosquares.diff | 13 + |
28 | home/acidvegas/dev/build/dwm/patch_notitles.diff | 10 + |
29 | home/acidvegas/dev/build/slstatus/config.h | 14 + |
30 | home/acidvegas/dev/build/st/config.h | 450 +++++++++++++++++++++ |
31 | home/acidvegas/dev/build/tabbed/config.h | 37 ++ |
32 | .../acidvegas/dev/build/tabbed/patch_autohide.diff | 54 +++ |
33 | .../dev/build/tabbed/patch_clientnumber.diff | 23 ++ |
34 | home/acidvegas/i/dionysus1.jpg | Bin 0 -> 60775 bytes |
35 | home/acidvegas/i/dionysus2.jpg | Bin 0 -> 235853 bytes |
36 | home/acidvegas/i/dionysus3.jpg | Bin 0 -> 39765 bytes |
37 | home/acidvegas/i/wallpaper.jpg | Bin 0 -> 529191 bytes |
38 | scripts/acidvegas.sh | 54 +++ |
39 | scripts/arminstall.sh | 13 + |
40 | scripts/btkb.sh | 12 + |
41 | scripts/root.sh | 77 ++++ |
42 | 35 files changed, 1406 insertions(+) |
43 | |
44 | diff --git a/etc/dialogrc b/etc/dialogrc |
45 | new file mode 100644 |
46 | index 0000000..8c2db08 |
47 | --- /dev/null |
48 | +++ b/etc/dialogrc |
49 | @@ -0,0 +1,44 @@ |
50 | +aspect = 0 |
51 | +separate_widget = "" |
52 | +tab_len = 0 |
53 | +visit_items = OFF |
54 | +use_shadow = OFF |
55 | +use_colors = ON |
56 | +screen_color = (WHITE,BLACK,OFF) |
57 | +shadow_color = (BLACK,BLACK,OFF) |
58 | +dialog_color = screen_color |
59 | +title_color = screen_color |
60 | +border_color = screen_color |
61 | +button_active_color = screen_color |
62 | +button_inactive_color = dialog_color |
63 | +button_key_active_color = button_active_color |
64 | +button_key_inactive_color = screen_color |
65 | +button_label_active_color = screen_color |
66 | +button_label_inactive_color = screen_color |
67 | +inputbox_color = dialog_color |
68 | +inputbox_border_color = dialog_color |
69 | +searchbox_color = dialog_color |
70 | +searchbox_title_color = title_color |
71 | +searchbox_border_color = border_color |
72 | +position_indicator_color = title_color |
73 | +menubox_color = dialog_color |
74 | +menubox_border_color = border_color |
75 | +item_color = dialog_color |
76 | +item_selected_color = (BLACK,WHITE,OFF) |
77 | +tag_color = title_color |
78 | +tag_selected_color = button_label_active_color |
79 | +tag_key_color = button_key_inactive_color |
80 | +tag_key_selected_color = screen_color |
81 | +check_color = dialog_color |
82 | +check_selected_color = button_active_color |
83 | +uarrow_color = screen_color |
84 | +darrow_color = uarrow_color |
85 | +itemhelp_color = screen_color |
86 | +form_active_text_color = button_active_color |
87 | +form_text_color = (WHITE,CYAN,OFF) |
88 | +form_item_readonly_color = (CYAN,WHITE,OFF) |
89 | +gauge_color = title_color |
90 | +border2_color = dialog_color |
91 | +inputbox_border2_color = dialog_color |
92 | +searchbox_border2_color = dialog_color |
93 | +menubox_border2_color = dialog_color |
94 | diff --git a/etc/fstab b/etc/fstab |
95 | new file mode 100644 |
96 | index 0000000..5445a11 |
97 | --- /dev/null |
98 | +++ b/etc/fstab |
99 | @@ -0,0 +1,8 @@ |
100 | +# <file system> <dir> <type> <options> <dump> <pass> |
101 | +/dev/mmcblk0p1 /boot vfat ro,noatime,nodev,noexec,nosuid 0 2 |
102 | +/dev/mmcblk0p2 / ext4 rw,noatime,data=ordered,commit=60 0 1 |
103 | +proc /proc proc nosuid,nodev,noexec,hidepid=2,gid=proc 0 0 |
104 | +tmpfs /dev/shm tmpfs rw,noatime,nodev,noexec,nosuid 0 0 |
105 | +tmpfs /tmp tmpfs rw,mode=0755,noatime,nodev,nosuid,size=100m 0 0 |
106 | +tmpfs /var/log tmpfs rw,mode=0755,noatime,nodev,noexec,nosuid,size=25m 0 0 |
107 | +tmpfs /run tmpfs rw,mode=0755,noatime,nodev,nosuid,size=25m 0 0 |
108 | diff --git a/etc/issue b/etc/issue |
109 | new file mode 100644 |
110 | index 0000000..aad9081 |
111 | --- /dev/null |
112 | +++ b/etc/issue |
113 | @@ -0,0 +1,11 @@ |
114 | +******************************************************************** |
115 | +* * |
116 | +* This system is for the use of authorized users only. Usage of * |
117 | +* this system may be monitored and recorded by system personnel. * |
118 | +* * |
119 | +* Anyone using this system expressly consents to such monitoring * |
120 | +* and is advised that if such monitoring reveals possible * |
121 | +* evidence of criminal activity, system personnel may provide the * |
122 | +* evidence from such monitoring to law enforcement officials. * |
123 | +* * |
124 | +******************************************************************** |
125 | diff --git a/etc/pacman.conf b/etc/pacman.conf |
126 | new file mode 100644 |
127 | index 0000000..c8b5bbe |
128 | --- /dev/null |
129 | +++ b/etc/pacman.conf |
130 | @@ -0,0 +1,22 @@ |
131 | +[options] |
132 | +HoldPkg = pacman glibc |
133 | +Architecture = auto |
134 | +Color |
135 | +CheckSpace |
136 | +SigLevel = Required DatabaseOptional |
137 | +LocalFileSigLevel = Optional |
138 | + |
139 | +[core] |
140 | +Include = /etc/pacman.d/mirrorlist |
141 | + |
142 | +[extra] |
143 | +Include = /etc/pacman.d/mirrorlist |
144 | + |
145 | +[community] |
146 | +Include = /etc/pacman.d/mirrorlist |
147 | + |
148 | +[alarm] |
149 | +Include = /etc/pacman.d/mirrorlist |
150 | + |
151 | +[aur] |
152 | +Include = /etc/pacman.d/mirrorlist |
153 | diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config |
154 | new file mode 100644 |
155 | index 0000000..d97b2a7 |
156 | --- /dev/null |
157 | +++ b/etc/ssh/sshd_config |
158 | @@ -0,0 +1,17 @@ |
159 | +AllowUsers acidvegas@10.0.0.0/8 |
160 | +AuthenticationMethods publickey |
161 | +AuthorizedKeysFile /etc/ssh/authorized_keys/%u |
162 | +Banner /etc/issue |
163 | +ChallengeResponseAuthentication no |
164 | +ClientAliveInterval 0 |
165 | +DisableForwarding yes |
166 | +LoginGraceTime 30 |
167 | +MaxAuthTries 2 |
168 | +MaxSessions 2 |
169 | +MaxStartups 5:25:20 |
170 | +PasswordAuthentication no |
171 | +PermitRootLogin no |
172 | +Port CHANGEME |
173 | +PrintLastLog no |
174 | +Protocol 2 |
175 | +UsePam yes |
176 | diff --git a/etc/sudoers.d/sudoers.lecture b/etc/sudoers.d/sudoers.lecture |
177 | new file mode 100644 |
178 | index 0000000..1758dd0 |
179 | --- /dev/null |
180 | +++ b/etc/sudoers.d/sudoers.lecture |
181 | @@ -0,0 +1,6 @@ |
182 | + |
183 | + "Bee" careful [34m__ |
184 | + with sudo! [34m// \ |
185 | + \\_/ // |
186 | + [35m''-.._.-''-.._.. -(||)(') |
187 | + '''[0m |
188 | diff --git a/home/acidvegas/.bashrc b/home/acidvegas/.bashrc |
189 | new file mode 100644 |
190 | index 0000000..ff43633 |
191 | --- /dev/null |
192 | +++ b/home/acidvegas/.bashrc |
193 | @@ -0,0 +1,98 @@ |
194 | +[[ $- != *i* ]] && return |
195 | + |
196 | +export LC_CTYPE=en_US.UTF-8 |
197 | +export LC_ALL=en_US.UTF-8 |
198 | +export GPG_TTY=$(tty) |
199 | + |
200 | +if ! pgrep -u "$USER" ssh-agent > /dev/null; then |
201 | + ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env" |
202 | +fi |
203 | +if [[ ! "$SSH_AUTH_SOCK" ]]; then |
204 | + eval "$(<"$XDG_RUNTIME_DIR/ssh-agent.env")" |
205 | +fi |
206 | + |
207 | +alias ..='cd ../' |
208 | +alias busy="cat /dev/urandom | hexdump -C | grep 'ca fe'" |
209 | +alias cpass='pass | tr " " " "' |
210 | +alias diff='diff --color=auto' |
211 | +alias dump='setterm -dump 1 -file screen.dump' |
212 | +alias dyn='curl "https://dynamicdns.park-your-domain.com/update?host=pi&domain=CHANGEME.com&password=CHANGEME&ip=$(curl -s ipecho.net/plain)"' |
213 | +alias exa='exa -aghl --git' |
214 | +alias google='~/dev/build/googler/googler --colors hgdhhh --noprompt' |
215 | +alias grep='grep --color=auto' |
216 | +alias ls='ls --color=auto' |
217 | +alias maint='~/.scripts/maint' |
218 | +alias mtm='mtm -t mtm-256color' |
219 | +alias pinstall='pip install --user' |
220 | +alias pubkey='ssh-keygen -y -f ~/.ssh/key' |
221 | +alias pydebug='python -m trace -t' |
222 | +alias rmexif='for IMAGE in $(find ./ -type f \( -iname *.gif -o -iname *.jpg -o -iname *.jpeg -o -iname *.png \)); do exiftool -all= $IMAGE; done' |
223 | +alias ssh-add='ssh-add -t 1h' |
224 | +alias su='su -l' |
225 | +alias tb='(exec 3<>/dev/tcp/termbin.com/9999; cat >&3; cat <&3; exec 3<&-) | xclip -selection c' |
226 | +alias todo='~/.scripts/todo' |
227 | +alias y2m='youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 -o "%(title)s.%(ext)s" --no-cache-dir --no-call-home' |
228 | + |
229 | +audiosrc() { |
230 | + if [ $1 = 'auto' ]; then |
231 | + amixer cset numid=3 0 |
232 | + elif [ $1 = 'aux' ]; then |
233 | + amixer cset numid=3 1 |
234 | + elif [ $1 = 'hdmi' ]; then |
235 | + amixer cset numid=3 2 |
236 | + else |
237 | + echo "invalid option! (must be auto, aux, or hdmi)" |
238 | + fi |
239 | +} |
240 | + |
241 | +color() { |
242 | + for color in {0..255}; do |
243 | + printf "\e[48;5;%sm %3s \e[0m" $color $color |
244 | + if [ $((($color + 1) % 6)) == 4 ]; then |
245 | + echo |
246 | + fi |
247 | + done |
248 | +} |
249 | + |
250 | +rnd() { |
251 | + cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $1 | head -n 1 |
252 | +} |
253 | + |
254 | +shat() { |
255 | + echo -n $1 | shasum -a 512 |
256 | +} |
257 | + |
258 | +title() { |
259 | + echo -ne "\033]0;$1\007" |
260 | +} |
261 | + |
262 | +transfer() { |
263 | + TMP=$(mktemp -t transferXXX) |
264 | + curl -H "Max-Downloads: 1" -H "Max-Days: 1" --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $TMP |
265 | + cat $TMP |
266 | + rm -f $TMP |
267 | +} |
268 | + |
269 | +update() { |
270 | + sudo pacman-key --refresh-keys |
271 | + sudo mount -o remount,rw /boot && sudo pacman -Syyu && sudo mount -o remount,ro /boot |
272 | + sudo pacman -Rns $(pacman -Qtdq) |
273 | + sudo pacman -Scc |
274 | + for d in $(find $HOME/dev/git/mirrors -type d -name .git); do |
275 | + cd $(dirname $d) && git pull |
276 | + done; |
277 | + cd $HOME/dev/build/googler && git pull |
278 | +} |
279 | + |
280 | + |
281 | +prompt() { |
282 | + # note: detect ssh connection properly to display hostname |
283 | + local _branch="$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/')" |
284 | + if [[ "$TERM" = "st-256color" ]]; then |
285 | + PS1="\e[38;5;237m\T\e[0m \e[38;5;41m\u@\h\e[0m \e[38;5;69m\w\e[0m\e[35m$_branch\e[0m : " |
286 | + else |
287 | + PS1="\e[90m\T\e[0m \e[32m\u@\h\e[0m \e[94m\w\e[0m\e[35m$_branch\e[0m : " |
288 | + fi |
289 | +} |
290 | + |
291 | +export PROMPT_COMMAND=prompt |
292 | diff --git a/home/acidvegas/.config/cmus/autosave b/home/acidvegas/.config/cmus/autosave |
293 | new file mode 100644 |
294 | index 0000000..3a1996b |
295 | --- /dev/null |
296 | +++ b/home/acidvegas/.config/cmus/autosave |
297 | @@ -0,0 +1,81 @@ |
298 | +set aaa_mode=artist |
299 | +set altformat_current= %f |
300 | +set altformat_title=cmus: %f |
301 | +set altformat_trackwin= %f |
302 | +set auto_expand_albums_follow=false |
303 | +set auto_expand_albums_search=false |
304 | +set auto_expand_albums_selcur=false |
305 | +set color_cmdline_attr=default |
306 | +set color_cmdline_bg=default |
307 | +set color_cmdline_fg=default |
308 | +set color_cur_sel_attr=default |
309 | +set color_error=lightred |
310 | +set color_info=lightyellow |
311 | +set color_separator=gray |
312 | +set color_statusline_attr=default |
313 | +set color_statusline_bg=black |
314 | +set color_statusline_fg=white |
315 | +set color_titleline_attr=default |
316 | +set color_titleline_bg=black |
317 | +set color_titleline_fg=white |
318 | +set color_trackwin_album_attr=default |
319 | +set color_trackwin_album_bg=default |
320 | +set color_trackwin_album_fg=black |
321 | +set color_win_attr=default |
322 | +set color_win_bg=black |
323 | +set color_win_cur=lightyellow |
324 | +set color_win_cur_attr=default |
325 | +set color_win_cur_sel_attr=default |
326 | +set color_win_cur_sel_bg=red |
327 | +set color_win_cur_sel_fg=black |
328 | +set color_win_dir=lightblue |
329 | +set color_win_fg=default |
330 | +set color_win_inactive_cur_sel_attr=default |
331 | +set color_win_inactive_cur_sel_bg=gray |
332 | +set color_win_inactive_cur_sel_fg=black |
333 | +set color_win_inactive_sel_attr=default |
334 | +set color_win_inactive_sel_bg=gray |
335 | +set color_win_inactive_sel_fg=black |
336 | +set color_win_sel_attr=default |
337 | +set color_win_sel_bg=gray |
338 | +set color_win_sel_fg=black |
339 | +set color_win_title_attr=default |
340 | +set color_win_title_bg=default |
341 | +set color_win_title_fg=white |
342 | +set dsp.alsa.device=default |
343 | +set dsp.jack.resampling_quality=2 |
344 | +set format_current= %t |
345 | +set format_statusline= %{status} %{?show_playback_position?%{position} %{?duration?/ %{duration} }?%{?duration?%{duration} }}%=%{?volume>=0?vol: %{volume}}%%[41m |
346 | +set format_title=cmus: %a - %t |
347 | +set format_trackwin= %t |
348 | +set format_trackwin_album= |
349 | +set format_treewin= |
350 | +set format_treewin_artist=%a |
351 | +set lib_sort=artist title filename |
352 | +set mixer.alsa.channel=PCM |
353 | +set mixer.alsa.device=default |
354 | +set mixer.oss.channel=PCM |
355 | +set mixer.pulse.restore_volume=1 |
356 | +set output_plugin=alsa |
357 | +set repeat=true |
358 | +set set_term_title=true |
359 | +set smart_artist_sort=false |
360 | +set start_view=tree |
361 | +bind common , vol -10% |
362 | +bind common . vol +10% |
363 | +bind common / search-start |
364 | +bind common 1 view tree |
365 | +bind common delete win-remove |
366 | +bind common down win-down |
367 | +bind common enter win-activate |
368 | +bind common left seek -5 |
369 | +bind common p player-pause |
370 | +bind common page_down win-page-down |
371 | +bind common page_up win-page-up |
372 | +bind common q quit -i |
373 | +bind common right seek +5 |
374 | +bind common s view settings |
375 | +bind common tab win-next |
376 | +bind common u win-update |
377 | +bind common up win-up |
378 | +fset mp3=filename="*.mp3" |
379 | diff --git a/home/acidvegas/.config/htop/htoprc b/home/acidvegas/.config/htop/htoprc |
380 | new file mode 100644 |
381 | index 0000000..78d4269 |
382 | --- /dev/null |
383 | +++ b/home/acidvegas/.config/htop/htoprc |
384 | @@ -0,0 +1,26 @@ |
385 | +# Beware! This file is rewritten by htop when settings are changed in the interface. |
386 | +# The parser is also very primitive, and not human-friendly. |
387 | +fields=0 48 46 47 49 1 |
388 | +sort_key=48 |
389 | +sort_direction=1 |
390 | +hide_threads=0 |
391 | +hide_kernel_threads=1 |
392 | +hide_userland_threads=1 |
393 | +shadow_other_users=1 |
394 | +show_thread_names=0 |
395 | +show_program_path=1 |
396 | +highlight_base_name=1 |
397 | +highlight_megabytes=1 |
398 | +highlight_threads=1 |
399 | +tree_view=1 |
400 | +header_margin=0 |
401 | +detailed_cpu_time=0 |
402 | +cpu_count_from_zero=0 |
403 | +update_process_names=0 |
404 | +account_guest_in_cpu_meter=0 |
405 | +color_scheme=0 |
406 | +delay=15 |
407 | +left_meters=CPU |
408 | +left_meter_modes=1 |
409 | +right_meters=Memory |
410 | +right_meter_modes=1 |
411 | diff --git a/home/acidvegas/.gitconfig b/home/acidvegas/.gitconfig |
412 | new file mode 100644 |
413 | index 0000000..ce218c2 |
414 | --- /dev/null |
415 | +++ b/home/acidvegas/.gitconfig |
416 | @@ -0,0 +1,21 @@ |
417 | +[alias] |
418 | + commits = log --color --graph --pretty=format:'%Cred%h%Creset - %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
419 | + microclone = clone --depth=1 |
420 | + rmcommits = !git checkout --orphan latest_branch && git add -A && git commit -S -am "Initial commit" && git branch -D master && git branch -m master && git push -f origin master |
421 | + setup = !git config user.name acidvegas && git config user.email acid.vegas@acid.vegas && git config user.signingkey 441EB0F297E0DCF0AEF2F711EF4B922DB85DC9DE' |
422 | + stats = diff --stat |
423 | +[color] |
424 | + diff = auto |
425 | + status = auto |
426 | + branch = auto |
427 | + interactive = auto |
428 | + ui = true |
429 | + pager = true |
430 | +[commit] |
431 | + gpgSign = true |
432 | +[core] |
433 | + editor = nano |
434 | +[user] |
435 | + signingkey = 441EB0F297E0DCF0AEF2F711EF4B922DB85DC9DE |
436 | + name = acidvegas |
437 | + email = acid.vegas@acid.vegas |
438 | diff --git a/home/acidvegas/.gnupg/gpg.conf b/home/acidvegas/.gnupg/gpg.conf |
439 | new file mode 100644 |
440 | index 0000000..7c401d9 |
441 | --- /dev/null |
442 | +++ b/home/acidvegas/.gnupg/gpg.conf |
443 | @@ -0,0 +1,19 @@ |
444 | +keyserver-options no-honor-keyserver-url |
445 | +keyserver-options include-revoked |
446 | + |
447 | +keyid-format 0xlong |
448 | +with-fingerprint |
449 | + |
450 | +no-greeting |
451 | +no-emit-version |
452 | +no-comments |
453 | +list-options show-uid-validity |
454 | +verify-options show-uid-validity |
455 | +use-agent |
456 | +utf8-strings |
457 | +display-charset utf-8 |
458 | + |
459 | +personal-cipher-preferences AES256 AES192 AES CAST5 |
460 | +personal-digest-preferences SHA512 SHA384 SHA256 SHA224 |
461 | +cert-digest-algo SHA512 |
462 | +default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed |
463 | diff --git a/home/acidvegas/.mozilla/firefox/profile.default/chrome/userChrome.css b/home/acidvegas/.mozilla/firefox/profile.default/chrome/userChrome.css |
464 | new file mode 100644 |
465 | index 0000000..6088047 |
466 | --- /dev/null |
467 | +++ b/home/acidvegas/.mozilla/firefox/profile.default/chrome/userChrome.css |
468 | @@ -0,0 +1,82 @@ |
469 | +/* context menu - blank */ |
470 | +#context-back,#context-bookmarkpage,#context-forward,#context-inspect,#context-navigation,#context-pocket,#context-reload,#context-savepage,#context-selectall,#context-sendpagetodevice,#context-sep-navigation,#context-sep-sendpagetodevice,#context-sep-viewbgimage,#context-sep-viewsource,#context-stop,#context-viewinfo,#context-viewsource,#inspect-separator,#screenshots_mozilla_org_create-screenshot{display:none !important} |
471 | + |
472 | +/* context menu - frame */ |
473 | +#context-bookmarkframe,#context-openframe,#context-openframeintab,#context-printframe,#context-printframe + menuseparator,#context-reloadframe,#context-reloadframe + menuseparator,#context-saveframe,#context-saveframe + menuseparator,#context-showonlythisframe,#context-viewframeinfo,#context-viewframesource,#open-frame-sep{display:none !important} |
474 | + |
475 | +/* context menu - image */ |
476 | +#context-reloadimage,#context-sendimage,#context-sep-copyimage,#context-setDesktopBackground,#context-viewimageinfo{display:none !important} |
477 | + |
478 | +/* context menu - input */ |
479 | +#context-bidi-page-direction-toggle,#context-bidi-text-direction-toggle,#context-copy,#context-cut,#context-delete,#context-keywordfield,#context-paste,#context-selectall,#context-sep-bidi,#context-sep-paste,#context-sep-undo,#context-undo,#fill-login,#fill-login-separator,#spell-add-dictionaries-main,#spell-check-enabled,#spell-dictionaries,#spell-separator{display:none !important} |
480 | + |
481 | +/* context menu - link */ |
482 | +#context-bookmarklink,#context-openlink,#context-openlinkinusercontext-menu,#context-openlinkprivate,#context-savelinktopocket,#context-searchselect,#context-sendlinktodevice,#context-sep-open,#context-sep-sendlinktodevice{display:none !important} |
483 | + |
484 | +/* context menu - media */ |
485 | +#context-sendaudio{display:none !important} |
486 | + |
487 | +/* context menu - page action */ |
488 | +#pageAction-panel-addSearchEngine,#pageAction-panel-bookmark,#pageAction-panel-bookmarkSeparator,#pageAction-panel-builtInSeparator,#pageAction-panel-copyURL,#pageAction-panel-emailLink,#pageAction-panel-pocket,#pageAction-panel-screenshots,#pageAction-panel-sendToDevice,#pageAction-panel-transientSeparator,#pageAction-panel-webcompat-reporter-button{display:none !important} |
489 | + |
490 | +/* context menu - select */ |
491 | +#context-viewpartialsource-selection{display:none !important} |
492 | + |
493 | +/* context menu - side bar */ |
494 | +#placesContext_copy,#placesContext_createBookmark,#placesContext_cut,#placesContext_deleteHost,#placesContext_deleteSeparator,#placesContext_delete_history,#placesContext_editSeparator,#placesContext_openLinks:tabs,#placesContext_open:newprivatewindow,#placesContext_open:newwindow,#placesContext_paste,#placesContext_reload{display:none !important} |
495 | + |
496 | +/* context menu - tab */ |
497 | +#context_closeOtherTabs,#context_closeTabsToTheEnd,#context_duplicateTab,#context_duplicateTab + menuseparator,#context_moveTabOptions,#context_pinSelectedTabs,#context_reloadSelectedTabs,#context_reloadTab,#context_reopenInContainer,#context_sendTabToDevice,#context_sendTabToDevice + menuseparator,#context_toggleMuteSelectedTabs,#context_undoCloseTab,#context_unpinSelectedTabs{display:none !important} |
498 | + |
499 | +/* context menu - tool bar */ |
500 | +#toggle_PersonalToolbar,#toggle_toolbar-menubar,#toolbar-context-bookmarkSelectedTab,#toolbar-context-bookmarkSelectedTabs,#toolbar-context-reloadSelectedTab,#toolbar-context-reloadSelectedTabs,#toolbar-context-selectAllTabs,#toolbar-context-undoCloseTab,#toolbar-context-undoCloseTab + menuseparator,.customize-context-autoHide,.customize-context-manageExtension,.customize-context-moveToPanel,.customize-context-removeExtension,.customize-context-removeExtension + menuseparator,.customize-context-removeFromToolbar,.viewCustomizeToolbar{display:none !important} |
501 | + |
502 | + |
503 | +/* context menu - url bar */ |
504 | +#urlbar menuitem[anonid="paste-and-go"],#urlbar menuitem[cmd="cmd_copy"],#urlbar menuitem[cmd="cmd_cut"],#urlbar menuitem[cmd="cmd_delete"],#urlbar menuitem[cmd="cmd_delete"] + menuseparator,#urlbar menuitem[cmd="cmd_paste"],#urlbar menuitem[cmd="cmd_selectAll"],#urlbar menuitem[cmd="cmd_undo"],#urlbar menuitem[cmd="cmd_undo"] + menuseparator{display:none !important} |
505 | + |
506 | +/* find bar - hide extra options */ |
507 | +.findbar-entire-word, .findbar-case-sensitive, .findbar-highlight {visibility: collapse !important}[41m |
508 | + |
509 | +/* nav bar - hide back & forward buttons */ |
510 | +:-moz-any(#back-button, #forward-button){display:none !important} |
511 | + |
512 | +/* nav bar - hide hamburger button */ |
513 | +#PanelUI-menu-button{display:none} |
514 | + |
515 | +/* nav + tab bar merge */ |
516 | +:root[uidensity=compact]{--tabs-margin-left:3em;--space-before-tabs:34.5em;--space-after-tabs:2em;--nav-margin-top:-1.9em;--menu-margin-top:0.05em} |
517 | +#TabsToolbar{margin-left:var(--tabs-margin-left) !important;padding-left:var(--space-before-tabs) !important;margin-right:var(--space-after-tabs) !important;margin-bottom:-0.1em; !important} |
518 | +#nav-bar{margin-top:var(--nav-margin-top) !important;margin-right:60vw !important;margin-bottom:-0.1em !important;background-color:transparent !important} |
519 | + |
520 | +/* side bar - hide header & search */ |
521 | +#sidebar-header,#sidebar-search-container{display:none} |
522 | + |
523 | +/* tab bar - close button on hover only */ |
524 | +.tabbrowser-tab:not([selected]):not([pinned]) .tab-close-button{display:none !important} |
525 | +.tabbrowser-tab:not([selected]):not([pinned]):hover .tab-close-button{display:-moz-box !important} |
526 | + |
527 | +/* tab bar - hide buttons */ |
528 | +.tabbrowser-strip *[class^="scrollbutton"], .tabbrowser-strip *[class^="tabs-alltabs"], .tabbrowser-strip *[class^="tabs-newtab-button"]{display:none} |
529 | + |
530 | +/* tool bar - compact icons */ |
531 | +#widget-overflow-fixed-list{display:grid;grid-template-rows:repeat(1,1.5em);grid-template-columns:repeat(20, 15em)} |
532 | +#widget-overflow-fixed-list .toolbarbutton-1 > .toolbarbutton-text{display:none !important} |
533 | + |
534 | +/* url bar - hide bookmark star */ |
535 | +#star-button{display:none !important} |
536 | + |
537 | +/* url bar - hide dropdown */ |
538 | +.urlbar-history-dropmarker{display:none !important} |
539 | + |
540 | +/* url bar - hide feed button */ |
541 | +#feed-button {display:none !important} |
542 | + |
543 | +/* url bar - hide info icon */ |
544 | +#urlbar:not(.grantedPermissions) #identity-icon{transition:300ms !important;opacity:0 !important;-moz-margin-end:-1.1em !important} |
545 | + |
546 | +/* url bar - hide page actions */ |
547 | +#pageActionButton{display:none !important} |
548 | + |
549 | +#urlbar-container {max-width: 400px !important;} |
550 | +#search-container {max-width: 200px !important;}[41m |
551 | diff --git a/home/acidvegas/.mozilla/firefox/profile.default/chrome/userContent.css b/home/acidvegas/.mozilla/firefox/profile.default/chrome/userContent.css |
552 | new file mode 100644 |
553 | index 0000000..c2d8133 |
554 | --- /dev/null |
555 | +++ b/home/acidvegas/.mozilla/firefox/profile.default/chrome/userContent.css |
556 | @@ -0,0 +1,4 @@ |
557 | +/* color blank pages for dark theme */ |
558 | +@-moz-document url("about:blank"){*:empty:not([id]):not([style]){background-color:#474749 !important;}} |
559 | +@-moz-document url("about:home"), url("about:newtab"){.activity-stream{background-color:#474749 !important;}} |
560 | +@-moz-document url("about:newtab"){input#newtab-customize-button{display:none !important;}} |
561 | diff --git a/home/acidvegas/.mozilla/firefox/profile.default/mozilla.cfg b/home/acidvegas/.mozilla/firefox/profile.default/mozilla.cfg |
562 | new file mode 100644 |
563 | index 0000000..e603041 |
564 | --- /dev/null |
565 | +++ b/home/acidvegas/.mozilla/firefox/profile.default/mozilla.cfg |
566 | @@ -0,0 +1,68 @@ |
567 | +// custom prefs |
568 | +lockPref("accessibility.typeaheadfind.autostart", false) // http://kb.mozillazine.org/Accessibility.typeaheadfind.autostart |
569 | +lockPref("accessibility.typeaheadfind.enablesound", false) // http://kb.mozillazine.org/Accessibility.typeaheadfind.enablesound |
570 | +lockPref("app.update.auto", false) // http://kb.mozillazine.org/App.update.auto |
571 | +lockPref("app.update.enabled", true) // http://kb.mozillazine.org/App.update.enabled |
572 | +lockPref("beacon.enabled", false) |
573 | +lockPref("browser.aboutHomeSnippets.updateUrl", "") |
574 | +lockPref("browser.backspace_action", 0) // http://kb.mozillazine.org/Browser.backspace_action |
575 | +lockPref("browser.bookmarks.max_backups", 0) // http://kb.mozillazine.org/Browser.bookmarks.max_backups |
576 | +lockPref("browser.cache.check_doc_frequency", 3) // http://kb.mozillazine.org/Browser.cache.check_doc_frequency |
577 | +lockPref("browser.cache.disk.enable", false) // http://kb.mozillazine.org/Browser.cache.disk.enable |
578 | +lockPref("browser.cache.disk_cache_ssl", false) // http://kb.mozillazine.org/Browser.cache.disk_cache_ssl |
579 | +lockPref("browser.cache.memory.capacity", -1) // http://kb.mozillazine.org/Browser.cache.memory.capacity |
580 | +lockPref("browser.cache.memory.enable", true) // http://kb.mozillazine.org/Browser.cache.memory.enable |
581 | +lockPref("browser.cache.offline.enable", false) // http://kb.mozillazine.org/Browser.cache.offline.enable |
582 | +lockPref("browser.chrome.site_icons", false) // http://kb.mozillazine.org/Browser.chrome.site_icons |
583 | +lockPref("browser.chrome.toolbar_tips", false) // http://kb.mozillazine.org/Browser.chrome.toolbar_tips |
584 | +lockPref("browser.download.manager.addToRecentDocs", false) // http://kb.mozillazine.org/Browser.download.manager.addToRecentDocs |
585 | +lockPref("browser.formfill.enable", false) |
586 | +lockPref("browser.link.open_newwindow", 3) // http://kb.mozillazine.org/Browser.link.open_newwindow |
587 | +lockPref("browser.link.open_newwindow.restriction", 0) // http://kb.mozillazine.org/Browser.link.open_newwindow.restriction |
588 | +lockPref("browser.newtabpage.enabled", false) |
589 | +lockPref("browser.privatebrowsing.autostart", true) |
590 | +lockPref("browser.safebrowsing.malware.enabled", false) |
591 | +lockPref("browser.safebrowsing.phishing.enabled", false) |
592 | +lockPref("browser.safebrowsing.downloads.enabled", false) |
593 | +lockPref("browser.search.suggest.enabled", false) // http://kb.mozillazine.org/Browser.search.suggest.enabled |
594 | +lockPref("browser.send_pings", false) // http://kb.mozillazine.org/Browser.send_pings |
595 | +lockPref("browser.sessionhistory.max_total_viewers", 3) // http://kb.mozillazine.org/Browser.sessionhistory.max_total_viewers |
596 | +lockPref("browser.sessionstore.max_resumed_crashes", 0) // http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes |
597 | +lockPref("browser.sessionstore.max_tabs_undo", 3) // http://kb.mozillazine.org/Browser.sessionstore.max_tabs_undo |
598 | +lockPref("browser.sessionstore.privacy_level", 2) // http://kb.mozillazine.org/Browser.sessionstore.privacy_level |
599 | +lockPref("browser.sessionstore.resume_from_crash", false) // http://kb.mozillazine.org/Browser.sessionstore.resume_from_crash |
600 | +lockPref("browser.startup.page", 0) // http://kb.mozillazine.org/Browser.startup.page |
601 | +lockPref("browser.tabs.crashReporting.sendReport", false) |
602 | +lockPref("browser.urlbar.autoFill", false) |
603 | +lockPref("browser.urlbar.autocomplete.enabled", false) |
604 | +lockPref("browser.urlbar.maxRichResults", 0) // http://kb.mozillazine.org/Browser.urlbar.maxRichResults |
605 | +lockPref("browser.zoom.siteSpecific", false) |
606 | +lockPref("dom.battery.enabled", false) |
607 | +lockPref("dom.event.clipboardevents.enabled", false) |
608 | +lockPref("dom.event.contextmenu.enabled", false) |
609 | +lockPref("general.warnOnAboutConfig", false) // http://kb.mozillazine.org/General.warnOnAboutConfig |
610 | +lockPref("geo.enabled", false) |
611 | +lockPref("extensions.pocket.enabled", false) |
612 | +lockPref("extensions.screenshots.disabled", true) |
613 | +lockPref("image.animation_mode", "once") |
614 | +lockPref("layout.spellcheckDefault", 0) |
615 | +lockPref("network.cookie.cookieBehavior", 1) // http://kb.mozillazine.org/Network.cookie.cookieBehavior |
616 | +lockPref("network.cookie.lifetimePolicy", 2) // http://kb.mozillazine.org/Network.cookie.lifetimePolicy |
617 | +lockPref("network.dns.disablePrefetch", true) // http://kb.mozillazine.org/Network.dns.disablePrefetch |
618 | +lockPref("network.dnsCacheEntries", 10) // http://kb.mozillazine.org/Network.dnsCacheEntries |
619 | +lockPref("network.http.referer.XOriginPolicy", 0) |
620 | +lockPref("network.http.referer.spoofSource", true) |
621 | +lockPref("network.http.sendRefererHeader", 0) |
622 | +lockPref("network.IDN_show_punycode", true) // http://kb.mozillazine.org/Network.IDN_show_punycode |
623 | +lockPref("network.prefetch-next", false) // http://kb.mozillazine.org/Network.prefetch-next |
624 | +lockPref("places.history.enabled", false) |
625 | +lockPref("signon.autofillForms", false) // http://kb.mozillazine.org/Signon.autofillForms |
626 | +lockPref("plugins.flashBlock.enabled", true) |
627 | +lockPref("privacy.clearOnShutdown.*", true) |
628 | +lockPref("privacy.cpd.*", true) |
629 | +lockPref("privacy.donottrackheader.enabled", true) |
630 | +lockPref("privacy.sanitize.sanitizeOnShutdown", true) |
631 | +lockPref("privacy.trackingprotection.enabled", true) |
632 | +lockPref("reader.parse-on-load.enabled", false) |
633 | +lockPref("security.dialog_enable_delay", 0) |
634 | +lockPref("toolkit.cosmeticAnimations.enabled", false) |
635 | diff --git a/home/acidvegas/.scripts/backup b/home/acidvegas/.scripts/backup |
636 | new file mode 100755 |
637 | index 0000000..0b83fcd |
638 | --- /dev/null |
639 | +++ b/home/acidvegas/.scripts/backup |
640 | @@ -0,0 +1,7 @@ |
641 | +#!/bin/sh |
642 | +mkdir -p $HOME/.backup/tmp && rm -rf $HOME/.backup/tmp/* |
643 | +gpg -a --export-secret-key 441EB0F297E0DCF0AEF2F711EF4B922DB85DC9DE > $HOME/.backup/tmp/key.gpg |
644 | +ssh supernets 'tar -zcvf ~/supernets.tar.gz ~/services ~/unrealircd ~/www' && scp supernets:supernets.tar.gz $HOME/.backup/tmp/supernets.tar.gz |
645 | +ssh pump 'tar -zcvf ~/bots.tar.gz ~/bots' && scp pump:bots.tar.gz $HOME/.backup/tmp/bots.tar.gz |
646 | +tar -zcvf $HOME/.backup/backup-$(date +%Y-%m-%d).tar.gz --transform '!^.*/!!' $HOME/.backup/tmp/bots.tar.gz $HOME/.backup/tmp/key.gpg $HOME/.backup/tmp/supernets.tar.gz $HOME/.password-store $HOME/.ssh/config $HOME/.ssh/key $HOME/dev $HOME/doc $HOME/music |
647 | +rm -rf $HOME/.backup/tmp |
648 | diff --git a/home/acidvegas/.scripts/gitremote b/home/acidvegas/.scripts/gitremote |
649 | new file mode 100755 |
650 | index 0000000..1ac5aae |
651 | --- /dev/null |
652 | +++ b/home/acidvegas/.scripts/gitremote |
653 | @@ -0,0 +1,25 @@ |
654 | +#!/bin/sh |
655 | +set -e |
656 | +for d in $(find $HOME/dev/git -type d -name mirrors -prune -o -type d -name .git -print | sort); do |
657 | + u=$(echo $d | cut -d/ -f6) |
658 | + r=$(echo $d | cut -d/ -f7) |
659 | + echo "updating $u/$r..." |
660 | + git -C $d remote remove origin |
661 | + if [ $r = 'acid.vegas' ]; then |
662 | + git -C $d remote add origin git@github.com:$u/acidvegas.github.io.git |
663 | + git -C $d remote set-url --add --push origin git@github.com:$u/acidvegas.github.io.git |
664 | + git -C $d remote set-url --add --push origin git@gitlab.com:$u/acidvegas.gitlab.io.git |
665 | + git -C $d remote set-url --add --push origin git@contra:$r.git |
666 | + elif [ $r = 'supernets.org' ]; then |
667 | + git -C $d remote add origin git@github.com:$u/supernets.github.io.git |
668 | + git -C $d remote set-url --add --push origin git@github.com:$u/supernets.github.io.git |
669 | + git -C $d remote set-url --add --push origin git@gitlab.com:$u/supernets.gitlab.io.git |
670 | + git -C $d remote set-url --add --push origin git@contra:$r.git |
671 | + else |
672 | + git -C $d remote add origin git@github.com:$u/$r.git |
673 | + git -C $d remote set-url --add --push origin git@github.com:$u/$r.git |
674 | + git -C $d remote set-url --add --push origin git@gitlab.com:$u/$r.git |
675 | + git -C $d remote set-url --add --push origin git@contra:$r.git |
676 | + fi |
677 | + git -C $d config user.signingkey 441EB0F297E0DCF0AEF2F711EF4B922DB85DC9DE |
678 | +done |
679 | diff --git a/home/acidvegas/.scripts/mutag b/home/acidvegas/.scripts/mutag |
680 | new file mode 100755 |
681 | index 0000000..e46563e |
682 | --- /dev/null |
683 | +++ b/home/acidvegas/.scripts/mutag |
684 | @@ -0,0 +1,10 @@ |
685 | +#!/bin/sh |
686 | +find $HOME/music -type f | while read SONG; do |
687 | + DIR=$(dirname "$SONG") |
688 | + ARTIST=$(basename "$DIR") |
689 | + TITLE=$(basename "$SONG" | rev | cut -d"." -f2- | rev) |
690 | + echo "$DIR | $ARTIST | $TITLE" |
691 | + eyeD3 --remove-all-images "$SONG" |
692 | + id3v2 --delete-all "$SONG" |
693 | + id3v2 --artist "$ARTIST" --song "$TITLE" -2 "$SONG" |
694 | +done |
695 | diff --git a/home/acidvegas/.scripts/todo b/home/acidvegas/.scripts/todo |
696 | new file mode 100755 |
697 | index 0000000..595c29f |
698 | --- /dev/null |
699 | +++ b/home/acidvegas/.scripts/todo |
700 | @@ -0,0 +1,19 @@ |
701 | +#!/bin/sh |
702 | +DB=$HOME/.todo.db |
703 | +if [ -z $(sqlite3 $DB "SELECT name FROM sqlite_master WHERE type='table'") ]; then |
704 | + sqlite3 $DB "CREATE TABLE TODO (ID INTEGER PRIMARY KEY, DESC TEXT NOT NULL);" |
705 | +fi |
706 | +if [ $# -eq 0 ]; then |
707 | + data=$(sqlite3 $DB "SELECT ID,DESC FROM TODO" | sed 's/|/\t/g') |
708 | + if [ -z "$data" ]; then |
709 | + echo "nothing to do" |
710 | + else |
711 | + echo "$data" |
712 | + fi |
713 | +elif [ $1 = 'add' ]; then |
714 | + desc=$(echo "$@" | sed -e 's/^\w*\ *//') |
715 | + sqlite3 $DB "INSERT INTO TODO (DESC) values ('$desc');" |
716 | +elif [ $1 = 'del' ]; then |
717 | + id=$(echo "$@" | sed -e 's/^\w*\ *//') |
718 | + sqlite3 $DB "DELETE FROM TODO WHERE ID=$id" |
719 | +fi |
720 | diff --git a/home/acidvegas/.xinitrc b/home/acidvegas/.xinitrc |
721 | new file mode 100644 |
722 | index 0000000..54a877a |
723 | --- /dev/null |
724 | +++ b/home/acidvegas/.xinitrc |
725 | @@ -0,0 +1,16 @@ |
726 | +#!/bin/sh |
727 | +if [ -d /etc/X11/xinit/xinitrc.d ] ; then |
728 | + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do |
729 | + [ -x "$f" ] && . "$f" |
730 | + done |
731 | + unset f |
732 | +fi |
733 | + |
734 | +xset +fp /usr/share/fonts/local |
735 | +xset fp rehash |
736 | +xset s 3600 3600 |
737 | + |
738 | +slstatus & |
739 | +unclutter & |
740 | + |
741 | +exec dwm |
742 | diff --git a/home/acidvegas/dev/build/dwm/config.h b/home/acidvegas/dev/build/dwm/config.h |
743 | new file mode 100644 |
744 | index 0000000..29a80e1 |
745 | --- /dev/null |
746 | +++ b/home/acidvegas/dev/build/dwm/config.h |
747 | @@ -0,0 +1,65 @@ |
748 | +static const unsigned int borderpx = 0; |
749 | +static const unsigned int snap = 32; |
750 | +static const int showbar = 0; |
751 | +static const int topbar = 1; |
752 | +static const float mfact = 0.55; |
753 | +static const int nmaster = 1; |
754 | +static const int resizehints = 0; |
755 | +static const Layout layouts[] = { { "", tile } }; |
756 | +static const Rule rules[] = { { NULL, NULL, NULL, 0, False, -1 } }; |
757 | +static const char *tags[] = { "dev", "irc", "music", "www", "other" }; |
758 | +static const char *fonts[] = { "Misc Ohsnap.Icons:style=Regular:size=11" }; |
759 | +static const char dmenufont[] = "Misc Ohsnap.Icons:style=Regular:size=11"; |
760 | +static const char *colors[][3] = { |
761 | + [SchemeNorm] = { "#FFFFFF", "#000000", "#444444" }, |
762 | + [SchemeSel] = { "#00D787", "#000000", "#00D787" }, |
763 | +}; |
764 | + |
765 | +#define MODKEY Mod4Mask |
766 | +#define TAGKEYS(KEY,TAG) \ |
767 | + { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ |
768 | + { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ |
769 | + { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ |
770 | + { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, |
771 | + |
772 | +static char dmenumon[2] = "0"; |
773 | +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", "#000000", "-nf", "#FFFFFF", "-sb", "#000000", "-sf", "#00D787", NULL }; |
774 | +static const char *termcmd[] = { "tabbed", "-cf", "st", "-w", NULL }; |
775 | +static const char *mutevol[] = { "amixer", "-q", "set", "PCM", "toggle", NULL }; |
776 | +static const char *downvol[] = { "amixer", "-q", "set", "PCM", "3-", NULL }; |
777 | +static const char *upvol[] = { "amixer", "-q", "set", "PCM", "3+", NULL }; |
778 | +static const char *musprev[] = { "cmus-remote", "-r", NULL }; |
779 | +static const char *mustoggle[] = { "cmus-remote", "-u", NULL }; |
780 | +static const char *musnext[] = { "cmus-remote", "-n", NULL }; |
781 | + |
782 | +static Key keys[] = { |
783 | + { MODKEY, XK_Return, spawn, {.v = termcmd } }, |
784 | + { MODKEY, XK_Down, incnmaster, {.i = +1 } }, |
785 | + { MODKEY, XK_Up, incnmaster, {.i = -1 } }, |
786 | + { MODKEY, XK_Left, setmfact, {.f = -0.05} }, |
787 | + { MODKEY, XK_Right, setmfact, {.f = +0.05} }, |
788 | + { MODKEY, XK_h, togglebar, {0} }, |
789 | + { MODKEY, XK_k, killclient, {0} }, |
790 | + { MODKEY, XK_q, quit, {0} }, |
791 | + { MODKEY, XK_f, setlayout, {.v = &layouts[0]} }, |
792 | + { MODKEY, XK_r, spawn, {.v = dmenucmd } }, |
793 | + { MODKEY, XK_F2, spawn, {.v = downvol } }, |
794 | + { MODKEY, XK_F3, spawn, {.v = upvol } }, |
795 | + { MODKEY, XK_F4, spawn, {.v = mutevol } }, |
796 | + { MODKEY, XK_F6, spawn, {.v = musprev } }, |
797 | + { MODKEY, XK_F7, spawn, {.v = mustoggle } }, |
798 | + { MODKEY, XK_F8, spawn, {.v = musnext } }, |
799 | + TAGKEYS( XK_1, 0) |
800 | + TAGKEYS( XK_2, 1) |
801 | + TAGKEYS( XK_3, 2) |
802 | + TAGKEYS( XK_4, 3) |
803 | + TAGKEYS( XK_5, 4) |
804 | +}; |
805 | + |
806 | +static Button buttons[] = { |
807 | + { ClkWinTitle, 0, Button2, zoom, {0} }, |
808 | + { ClkClientWin, MODKEY, Button1, movemouse, {0} }, |
809 | + { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, |
810 | + { ClkTagBar, 0, Button1, view, {0} }, |
811 | + { ClkTagBar, MODKEY, Button1, tag, {0} }, |
812 | +}; |
813 | diff --git a/home/acidvegas/dev/build/dwm/patch_nosquares.diff b/home/acidvegas/dev/build/dwm/patch_nosquares.diff |
814 | new file mode 100644 |
815 | index 0000000..a59ec39 |
816 | --- /dev/null |
817 | +++ b/home/acidvegas/dev/build/dwm/patch_nosquares.diff |
818 | @@ -0,0 +1,13 @@ |
819 | +--- a/drw.c 2019-03-09 23:41:26.989923828 -0500 |
820 | ++++ b/drw.c 2019-03-09 23:41:35.459923639 -0500 |
821 | +@@ -241,10 +241,6 @@ |
822 | +[41m if (!drw || !drw->scheme) |
823 | +[41m return; |
824 | +[41m XSetForeground(drw->dpy, drw->gc, invert ? drw->scheme[ColBg].pixel : drw->scheme[ColFg].pixel); |
825 | +- if (filled) |
826 | +- XFillRectangle(drw->dpy, drw->drawable, drw->gc, x, y, w, h); |
827 | +- else |
828 | +- XDrawRectangle(drw->dpy, drw->drawable, drw->gc, x, y, w - 1, h - 1); |
829 | + } |
830 | +[41m |
831 | + int |
832 | diff --git a/home/acidvegas/dev/build/dwm/patch_notitles.diff b/home/acidvegas/dev/build/dwm/patch_notitles.diff |
833 | new file mode 100644 |
834 | index 0000000..b1e8368 |
835 | --- /dev/null |
836 | +++ b/home/acidvegas/dev/build/dwm/patch_notitles.diff |
837 | @@ -0,0 +1,10 @@ |
838 | +--- a/dwm.c 2019-03-09 23:32:26.479935899 -0500 |
839 | ++++ b/dwm.c 2019-03-09 23:32:36.269935680 -0500 |
840 | +@@ -731,7 +731,6 @@ |
841 | +[41m if ((w = m->ww - sw - x) > bh) { |
842 | +[41m if (m->sel) { |
843 | +[41m drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]); |
844 | +- drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0); |
845 | +[41m if (m->sel->isfloating) |
846 | +[41m drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0); |
847 | +[41m } else { |
848 | diff --git a/home/acidvegas/dev/build/slstatus/config.h b/home/acidvegas/dev/build/slstatus/config.h |
849 | new file mode 100644 |
850 | index 0000000..ca1aec6 |
851 | --- /dev/null |
852 | +++ b/home/acidvegas/dev/build/slstatus/config.h |
853 | @@ -0,0 +1,14 @@ |
854 | +const unsigned int interval = 1000; |
855 | +static const char unknown_str[] = "??"; |
856 | + |
857 | +#define MAXLEN 2048 |
858 | + |
859 | +static const struct arg args[] = { |
860 | + { cpu_perc, "Ç %s% | ", NULL}, |
861 | + { ram_perc, "Æ %s% | ", NULL}, |
862 | + { disk_perc, "¨ %s% | ", "/"}, |
863 | + { temp, "± %s°C | ", "/sys/class/thermal/thermal_zone0/temp"}, |
864 | + { battery_perc, "ð %s% | ", "BAT0"}, |
865 | + { vol_perc, "í %s% | ", "/dev/dsp"}, |
866 | + { datetime, "ú %s", "%m/%d | · %I:%M" }, |
867 | +}; |
868 | diff --git a/home/acidvegas/dev/build/st/config.h b/home/acidvegas/dev/build/st/config.h |
869 | new file mode 100644 |
870 | index 0000000..53c7f59 |
871 | --- /dev/null |
872 | +++ b/home/acidvegas/dev/build/st/config.h |
873 | @@ -0,0 +1,450 @@ |
874 | +/* See LICENSE file for copyright and license details. */ |
875 | + |
876 | +/* |
877 | + * appearance |
878 | + * |
879 | + * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html |
880 | + */ |
881 | +//static char *font = "Misc Ohsnap.Icons:style=Regular:size=11"; |
882 | +static char *font = "BlockZone"; |
883 | +static int borderpx = 2; |
884 | + |
885 | +/* |
886 | + * What program is execed by st depends of these precedence rules: |
887 | + * 1: program passed with -e |
888 | + * 2: utmp option |
889 | + * 3: SHELL environment variable |
890 | + * 4: value of shell in /etc/passwd |
891 | + * 5: value of shell in config.h |
892 | + */ |
893 | +static char *shell = "/bin/sh"; |
894 | +char *utmp = NULL; |
895 | +char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400"; |
896 | + |
897 | +/* identification sequence returned in DA and DECID */ |
898 | +char *vtiden = "\033[?6c"; |
899 | + |
900 | +/* Kerning / character bounding-box multipliers */ |
901 | +static float cwscale = 1.0; |
902 | +static float chscale = 1.0; |
903 | + |
904 | +/* |
905 | + * word delimiter string |
906 | + * |
907 | + * More advanced example: L" `'\"()[]{}" |
908 | + */ |
909 | +wchar_t *worddelimiters = L" "; |
910 | + |
911 | +/* selection timeouts (in milliseconds) */ |
912 | +static unsigned int doubleclicktimeout = 300; |
913 | +static unsigned int tripleclicktimeout = 600; |
914 | + |
915 | +/* alt screens */ |
916 | +int allowaltscreen = 1; |
917 | + |
918 | +/* frames per second st should at maximum draw to the screen */ |
919 | +static unsigned int xfps = 120; |
920 | +static unsigned int actionfps = 30; |
921 | + |
922 | +/* |
923 | + * blinking timeout (set to 0 to disable blinking) for the terminal blinking |
924 | + * attribute. |
925 | + */ |
926 | +static unsigned int blinktimeout = 800; |
927 | + |
928 | +/* |
929 | + * thickness of underline and bar cursors |
930 | + */ |
931 | +static unsigned int cursorthickness = 2; |
932 | + |
933 | +/* |
934 | + * bell volume. It must be a value between -100 and 100. Use 0 for disabling |
935 | + * it |
936 | + */ |
937 | +static int bellvolume = 0; |
938 | + |
939 | +/* default TERM value */ |
940 | +char *termname = "st-256color"; |
941 | + |
942 | +/* |
943 | + * spaces per tab |
944 | + * |
945 | + * When you are changing this value, don't forget to adapt the »it« value in |
946 | + * the st.info and appropriately install the st.info in the environment where |
947 | + * you use this st version. |
948 | + * |
949 | + * it#$tabspaces, |
950 | + * |
951 | + * Secondly make sure your kernel is not expanding tabs. When running `stty |
952 | + * -a` »tab0« should appear. You can tell the terminal to not expand tabs by |
953 | + * running following command: |
954 | + * |
955 | + * stty tabs |
956 | + */ |
957 | +unsigned int tabspaces = 4; |
958 | + |
959 | +/* Terminal colors (16 first used in escape sequence) */ |
960 | +static const char *colorname[] = { |
961 | + /* colors */ |
962 | + "#000000", |
963 | + "#800000", |
964 | + "#008000", |
965 | + "#808000", |
966 | + "#000080", |
967 | + "#800080", |
968 | + "#008080", |
969 | + "#c0c0c0", |
970 | + |
971 | + /* bright */ |
972 | + "#808080", |
973 | + "#ff0000", |
974 | + "#00ff00", |
975 | + "#ffff00", |
976 | + "#0000ff", |
977 | + "#ff00ff", |
978 | + "#00ffff", |
979 | + "#ffffff", |
980 | + |
981 | + [255] = 0, |
982 | + |
983 | + /* more colors can be added after 255 to use with DefaultXX */ |
984 | + "#cccccc", |
985 | + "#555555", |
986 | +}; |
987 | + |
988 | + |
989 | +/* |
990 | + * Default colors (colorname index) |
991 | + * foreground, background, cursor, reverse cursor |
992 | + */ |
993 | +unsigned int defaultfg = 7; |
994 | +unsigned int defaultbg = 0; |
995 | +static unsigned int defaultcs = 256; |
996 | +static unsigned int defaultrcs = 257; |
997 | + |
998 | +/* |
999 | + * Default shape of cursor |