[i3] Don't catch Ctrl+Alt+T, add 2nd term key

Intercepting Ctrl+Alt+T is annoying when you use a VM.
This commit is contained in:
M1dgard 2019-03-01 17:49:56 +01:00
parent 37ca9c0439
commit 2e6e78e4cb
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -1,10 +1,6 @@
# i3 config file (v4) # i3 config file (v4)
# See http://i3wm.org/docs/userguide.html for a complete reference # See http://i3wm.org/docs/userguide.html for a complete reference
# Used to address resp. refer to the user. Example for males: "bro" and "man", for females: "sis" and "gal". This is freetext, use something you're comfortable with.
set $usertitle bro
set $usertype man
set $term $HOME/.config/i3/terminal.sh set $term $HOME/.config/i3/terminal.sh
set $termexec i3-sensible-terminal set $termexec i3-sensible-terminal
set $barlaunchcmd $HOME/.config/polybar/launch.sh set $barlaunchcmd $HOME/.config/polybar/launch.sh
@ -101,8 +97,7 @@ bindsym Mod1+l exec --no-startup-id i3lock --tiling --show-failed-attempts --col
# start a terminal # start a terminal
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
bindsym $mod+KP_Enter exec $term bindsym $mod+KP_Enter exec $term
bindsym Ctrl+Mod4+t exec --no-startup-id "notify-send -a 'i3' -u normal 'You'\''re on i3, $usertitle.' 'Don'\''t try to Ctrl+Alt+T me. Use $mod+Enter like a real $usertype.'" bindsym $mod+w exec $term
bindsym Ctrl+Mod1+t exec --no-startup-id "notify-send -a 'i3' -u normal 'You'\''re on i3, $usertitle.' 'Don'\''t try to Ctrl+Alt+T me. Use $mod+Enter like a real $usertype.'"
# start a terminal and execute the command `exec-with-shortcut` from your PATH in it # start a terminal and execute the command `exec-with-shortcut` from your PATH in it
bindsym XF86Calculator exec "$termexec -T exec-with-shortcut --dynamic-title-mode=none -x bash -c 'exec-with-shortcut; read'" bindsym XF86Calculator exec "$termexec -T exec-with-shortcut --dynamic-title-mode=none -x bash -c 'exec-with-shortcut; read'"