Added PrintScreens shortcuts

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-11-17 23:06:48 +01:00
parent e1111ec42f
commit a4ca80eb20
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -67,3 +67,9 @@ XF86MonBrightnessDown
XF86MonBrightnessUp
echo (math (cat /sys/class/backlight/amdgpu_bl0/brightness) + 5) > /sys/class/backlight/amdgpu_bl0/brightness
Print
set FILE_NAME "/home/louis/Pictures/Screenshots/Screeshot-"(date +'%d-%m-%Y-%H-%M-%S')".png" && import -window root ${FILE_NAME} && dunstify "Screenshot taken: ${FILE_NAME}"
ctrl + Print
set FILE_NAME "/home/louis/Pictures/Screenshots/Screeshot-"(date +'%d-%m-%Y-%H-%M-%S')".png" && import ${FILE_NAME} && dunstify "Screenshot taken: ${FILE_NAME}"