diff --git a/Makefile b/Makefile index d322dcc..c654fd6 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,10 @@ install: .environment location_setup: mkdir -p $(LOCATION)/ install_theme: + mkdir -p $(HOME)/.themes + mkdir -p $(HOME)/.local/share/firefox/.themes ln -sf $(CURDIR)/earth $(HOME)/.themes/ + ln -sf $(CURDIR)/earth $(HOME)/.local/share/firefox/.themes install_bspwm: ln -sf $(CURDIR)/bspwm $(LOCATION)/ install_nvim: diff --git a/bash/bashrc b/bash/bashrc index 546211f..8d20282 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -75,7 +75,8 @@ record() { printf "> written to %s\n" "$tmp.mp4" while true; do - result=$(printf "delete\nupload to pastebin\nreview footage\nquit\n" | fzy --prompt="what next?") + set -x + result=$(printf "delete\nmove to home directory\nupload to pastebin\nreview footage\nquit\n" | fzy --prompt="what next? ") case "$result" in *upload*) paste "$tmp.mp4" | xclip -i @@ -87,6 +88,11 @@ record() { rm "$tmp.mp4" return ;; + *home*) + name=$(echo "capture.mp4" | fzy --prompt="name please? ") + mv "$tmp.mp4" "$HOME/$name.mp4" + return + ;; *quit*) return ;; diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index 0618680..430189b 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -23,4 +23,4 @@ bspc rule -a statusbar border=off sticky=on state=floating manage=off bspc rule -a tmenu-prompt border=on sticky=on state=floating bspc rule -a Xmessage border=on state=floating bspc rule -a Zathura state=tiled -bspc rule -a generic-st-window state=floating +bspc rule -a generic-st-window state=floating manage=on sticky=on border=on diff --git a/sx/sxrc b/sx/sxrc index ff4c3cd..da9655b 100755 --- a/sx/sxrc +++ b/sx/sxrc @@ -3,6 +3,7 @@ setxkbmap -option caps:super killall xcape xcape -e 'Super_L=Escape' xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock +xset r rate 200 40 # start the wm sxhkd &