summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-10-30 15:13:45 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-10-31 18:56:00 -0700
commit365a519192fcc4f60f7f63d47a9a4bf51c822af1 (patch)
treec78fb22963dc84f630cece9f4422708833419462 /.config
parent59e405c2ef0da027b6fc5088bc13f70809a601e4 (diff)
downloaddotfiles-365a519192fcc4f60f7f63d47a9a4bf51c822af1.tar.gz
irssi -> rcirc initial configuration
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config8
-rw-r--r--.config/sway/config11
2 files changed, 4 insertions, 15 deletions
diff --git a/.config/i3/config b/.config/i3/config
index c2f442b5..e4b6fae5 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -237,12 +237,8 @@ mode "C-i-" {
bindsym g mode "C-i g-"
- # chat
- bindsym Shift+n exec xfce4-terminal --title="irssi" -x \
- /bin/sh -c "mosh athena /home/spwhitton/src/dotfiles/bin/ii", \
- mode "default"
- bindsym n [class="^Xfce4-terminal$" title="^irssi$"] focus, \
- mode "default"
+ bindsym n exec i3-msg '[title="\[mosh\] tmux default on athena"]' focus \
+ || xfce4-terminal -x ssh-and-tmux athena.silentflame.com, mode "default"
bindsym space mode "default"
bindsym Ctrl+g mode "default"
diff --git a/.config/sway/config b/.config/sway/config
index 407c3100..9b8e7e21 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -227,15 +227,8 @@ mode "C-i-" {
# various reasons, so just having them as regular windows with
# shortcuts to get back to them is better.
- # chat
- # Foot in Debian bullseye doesn't have an option to set a persistent
- # title. See <https://codeberg.org/dnkl/foot/issues/386> regarding
- # using the app ID for this purpose. For bookworm, use new --override
- # locked-title=yes feature.
- bindsym Shift+n exec foot --app-id="foot-irssi" \
- /bin/sh -c "mosh athena /home/spwhitton/src/dotfiles/bin/ii", \
- mode "default"
- bindsym n [app_id="foot-irssi"] focus, mode "default"
+ bindsym n exec swaymsg '[title="\[mosh\] tmux default on athena"]' focus \
+ || foot ssh-and-tmux athena.silentflame.com, mode "default"
bindsym c [con_mark=caffeinated] inhibit_idle none; \
mark --toggle caffeinated; mode "default"