diff --git a/home/user/.config/i3/config b/home/user/.config/i3/config index d834506..1924eb8 100644 --- a/home/user/.config/i3/config +++ b/home/user/.config/i3/config @@ -217,15 +217,15 @@ bar { status_command exec ~/.local/bin/i3status_wrapper } -# Screenshots -bindsym Print exec --no-startup-id maim "$HOME/Pictures/Screenshots/$(date +'%d-%m-%Y-%T').png" -bindsym $mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) "$HOME/Pictures/Screenshots/$(date +'%d-%m-%Y-%T').png" -bindsym Shift+Print exec --no-startup-id maim --select "$HOME/Pictures/Screenshots/$(date +'%d-%m-%Y-%T').png" - ## Clipboard Screenshots -bindsym Ctrl+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png -bindsym Ctrl+$mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) | xclip -selection clipboard -t image/png -bindsym Ctrl+Shift+Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png +bindsym Print exec --no-startup-id maim | xclip -selection clipboard -t image/png +bindsym $mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) | xclip -selection clipboard -t image/png +bindsym Ctrl+Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png + +# Screenshots +bindsym Shift+Print exec --no-startup-id maim "$SCREENSHOTS_DIR/$(date +'%d-%m-%Y-%T').png" +bindsym Shift+$mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) "$SCREENSHOTS_DIR/$(date +'%d-%m-%Y-%T').png" +bindsym Shift+Ctrl+Print exec --no-startup-id maim --select "$SCREENSHOTS_DIR/$(date +'%d-%m-%Y-%T').png" # default workspaces for monitors in setup diff --git a/home/user/.zshenv b/home/user/.zshenv index fe5756f..76b6ac3 100644 --- a/home/user/.zshenv +++ b/home/user/.zshenv @@ -56,14 +56,16 @@ export GOPATH="${HOME}/.cache/go" export GOBIN="${HOME}/.local/bin" -export XDG_DESKTOP_DIR="${HOME}/desktop" -export XDG_DOCUMENTS_DIR="${HOME}/documents" +export XDG_DESKTOP_DIR="${HOME}/Desktop" +export XDG_DOCUMENTS_DIR="${HOME}/Documents" export XDG_DOWNLOAD_DIR="${HOME}/Downloads" -export XDG_MUSIC_DIR="${HOME}/music" -export XDG_PICTURES_DIR="${HOME}/pictures" -export XDG_PUBLICSHARE_DIR="${HOME}/public" -export XDG_TEMPLATES_DIR="${HOME}/templates" -export XDG_VIDEOS_DIR="${HOME}/videos" +export XDG_MUSIC_DIR="${HOME}/Music" +export XDG_PICTURES_DIR="${HOME}/Pictures" +export XDG_PUBLICSHARE_DIR="${HOME}/Public" +export XDG_TEMPLATES_DIR="${HOME}/Templates" +export XDG_VIDEOS_DIR="${HOME}/Videos" + +export SCREENSHOTS_DIR="${XDG_PICTURES_DIR}/screenshots" _sod() {