misc changes
This commit is contained in:
parent
6abaea7a5b
commit
346fda912e
3
Makefile
3
Makefile
|
@ -7,7 +7,10 @@ install: .environment
|
||||||
location_setup:
|
location_setup:
|
||||||
mkdir -p $(LOCATION)/
|
mkdir -p $(LOCATION)/
|
||||||
install_theme:
|
install_theme:
|
||||||
|
mkdir -p $(HOME)/.themes
|
||||||
|
mkdir -p $(HOME)/.local/share/firefox/.themes
|
||||||
ln -sf $(CURDIR)/earth $(HOME)/.themes/
|
ln -sf $(CURDIR)/earth $(HOME)/.themes/
|
||||||
|
ln -sf $(CURDIR)/earth $(HOME)/.local/share/firefox/.themes
|
||||||
install_bspwm:
|
install_bspwm:
|
||||||
ln -sf $(CURDIR)/bspwm $(LOCATION)/
|
ln -sf $(CURDIR)/bspwm $(LOCATION)/
|
||||||
install_nvim:
|
install_nvim:
|
||||||
|
|
|
@ -75,7 +75,8 @@ record() {
|
||||||
|
|
||||||
printf "> written to %s\n" "$tmp.mp4"
|
printf "> written to %s\n" "$tmp.mp4"
|
||||||
while true; do
|
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
|
case "$result" in
|
||||||
*upload*)
|
*upload*)
|
||||||
paste "$tmp.mp4" | xclip -i
|
paste "$tmp.mp4" | xclip -i
|
||||||
|
@ -87,6 +88,11 @@ record() {
|
||||||
rm "$tmp.mp4"
|
rm "$tmp.mp4"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
*home*)
|
||||||
|
name=$(echo "capture.mp4" | fzy --prompt="name please? ")
|
||||||
|
mv "$tmp.mp4" "$HOME/$name.mp4"
|
||||||
|
return
|
||||||
|
;;
|
||||||
*quit*)
|
*quit*)
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -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 tmenu-prompt border=on sticky=on state=floating
|
||||||
bspc rule -a Xmessage border=on state=floating
|
bspc rule -a Xmessage border=on state=floating
|
||||||
bspc rule -a Zathura state=tiled
|
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
|
||||||
|
|
1
sx/sxrc
1
sx/sxrc
|
@ -3,6 +3,7 @@ setxkbmap -option caps:super
|
||||||
killall xcape
|
killall xcape
|
||||||
xcape -e 'Super_L=Escape'
|
xcape -e 'Super_L=Escape'
|
||||||
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
|
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
|
||||||
|
xset r rate 200 40
|
||||||
|
|
||||||
# start the wm
|
# start the wm
|
||||||
sxhkd &
|
sxhkd &
|
||||||
|
|
Loading…
Reference in New Issue