summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/sway/config10
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 910d3f59..a9f305ab 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -194,12 +194,13 @@ mode "C-i-" {
bindsym r [class="Evolution" title=" — Evolution$"] focus, mode "default"
# chat
- # foot doesn't have an option to set a persistent title, as other
- # terminal emulators do, so we use a sway mark to find the window again
- bindsym Shift+n exec foot --title="irssi" \
+ # Foot doesn't yet have an option to set a persistent title, as other
+ # terminal emulators do. See <https://codeberg.org/dnkl/foot/issues/386>
+ # regarding using the app ID for this purpose.
+ bindsym Shift+n exec foot --app-id="foot-irssi" \
/bin/sh -c "mosh athena /home/spwhitton/src/dotfiles/bin/ii", \
mode "default"
- bindsym n [con_mark="irssi"] focus, mode "default"
+ bindsym n [app_id="foot-irssi"] focus, mode "default"
bindsym c [con_mark=caffeinated] inhibit_idle none; \
mark --toggle caffeinated; \
@@ -240,7 +241,6 @@ mode "C-i-" {
# distinguish between <tab> and C-i
bindsym --locked Ctrl+i mode "C-i-"
-for_window [title="irssi"] mark irssi
for_window [con_mark=caffeinated] inhibit_idle open
for_window [title="ftp-master GNU mc session"] mark mc