Modified i3 config to run emacs with MOD+Shift+e

This commit is contained in:
Random936 2023-09-17 20:54:12 -07:00
parent ab2794dd67
commit 3058833332

View File

@ -20,6 +20,7 @@ floating_modifier $mod
bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+f exec microsoft-edge-dev
bindsym $mod+Shift+d exec discord
bindsym $mod+Shift+e exec "emacsclient -c"
bindsym Print exec "flameshot gui"
# kill focused window
@ -121,7 +122,7 @@ bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
@ -135,7 +136,7 @@ mode "resize" {
bindsym h resize grow width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize shrink width 10 px or 10 ppt
bindsym l resize shrink width 10 px or 10 ppt
# same bindings, but for the arrow keys