From 64960e4b33b52c9ede877c3bb3121cb084b6a84c Mon Sep 17 00:00:00 2001 From: committer Date: Sun, 19 May 2024 15:42:58 -0500 Subject: [PATCH] + xautolock --- dots/archinstall/t470p/packages.txt | 28 +++++++++++++--------------- dots/i3wm/config | 26 +++++++++++++++++--------- 2 files changed, 30 insertions(+), 24 deletions(-) diff --git a/dots/archinstall/t470p/packages.txt b/dots/archinstall/t470p/packages.txt index c57af04..39f32d2 100644 --- a/dots/archinstall/t470p/packages.txt +++ b/dots/archinstall/t470p/packages.txt @@ -38,19 +38,24 @@ xss-lock # used to lock i3 with i3lock # misc # --- +aur:candy-icons-git # icons theme aur:gitkraken # git client +aur:i3exit # exit script for i3 aur:jump # directory jumper aur:onlyoffice # ms office replacement aur:pcloud-drive # cloud drive aur:protonvpn # vpn +aur:qogir-icon-theme # mouse cursor theme aur:srm # secure delete aur:stremio # media aur:sublime-text-4 # text editor +aur:sweet-folders-icons-git # folder theme (using/including the candy icons theme) aur:vscodium # ide - vs code w/o telemetry arandr # gui for xrandr bluez # bluetooth deamons bluez-utils # bluetoothctl++ +dunst # notification deamon feh # image viewer firefox # browser gimp # img editor @@ -61,17 +66,24 @@ inetutils # network programs (telnet++) kitty # terminal less # text viewer lf # file manager +loupe # gnome image viewer +lxappearance # gtk+ theme switcher mousepad # text editor mpv # media player neofetch # display system info cli +network-manager-applet # nm-applet nextcloud-client # nextcloud sync client +nitrogen # wallpaper setter for x noto-fonts-cjk # asian characters fonts p7zip # file archiver +pasystray # pulse audio system tray pavucontrol # pulseaudio volume control pcmanfm # file manager pdfarranger # pdf editor +plocate # faster mlocate alternative reaper # daw rsync # file copying tool +scrot # screenshot cli utility seahorse # gui for viewing keyring entries / managing pgp keys shotcut # video editor signal-desktop # signal messenger @@ -81,22 +93,8 @@ trash-cli # trashcan cli commands unrar # rar uncompression unzip # extract and view .zip archives xarchiver # gui for misc cli archivers - -network-manager-applet # nm-applet xclip # cli interface to x11 clipboard -scrot # screenshot cli utility -plocate # faster mlocate alternative -loupe # gnome image viewer -pasystray # pulse audio system tray -nitrogen # wallpaper setter for x -lxappearance # gtk+ theme switcher - -aur:candy-icons-git # icons theme -aur:sweet-folders-icons-git # folder theme (using/including the candy icons theme) -aur:qogir-icon-theme # mouse cursor theme -aur:i3exit # exit script for i3 - -dunst # notification deamon +xautolock # screen locker for x # brave-bin" # brave browser # brother-hll2310d" # printer (main) diff --git a/dots/i3wm/config b/dots/i3wm/config index c89ab18..5f9a4ea 100644 --- a/dots/i3wm/config +++ b/dots/i3wm/config @@ -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 +# 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 \ No newline at end of file