mainly minor fixes
[distro-setup] / i3-sway / common.conf
index 79f26bb488783eea2063d690ebb4f72ba092c1a1..fe09e67136c7af6f6c8a53fe643a111c3ebac598 100644 (file)
@@ -23,7 +23,8 @@ set $ex exec --no-startup-id
 bindsym $mod+2 $ex "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 $ex "i3-split-maybe"; exec "abrowser"
+# unused. todo: consider binding this to some key on the right side of keyboard.
+#bindsym $mod+3 $ex "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.
@@ -54,16 +55,16 @@ bindsym $mod+equal $ex "i3-set-layout splith"
 # get class with xprop, example output
 # WM_CLASS(STRING) = "irssi", "URxvt"
 # xprop |& grep WM_CLASS
-bindsym $mod+w $ex i3-pull abrowser
+bindsym $mod+w $ex "/a/exe/i3-abrowser"
 bindsym $mod+shift+w fullscreen toggle
 
-bindsym $mod+e $ex i3-pull emacs
-bindsym $mod+shift+e unmark emacs; mark emacs
+bindsym $mod+e $ex "/a/exe/i3-emacs"
+# unused
+#bindsym $mod+shift+e
 bindsym $mod+r $ex "/a/bin/ds/xl"
 
 bindsym $mod+t $ex "i3-set-layout splitv"
-#bindsym $mod+Shift+t move workspace to output up
-bindsym $mod+Shift+t move workspace to output BIG-RIGHT eDP-1
+bindsym $mod+Shift+t move workspace to output BIG-RIGHT primary
 
 bindsym $mod+g $ex "i3-set-layout tabbed"
 
@@ -127,8 +128,10 @@ bindcode 171 $ex "toggle-mute unmute"
 #bindsym $mod+shift+5 $ex "/a/a.sh"
 
 
-bindsym $mod+b $ex i3-pull term
+bindsym $mod+b $ex "/a/exe/i3-konsole"
 bindsym $mod+shift+b unmark term; mark term
+
+
 # for use to cleanup extra emacs windows
 # https://faq.i3wm.org/question/7662/reverse-perl-matches-in-criteria-in-i3-config.1.html
 # I found their regex slightly wrong. This is a hacky way to
@@ -140,7 +143,6 @@ bindsym $mod+shift+6 [class="Emacs" title="^(?!#[a-zA-Z][a-zA-Z-]*$)"] move work
 
 bindsym $mod+c kill
 
-
 bindsym $mod+Home split horizontal
 bindsym $mod+Shift+End move container to workspace 7
 bindsym $mod+End workspace 7
@@ -184,6 +186,8 @@ bindsym $mod+shift+semicolon $ex /b/ds/stream-clip sad
 bindsym XF86MonBrightnessUp $ex brightnessctl s +5%
 bindsym XF86MonBrightnessDown $ex brightnessctl s 5%-
 for_window [class="copyq" instance="copyq" window_type="normal"] floating enable
+# eh, dont really like web page titles + a long browser name string.
+for_window [class="firefox" instance="Navigator" window_role="browser"] title_format "b"
 bindsym $mod+y $ex copyq-restart
 
 # Font for window titles. Will also be used by the bar unless a different font