Change i3 System keys, Fix up config organization

This commit is contained in:
Marty Oehme 2019-02-24 09:12:47 +01:00
parent c628081f35
commit 50c1b6cacb

View file

@ -132,12 +132,6 @@ bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10 bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+y 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'"
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {
@ -178,4 +172,14 @@ bar {
status_command i3status status_command i3status
} }
bindsym $mod+Ctrl+l exec i3lock # I3 System commands: restart, reload, shutdown, lock
# reload the configuration file
bindsym $mod+Shift+y 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+s exec --no-startup-id `[ $(printf "NO\nYES" | dmenu \
-nb "#222222" -sb "#aa0088" -sf "#ffffff" -fn Monospace-11 \
-nf "#7777bb" -i -p "Exit i3 X session?") = "YES" ] && i3-msg exit`
# lock i3 screen
bindsym $mod+Shift+p exec i3lock