mirror of
https://codeberg.org/hyperreal/bin
synced 2025-01-18 08:13:44 +01:00
Move rofimaim
This commit is contained in:
parent
d5503689a1
commit
43486196ad
@ -7,9 +7,9 @@
|
||||
# This is lifted from https://gitlab.com/vahnrr/rofi-menus and modified by
|
||||
# hyperreal <hyperreal64@pm.me> on 2023-09-06T15:09:58-05:00
|
||||
|
||||
save_location="${HOME}/screenshots"
|
||||
if ! test -d "${HOME}/screenshots"; then
|
||||
mkdir "${HOME}/screenshots"
|
||||
save_location="${HOME}/sync/pictures/screenshots"
|
||||
if ! test -d "${HOME}/sync/pictures/screenshots"; then
|
||||
mkdir "${HOME}/sync/pictures/screenshots"
|
||||
fi
|
||||
screenshot_path="$save_location/$(date +'%Y-%m-%d-%H%M%S').png"
|
||||
|
||||
@ -17,8 +17,8 @@ screen=' Screen'
|
||||
area=' Select area'
|
||||
window=' Window'
|
||||
|
||||
chosen=$(printf '%s;%s;%s' "$screen" "$area" "$window" \
|
||||
| rofi -theme-str 'window { width: 10em; height: 10em; }' \
|
||||
chosen=$(printf '%s;%s;%s' "$screen" "$area" "$window" |
|
||||
rofi -theme-str 'window { width: 10em; height: 10em; }' \
|
||||
-P 'Screenshot' \
|
||||
-dmenu \
|
||||
-sep ';' \
|
Loading…
Reference in New Issue
Block a user