(i3) moved screenshot function to bash script

This commit is contained in:
2026-06-26 10:03:07 +02:00
parent 1fdbf50a02
commit 85c0cd8691
2 changed files with 28 additions and 2 deletions
+2 -2
View File
@@ -168,8 +168,8 @@ bindsym $mod+o move workspace to output up
bindsym $mod+p move workspace to output right
# take screenshots
bindsym $mod+s exec --no-startup-id maim -suo | xclip -selection clipboard -t image/png
bindsym $mod+Shift+s exec --no-startup-id maim -suo "${HOME}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png"
bindsym $mod+s exec --no-startup-id bash x11-screenshot.sh --clipboard
bindsym $mod+Shift+s exec --no-startup-id bash x11-screenshot.sh
# use pactl for media keys
set $refresh_i3status killall -SIGUSR1 i3status