u
This commit is contained in:
10
dots/bin/screenshot.sh
Executable file
10
dots/bin/screenshot.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# klevstul :: 26.02
|
||||
|
||||
method=$1
|
||||
|
||||
ranwrd=$(shuf -n 1 /usr/share/dict/cracklib-small) # get a random word
|
||||
ranwrd="${ranwrd//[^[:alpha:]]/}" # remove all non-letters (like the ' in "sharecropper's")
|
||||
|
||||
echo ${ranwrd}
|
||||
@@ -23,7 +23,8 @@ listener { # KEYBOARD BACKL
|
||||
|
||||
listener { # LOCK
|
||||
timeout = 1800 # 30 (x60)
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
#on-timeout = loginctl lock-session # not working - why
|
||||
on-timeout = pidof hyprlock || hyprlock # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener { # SCREEN OFF
|
||||
|
||||
@@ -273,8 +273,8 @@ $hyprcapFilename = YYYYMMDDhhmmss_k.<extension>
|
||||
$hyprcapOutDir = /home/poq/syncDir/0_downloads/
|
||||
bind = $mainMod SHIFT, PRINT, exec, hyprcap shot -z -c -n -w -o $hyprcapOutDir -f $hyprcapFilename # monitor
|
||||
bind = $mainMod, PRINT, exec, hyprcap shot window:active -z -c -n -w -o $hyprcapOutDir -f $hyprcapFilename # window
|
||||
#bind = , PRINT, exec, hyprcap shot region --freeze --copy --notify --write --output-dir $hyprcapOutDir --filename $hyprcapFilename # region
|
||||
bind = , PRINT, exec, hyprcap shot region --freeze --copy --notify # region
|
||||
bind = , PRINT, exec, hyprcap shot region --freeze --copy --notify --write --output-dir $hyprcapOutDir --filename $hyprcapFilename # region
|
||||
#bind = , PRINT, exec, hyprcap shot region --freeze --copy --notify # region
|
||||
#bind = $MOD SHIFT, R, exec, hyprcap rec region -c -n # Toggle recording a region
|
||||
#bind = $MOD SHIFT ALT, R, exec, hyprcap rec window:active -c -n # Toggle recording current window
|
||||
#bind = $MOD SHIFT CTRL, R, exec, hyprcap rec -c -n # Toggle recording with interactive selection
|
||||
|
||||
Reference in New Issue
Block a user