XDG compliant i3

This commit is contained in:
Dominic Adamson
2021-03-20 08:05:38 -06:00
parent d3ef388a21
commit 130943948b
2 changed files with 0 additions and 0 deletions

10
.config/i3/i3-display-swap.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# requires jq
IFS=:
i3-msg -t get_outputs | jq -r '.[]|"\(.name):\(.current_workspace)"' | grep -v '^null:null$' | \
while read -r name current_workspace; do
echo "moving ${current_workspace} right..."
i3-msg workspace "${current_workspace}"
i3-msg move workspace to output right
done