312 current 2025-02-09 03:05:47 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-02-09 03:06:00 -05:00
parent a1c7b9bfd7
commit 1738775517
12 changed files with 190 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
# swaps the current desktop with selected
shift="$1"
current=$(bspc query -D -d --names)
# if same, exit
[[ $shift == $current ]] && exit 1
bspc desktop $shift -n t
bspc desktop $current -s t
bspc desktop $current -n $shift
bspc desktop t -n $current