dotfiles/.scripts/ss.sh
ziro 7ee29cbad5 + Xresources rework
- Removed tiling layout icon (re-adding later)
+ Qtile autostart, and keys rework
+ Firefox to $BROWSER (Set in .config/zsh/.zshenv)
- Uninstalled XFCE4 (Uninstalling GNOME later)
+ Edited Xprofile
+ Added more Environment Variable and Aliases
? Screenshot delayed 1sec for compton/picom's fading
2020-05-16 14:33:19 +07:00

21 lines
645 B
Bash
Executable file

#!/bin/dash
cancel=""
quickSS=""
timer=""
select=""
choices="$cancel
$quickSS
$timer
$select"
message="What type of screenshot?"
chosen=$(echo -en "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/Android/four.rasi)
case "$chosen" in
$quickSS) scrot '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -d 1 -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
$timer) scrot '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -d 5 -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
$select) scrot -s '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
esac