mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
added binfiles from chrysostomus/bspwm-scripts, fixed eaten space
This commit is contained in:
13
bin/edge-switcher
Executable file
13
bin/edge-switcher
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
function on_exit {
|
||||
for child in $(jobs -p); do
|
||||
jobs -p | grep -q $child && kill $child
|
||||
done
|
||||
# Extra paranoia
|
||||
[[ -d "${state_path}" && -w "${state_path}" ]] && rm -rf -- "${state_path}"
|
||||
}
|
||||
|
||||
trap on_exit EXIT SIGHUP SIGINT SIGTERM
|
||||
|
||||
xdotool behave_screen_edge left exec bspc desktop -f prev &
|
||||
xdotool behave_screen_edge right exec bspc desktop -f next &
|
||||
Reference in New Issue
Block a user