X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2F.config%2Fi3%2Fconfig;h=a99c8c3dc3ec5256c1f4b016870522fa78f8553c;hb=01ccff895787ca94ad37d11cb93f0440a29edd7c;hp=d185b5079783daf3bf12cbc4c059a2624c7cc196;hpb=3629611b971950db2ed8a42a8f9578062cd906c6;p=distro-setup diff --git a/subdir_files/.config/i3/config b/subdir_files/.config/i3/config index d185b50..a99c8c3 100644 --- a/subdir_files/.config/i3/config +++ b/subdir_files/.config/i3/config @@ -19,7 +19,11 @@ bindsym $mod+6 exec "/a/bin/redshift.sh" bindsym $mod+equal focus parent -# move firefox to current workspace +# move firefox to current workspace. +# https://i3wm.org/docs/userguide.html#keybindings +# get class with xprop, example output +# WM_CLASS(STRING) = "irssi", "URxvt" +# xprop |& grep WM_CLASS bindsym $mod+w [class="abrowser"] move workspace current bindsym $mod+e fullscreen toggle @@ -64,7 +68,9 @@ bindsym $mod+x workspace 6 # todo, in newer i3, make this split toggle bindsym $mod+v split vertical -bindsym $mod+b split horizontal +bindsym $mod+Shift+v split horizontal +# https://faq.i3wm.org/question/7662/reverse-perl-matches-in-criteria-in-i3-config.1.html +bindsym $mod+b [class="Emacs" title="^(?!#[a-zA-Z][a-zA-Z-]*$)"] move workspace current bindsym $mod+c kill