Add scripts for window management.

master
josiah 8 months ago
parent 36c790eef1
commit 98c553751c

@ -0,0 +1,3 @@
#!/run/current-system/sw/bin/bash
scrot -s /home/josiah/Pictures/screenshots/$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'

@ -0,0 +1,2 @@
#!/run/current-system/sw/bin/bash
wmctrl -a emacs || emacs

@ -0,0 +1,3 @@
#!/run/current-system/sw/bin/bash
wid=`xdotool search --title "Mozilla Firefox"`
xdotool windowactivate $wid

@ -0,0 +1,2 @@
#!/run/current-system/sw/bin/bash
wmctrl -a Konsole || Konsole
Loading…
Cancel
Save