i3 fixes
[distro-setup] / i3-sway / common.conf
index 9e4cedcccf44836336889f260cf61d62c4a94a00..67892291e0d5863309ddfa350b7ecd002fdfc528 100644 (file)
@@ -22,17 +22,17 @@ set $ex exec --no-startup-id
 bindsym $mod+2 $ex "/b/ds/i3-split-maybe"; exec "pavucontrol"
 # calling without -no-remote makes this to be the instance that links
 # will open in from other applications.
-bindsym $mod+3 exec "abrowser"
+bindsym $mod+3 $ex "/b/ds/i3-split-maybe"; exec "abrowser"
 # calling just abrowser mysteriously stopped working,
 # so I figured out this is how to get output, but then
 # it suddenly started working again.
 #bindsym $mod+3 exec "abrowser 2>&1 >/tmp/l"
 #bindsym $mod+3 exec "abrowser -no-remote -P sfw"
-bindsym $mod+4 exec "abrowser -no-remote -P firefox-main-profile"
+bindsym $mod+4 $ex "/b/ds/i3-split-maybe"; exec "abrowser -no-remote -P firefox-main-profile"
 # todo: figure out a stream delay & way to cut the stream.
 # settings, advanced, stream delay
 bindsym $mod+5 $ex "/a/bin/ds/obs-i3-interlude"
-bindsym $mod+6 exec "/usr/local/bin/start-tor-browser"
+bindsym $mod+6 $ex "/b/ds/i3-split-maybe"; exec "/usr/local/bin/start-tor-browser"
 bindsym $mod+7 $ex "/a/bin/ds/laptop-xrandr"
 #bindsym $mod+6 $ex "/a/bin/redshift.sh"
 # bindsym $mod+equal $ex "t s w; t in"
@@ -149,9 +149,9 @@ bindcode $mod+shift+65 focus mode_toggle
 floating_modifier $mod
 
 bindsym $mod+shift+h $ex clip-hc
-bindsym $mod+j $ex emacsclient -c
+bindsym $mod+j $ex "/b/ds/i3-split-maybe"; exec emacsclient -c
 bindsym $mod+shift+j $ex clip-up
-bindsym $mod+k $ex konsole
+bindsym $mod+k $ex "/b/ds/i3-split-maybe"; exec konsole
 bindsym $mod+shift+k $ex mpv --profile=a /a/bin/data/clips/enter-in.flac
 bindsym $mod+l $ex dmenu_run
 bindsym $mod+shift+l $ex mpv --profile=a /a/bin/data/clips/tokyo-eye.flac