diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2024-01-18 11:38:46 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2024-01-18 11:39:13 +0000 |
commit | 619c213232b3c79a28a5f5ffe23bf1e2f187f65b (patch) | |
tree | 86694f56a81b28cc005588d5de5b59ab51657a4a | |
parent | 540266fbfda82cd5cca9d26da51655d4014ed408 (diff) | |
download | dotfiles-619c213232b3c79a28a5f5ffe23bf1e2f187f65b.tar.gz |
drop C-i / binding, which is incompatible with new i3status-wrapper
-rw-r--r-- | .config/sway/config | 3 | ||||
-rwxr-xr-x | scripts/desktop/wofi_window | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/.config/sway/config b/.config/sway/config index 4a1b5c25..f8577896 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -185,9 +185,6 @@ mode "C-i-" { ~/src/dotfiles/scripts/desktop/fresh-workspace --take, \ mode "default" - # go to windows for tasks without needing to know the workspace - bindsym slash exec ~/src/dotfiles/scripts/desktop/wofi_window, mode "default" - # reload the configuration file bindsym Ctrl+Mod1+c reload, mode "default" # exit i3 (logs you out of your X session) diff --git a/scripts/desktop/wofi_window b/scripts/desktop/wofi_window deleted file mode 100755 index 2949be8c..00000000 --- a/scripts/desktop/wofi_window +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# straight from wofi(7) - -swaymsg -t get_tree \ - | jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] | select(.nodes==[]) | ((.id | tostring) + " " + .name)' \ - | wofi -i --show dmenu \ - | { - read -r id name - swaymsg "[con_id=$id]" focus - } |