Fix screenshot issue

This commit is contained in:
2021-11-07 22:16:49 +03:00
parent 349c010578
commit 1929f26c42

View File

@@ -16,6 +16,9 @@ set $term alacritty
# Your preferred application launcher
set $menu rofi -show drun
# Screenshot utility
set $shot "$HOME/dotfiles/bin/grimshot"
# Workspaces
set $ws1 "1"
set $ws2 "2"
@@ -114,8 +117,8 @@ bindsym XF86AudioPrev exec playerctl previous
bindsym F8 exec pavucontrol
# Make screenshots
bindsym $mod+Home exec $HOME/dotfiles/bin/wlshot copy
bindsym $mod+Shift+Home exec $HOME/dotfiles/bin/wlshot save
bindsym $mod+Home exec --no-startup-id $shot --notify copy area
bindsym $mod+Shift+Home exec --no-startup-id $shot --notify save area "$HOME/Pictures/Screenshots/Screenshot_$(date +%s%3N).png"
# Start a terminal
bindsym $mod+Return exec $term