diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-01-03 19:11:39 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-01-03 19:11:39 -0500 |
| commit | 0276d90b893513179dfa8b34089513b74121ede1 (patch) | |
| tree | c51a2a0f9e0e2363a0f7c31284e8f7f32eed3b62 /.config | |
| parent | df8e3a98e5c2a8d28f051a174c35dd1ba978016e (diff) | |
| download | eibhear-0276d90b893513179dfa8b34089513b74121ede1.tar.gz eibhear-0276d90b893513179dfa8b34089513b74121ede1.tar.zst eibhear-0276d90b893513179dfa8b34089513b74121ede1.zip | |
ddspawn simplification
Diffstat (limited to '.config')
| -rw-r--r-- | .config/i3/config | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/.config/i3/config b/.config/i3/config index b7c5d7d..cf4e4af 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -32,25 +32,16 @@ set $hibernate sudo -A systemctl suspend # #---Dropdown Windows---# # -# First I have a tmux window used for background scripts. -# I'll later bind this to mod+u. -for_window [instance="tmuxdd"] floating enable -for_window [instance="tmuxdd"] resize set 625 450 -for_window [instance="tmuxdd"] move scratchpad -for_window [instance="tmuxdd"] border pixel 3 -for_window [instance="tmuxdd"] sticky enable -for_window [instance="tmuxdd"] scratchpad show -for_window [instance="tmuxdd"] move position center - -# Then I have a window running R I use for basic arithmetic -# I'll later bind this to mod+a. -for_window [instance="dropdowncalc"] floating enable -for_window [instance="dropdowncalc"] resize set 800 300 -for_window [instance="dropdowncalc"] move scratchpad -for_window [instance="dropdowncalc"] border pixel 2 -for_window [instance="dropdowncalc"] sticky enable -for_window [instance="dropdowncalc"] scratchpad show -for_window [instance="dropdowncalc"] move position center +# General dropdown window traits. The order can matter. +for_window [instance="dropdown_*"] floating enable +for_window [instance="dropdown_*"] move scratchpad +for_window [instance="dropdown_*"] sticky enable +for_window [instance="dropdown_*"] scratchpad show +for_window [instance="dropdown_tmuxdd"] resize set 625 450 +for_window [instance="dropdown_dropdowncalc"] resize set 800 300 +for_window [instance="dropdown_tmuxdd"] border pixel 3 +for_window [instance="dropdown_dropdowncalc"] border pixel 2 +for_window [instance="dropdown_*"] move position center # #---Starting External Scripts---# # # Setting the background: @@ -137,8 +128,8 @@ bindsym $mod+Insert exec --no-startup-id showclip bindsym $mod+Pause exec --no-startup-id xcqr # #---Letter Key Bindings---# # -bindsym $mod+q [con_id="__focused__" instance="^(?!dropdowncalc|tmuxdd).*$"] kill -bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdowncalc|tmuxdd).*$"] kill +bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill +bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill bindsym $mod+w exec $term -e nmtui bindsym $mod+Shift+w exec --no-startup-id $BROWSER |
