dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 76ac7498f50b2dba53c5f6527ab761d6a2d9a0d6
parent 253879ac7535895421d5dd1e22cc4bc10273eb02
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 29 May 2020 10:36:38 +0200

Change filename format of screenshots

Diffstat:
M.local/bin/maimpick | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.local/bin/maimpick b/.local/bin/maimpick @@ -1,8 +1,8 @@ #!/bin/sh case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (copy)\\ncurrent window (copy)\\nfullscreen (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in - "a selected area") maim --hidecursor -s ~/tmp/pic-selected-"$(date '+%y%m%d-%H%M-%S').png" ;; - "current window") maim --hidecursor -i "$(xdotool getactivewindow)" ~/tmp/pic-window-"$(date '+%y%m%d-%H%M-%S').png" ;; - "full screen") maim ~/tmp/pic-full-"$(date '+%y%m%d-%H%M-%S').png" ;; + "a selected area") maim --hidecursor -s ~/tmp/pic-selected-"$(date '+%y-%m-%d_%H:%M:%S').png" ;; + "current window") maim --hidecursor -i "$(xdotool getactivewindow)" ~/tmp/pic-window-"$(date '+%y-%m-%d_%H:%M:%S').png" ;; + "full screen") maim ~/tmp/pic-full-"$(date '+%y-%m-%d_%H:%M:%S').png" ;; "a selected area (copy)") maim --hidecursor -s | xclip -selection clipboard -t image/png ;; "current window (copy)") maim --hidecursor -i | xclip -selection clipboard -t image/png ;; "full screen (copy)") maim | xclip -selection clipboard -t image/png ;;