From 8c7689c59556275ea254dbe8b32b0d7d3aa03c23 Mon Sep 17 00:00:00 2001 From: committer Date: Mon, 13 May 2024 12:55:10 -0500 Subject: [PATCH] u --- dots/i3wm/config | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/dots/i3wm/config b/dots/i3wm/config index 8315d52..0060e30 100644 --- a/dots/i3wm/config +++ b/dots/i3wm/config @@ -185,8 +185,18 @@ bar { ### START OF OWN ADDITIONS SECTION ### #################################################### -exec --no-startup-id nextcloud # run startup script -bindsym $mod+F3 exec pcmanfm # start file manager -workspace_auto_back_and_forth yes # nifty to press the same workspace number and go back to previous +# 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) + +# 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 + +# shortcuts +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