mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
14 lines
369 B
Bash
Executable File
14 lines
369 B
Bash
Executable File
#!/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 &
|