misc changes

This commit is contained in:
randomuser 2023-01-14 20:17:33 -06:00
parent 6abaea7a5b
commit 346fda912e
4 changed files with 12 additions and 2 deletions

View File

@ -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:

View File

@ -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
;;

View File

@ -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

View File

@ -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 &