1
0
Fork 0

gxkb + i3_config tweaks to support the lock-screen script

This commit is contained in:
Von Random 2016-10-22 02:43:11 +03:00
parent 2f89d68592
commit 4797500cd8
2 changed files with 11 additions and 1 deletions

9
gxkb.cfg Normal file
View file

@ -0,0 +1,9 @@
[xkb config]
group_policy=2
default_group=0
never_modify_config=false
model=pc105
layouts=us,ru
variants=altgr-intl,typewriter
toggle_option=ctrl:nocaps,grp:win_space_toggle,compose:menu
compose_key_position=

View file

@ -37,6 +37,7 @@ bindsym $mod+Shift+c kill
bindsym $mod+d exec rofi -show run bindsym $mod+d exec rofi -show run
bindsym $mod+i exec rofi -show window bindsym $mod+i exec rofi -show window
bindsym $mod+p exec rofi -show ssh bindsym $mod+p exec rofi -show ssh
bindsym $mod+u exec rofi-pass
# There also is the (new) i3-dmenu-desktop which only displays applications # There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that # shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed. # installed.
@ -128,7 +129,7 @@ bindsym $mod+Control+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'"
# lock screen # lock screen
bindsym $mod+z exec "until i3lock -entc 661111 -i /home/von/.wallpaper.png; do :; done" bindsym $mod+z exec "/home/von/vscripts/lock-screen"
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {