+ xautolock
This commit is contained in:
@@ -28,7 +28,8 @@ exec --no-startup-id dex --autostart --environment i3
|
||||
|
||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
# <FK> commented out
|
||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
|
||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||
@@ -191,30 +192,33 @@ bar {
|
||||
|
||||
|
||||
# print screen
|
||||
bindsym --release Print exec --no-startup-id scrot -s -f -e 'xclip $f -selection clipboard -t image/png' '/home/poq/syncDir/0_downloads/%Y%m%d%H%M%S_$wx$h.png' # print: select region
|
||||
bindsym --release Shift+Print exec --no-startup-id scrot -u -e 'xclip $f -selection clipboard -t image/png' '/home/poq/syncDir/0_downloads/%Y%m%d%H%M%S_$wx$h.png' # shift+print: window
|
||||
bindsym Ctrl+Print exec --no-startup-id scrot -d 3 -e 'xclip $f -selection clipboard -t image/png' '/home/poq/syncDir/0_downloads/%Y%m%d%H%M%S_$wx$h.png' # ctrl+print: delayed screenshot (for context menu)
|
||||
# print: select region
|
||||
# shift+print: window
|
||||
# ctrl+print: delayed screenshot (for context menu)
|
||||
bindsym --release Print exec --no-startup-id scrot -s -f -e 'xclip $f -selection clipboard -t image/png' '/home/poq/syncDir/0_downloads/%Y%m%d%H%M%S_$wx$h.png'
|
||||
bindsym --release Shift+Print exec --no-startup-id scrot -u -e 'xclip $f -selection clipboard -t image/png' '/home/poq/syncDir/0_downloads/%Y%m%d%H%M%S_$wx$h.png'
|
||||
bindsym Ctrl+Print exec --no-startup-id scrot -d 3 -e 'xclip $f -selection clipboard -t image/png' '/home/poq/syncDir/0_downloads/%Y%m%d%H%M%S_$wx$h.png'
|
||||
|
||||
# run programs
|
||||
exec --no-startup-id nextcloud
|
||||
exec_always --no-startup-id setxkbmap -model pc105 -layout us,no -option grp:caps_toggle,grp_led:scroll # keyboard layout switch
|
||||
exec_always --no-startup-id setxkbmap -model pc105 -layout us,no -option grp:caps_toggle,grp_led:scroll; # keyboard layout switch
|
||||
exec --no-startup-id pasystray
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||
|
||||
# shortcuts
|
||||
bindsym $mod+F3 exec pcmanfm # start file manager
|
||||
bindsym $mod+F3 exec pcmanfm; # start file manager
|
||||
|
||||
# misc
|
||||
workspace_auto_back_and_forth yes # nifty to press the same workspace number and go back to previous
|
||||
workspace_auto_back_and_forth yes; # nifty to press the same workspace number and go back to previous
|
||||
|
||||
# jump to specific application
|
||||
# c - Coding ide (vscodium)
|
||||
# g - Gimp
|
||||
# i - Internet (firefox)
|
||||
# j - Jabber (signal)
|
||||
# k - (git)Kraken
|
||||
# k - gitKraken
|
||||
# n - Notepad (sublime)
|
||||
# y - whY reaper
|
||||
# y - whY not (reaper)
|
||||
bindsym $mod+c [class="VSCodium"] focus
|
||||
bindsym $mod+g [class="Gimp"] focus
|
||||
bindsym $mod+i [class="firefox"] focus
|
||||
@@ -267,3 +271,7 @@ bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
|
||||
exec_always --no-startup-id xset dpms 0 0 1800; # screen off after 30 min (1800 sec)
|
||||
|
||||
exec --no-startup-id xautolock -time 60 -locker i3lock
|
||||
|
||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
Reference in New Issue
Block a user