Use j4-make-config to rebuild config file, use the existing xautolock process to lock the screen instead of defining our own

This commit is contained in:
David Thurstenson 2017-01-20 11:46:33 -06:00
parent 341251eeb6
commit 2c6fb7f4d7
1 changed files with 4 additions and 3 deletions

View File

@ -88,8 +88,8 @@ bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10 bindsym $mod+Shift+0 move container to workspace 10
# reload the configuration file # rebuild and reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c exec "j4-make-config -r -a $HOSTNAME.config archlinux"
# 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)
@ -126,7 +126,8 @@ bindsym $mod+Shift+b border toggle
bindsym $mod+m move workspace to output left bindsym $mod+m move workspace to output left
# Ctrl+Alt+L to lock the screen # Ctrl+Alt+L to lock the screen
bindsym Mod1+Control+l exec i3lock -b -d -c 000000 -e -f # Locker is set in ~/.xinitrc
bindsym Mod1+Control+l exec "xautolock -locknow"
# Start all windows with no border. Still able to toggle through them with $mod+Shift+B # Start all windows with no border. Still able to toggle through them with $mod+Shift+B
new_window none new_window none