Modified i3 config to run emacs with MOD+Shift+e
This commit is contained in:
parent
ab2794dd67
commit
3058833332
@ -20,6 +20,7 @@ floating_modifier $mod
|
|||||||
bindsym $mod+Return exec i3-sensible-terminal
|
bindsym $mod+Return exec i3-sensible-terminal
|
||||||
bindsym $mod+Shift+f exec microsoft-edge-dev
|
bindsym $mod+Shift+f exec microsoft-edge-dev
|
||||||
bindsym $mod+Shift+d exec discord
|
bindsym $mod+Shift+d exec discord
|
||||||
|
bindsym $mod+Shift+e exec "emacsclient -c"
|
||||||
bindsym Print exec "flameshot gui"
|
bindsym Print exec "flameshot gui"
|
||||||
|
|
||||||
# kill focused window
|
# 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)
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
bindsym $mod+Shift+r restart
|
bindsym $mod+Shift+r restart
|
||||||
# exit i3 (logs you out of your X session)
|
# 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)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
@ -131,18 +132,18 @@ mode "resize" {
|
|||||||
# Pressing right will grow the window’s width.
|
# Pressing right will grow the window’s width.
|
||||||
# Pressing up will shrink the window’s height.
|
# Pressing up will shrink the window’s height.
|
||||||
# Pressing down will grow the window’s height.
|
# Pressing down will grow the window’s height.
|
||||||
|
|
||||||
bindsym h resize grow width 10 px or 10 ppt
|
bindsym h resize grow width 10 px or 10 ppt
|
||||||
bindsym j resize grow height 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 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
|
# same bindings, but for the arrow keys
|
||||||
|
|
||||||
bindsym Left resize grow width 10 px or 10 ppt
|
bindsym Left resize grow width 10 px or 10 ppt
|
||||||
bindsym Down resize grow height 10 px or 10 ppt
|
bindsym Down resize grow height 10 px or 10 ppt
|
||||||
bindsym Up resize shrink height 10 px or 10 ppt
|
bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
bindsym Right resize shrink width 10 px or 10 ppt
|
bindsym Right resize shrink width 10 px or 10 ppt
|
||||||
|
|
||||||
# back to normal: Enter or Escape or $mod+r
|
# back to normal: Enter or Escape or $mod+r
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user