From 89c9213617aede2a220a7c3a49e0a76e91e33951 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:17 +0100 Subject: refactor(sway): stash thunderbird in scratchpad instead of hidden ws waybar's sway/workspaces has no ignore-list (that option is hyprland-only), so the _tb workspace always leaked into the bar and into super+tab cycling. Using sway's native scratchpad solves both: the __i3_scratch workspace is filtered automatically. We run 'floating disable' right after 'scratchpad show' so the window lands tiled on the current workspace, preserving the intended UX. --- dot_config/sway/executable_ws-cycle.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 dot_config/sway/executable_ws-cycle.sh (limited to 'dot_config/sway/executable_ws-cycle.sh') diff --git a/dot_config/sway/executable_ws-cycle.sh b/dot_config/sway/executable_ws-cycle.sh deleted file mode 100644 index 28a97f0..0000000 --- a/dot_config/sway/executable_ws-cycle.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# Cycle to the next/previous workspace on the current output, skipping -# the _tb stash workspace. Usage: ws-cycle.sh next|prev -set -eu - -DIR=${1:?usage: ws-cycle.sh next|prev} -SKIP=_tb - -swaymsg -t get_workspaces | jq -r --arg dir "$DIR" --arg skip "$SKIP" ' - (map(select(.focused)) | .[0]) as $cur - | map(select(.output == $cur.output and .name != $skip)) - | sort_by(.num, .name) as $list - | ($list | map(.name == $cur.name) | index(true)) as $i - | if $i == null then $list[0].name - elif $dir == "next" then $list[(($i + 1) % ($list | length))].name - else $list[(($i - 1 + ($list | length)) % ($list | length))].name - end -' | xargs -I{} swaymsg workspace {} >/dev/null -- cgit v1.3.1