+ xautolock

This commit is contained in:
committer
2024-05-19 15:42:58 -05:00
parent 666c4aea38
commit 64960e4b33
2 changed files with 30 additions and 24 deletions

View File

@@ -38,19 +38,24 @@ xss-lock # used to lock i3 with i3lock
# misc # misc
# --- # ---
aur:candy-icons-git # icons theme
aur:gitkraken # git client aur:gitkraken # git client
aur:i3exit # exit script for i3
aur:jump # directory jumper aur:jump # directory jumper
aur:onlyoffice # ms office replacement aur:onlyoffice # ms office replacement
aur:pcloud-drive # cloud drive aur:pcloud-drive # cloud drive
aur:protonvpn # vpn aur:protonvpn # vpn
aur:qogir-icon-theme # mouse cursor theme
aur:srm # secure delete aur:srm # secure delete
aur:stremio # media aur:stremio # media
aur:sublime-text-4 # text editor 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 aur:vscodium # ide - vs code w/o telemetry
arandr # gui for xrandr arandr # gui for xrandr
bluez # bluetooth deamons bluez # bluetooth deamons
bluez-utils # bluetoothctl++ bluez-utils # bluetoothctl++
dunst # notification deamon
feh # image viewer feh # image viewer
firefox # browser firefox # browser
gimp # img editor gimp # img editor
@@ -61,17 +66,24 @@ inetutils # network programs (telnet++)
kitty # terminal kitty # terminal
less # text viewer less # text viewer
lf # file manager lf # file manager
loupe # gnome image viewer
lxappearance # gtk+ theme switcher
mousepad # text editor mousepad # text editor
mpv # media player mpv # media player
neofetch # display system info cli neofetch # display system info cli
network-manager-applet # nm-applet
nextcloud-client # nextcloud sync client nextcloud-client # nextcloud sync client
nitrogen # wallpaper setter for x
noto-fonts-cjk # asian characters fonts noto-fonts-cjk # asian characters fonts
p7zip # file archiver p7zip # file archiver
pasystray # pulse audio system tray
pavucontrol # pulseaudio volume control pavucontrol # pulseaudio volume control
pcmanfm # file manager pcmanfm # file manager
pdfarranger # pdf editor pdfarranger # pdf editor
plocate # faster mlocate alternative
reaper # daw reaper # daw
rsync # file copying tool rsync # file copying tool
scrot # screenshot cli utility
seahorse # gui for viewing keyring entries / managing pgp keys seahorse # gui for viewing keyring entries / managing pgp keys
shotcut # video editor shotcut # video editor
signal-desktop # signal messenger signal-desktop # signal messenger
@@ -81,22 +93,8 @@ trash-cli # trashcan cli commands
unrar # rar uncompression unrar # rar uncompression
unzip # extract and view .zip archives unzip # extract and view .zip archives
xarchiver # gui for misc cli archivers xarchiver # gui for misc cli archivers
network-manager-applet # nm-applet
xclip # cli interface to x11 clipboard xclip # cli interface to x11 clipboard
scrot # screenshot cli utility xautolock # screen locker for x
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
# brave-bin" # brave browser # brave-bin" # brave browser
# brother-hll2310d" # printer (main) # brother-hll2310d" # printer (main)

View File

@@ -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 # 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. # 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, # 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. # and nm-applet is a desktop environment-independent system tray GUI for it.
@@ -191,30 +192,33 @@ bar {
# print screen # 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 # 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 # 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) # 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 # run programs
exec --no-startup-id nextcloud 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 pasystray
exec --no-startup-id nitrogen --restore; sleep 1; compton -b exec --no-startup-id nitrogen --restore; sleep 1; compton -b
# shortcuts # shortcuts
bindsym $mod+F3 exec pcmanfm # start file manager bindsym $mod+F3 exec pcmanfm; # start file manager
# misc # 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 # jump to specific application
# c - Coding ide (vscodium) # c - Coding ide (vscodium)
# g - Gimp # g - Gimp
# i - Internet (firefox) # i - Internet (firefox)
# j - Jabber (signal) # j - Jabber (signal)
# k - (git)Kraken # k - gitKraken
# n - Notepad (sublime) # n - Notepad (sublime)
# y - whY reaper # y - whY not (reaper)
bindsym $mod+c [class="VSCodium"] focus bindsym $mod+c [class="VSCodium"] focus
bindsym $mod+g [class="Gimp"] focus bindsym $mod+g [class="Gimp"] focus
bindsym $mod+i [class="firefox"] 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 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_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