diff --git a/system/.local/bin/games b/system/.local/bin/games index dc786ab..9647222 100755 --- a/system/.local/bin/games +++ b/system/.local/bin/games @@ -23,7 +23,7 @@ ACTIONS=( "4: Pegasus" ) -SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -p "${PROMPT}" | cut -d ":" -f1) +SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -i -p "${PROMPT}" | cut -d ":" -f1) case "${SELECTION}" in "1") steam diff --git a/system/.local/bin/power b/system/.local/bin/power index 825a2e8..755bcd9 100755 --- a/system/.local/bin/power +++ b/system/.local/bin/power @@ -25,7 +25,7 @@ ACTIONS=( "6: Powersave Mode" ) -SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -p "${PROMPT}" | cut -d ":" -f1) +SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -i -p "${PROMPT}" | cut -d ":" -f1) case "${SELECTION}" in "1") systemctl reboot diff --git a/system/.local/bin/screenshot b/system/.local/bin/screenshot index 9622554..ffa341e 100755 --- a/system/.local/bin/screenshot +++ b/system/.local/bin/screenshot @@ -23,7 +23,7 @@ ACTIONS=( FILENAME="${HOME}/pictures/Screenshots/%Y-%m-%d-%H%M%S.png" -SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -p "${PROMPT}" | cut -d ":" -f1) +SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -i -p "${PROMPT}" | cut -d ":" -f1) case "${SELECTION}" in "1") FILE=$(escrotum "${FILENAME}") @@ -33,5 +33,6 @@ case "${SELECTION}" in ;; esac +# Save the screenshot also in the clipboard TYPE=$(file -b --mime-type "${FILE}") xclip -selection clipboard -t "${TYPE}" < "${FILE}" \ No newline at end of file