Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gerblesh committed Dec 31, 2024
1 parent bb3f77a commit a658efb
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion files/usr/bin/fzf-preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [[ $KITTY_WINDOW_ID ]]; then

# 2. Use chafa with Sixel output
elif command -v chafa > /dev/null; then
chafa -f sixel -s "$dim" "$file"
chafa --clear -f kitty -s "$dim" "$file"
# Add a new line character so that fzf can display multiple images in the preview window
echo

Expand Down
2 changes: 1 addition & 1 deletion files/usr/bin/logout-menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ playerctl -a pause

options=" Screen Lock\n󰍃 Logout\n󰤄 Sleep\n⏻ Shutdown\n Restart\n BIOS"

choice=$(printf "$options" | rofi -dmenu -format 'i' -p " Goodbye! ")
choice=$(printf "$options" | rofi -dmenu -i -format 'i' -p " Goodbye! ")

echo $choice

Expand Down
1 change: 0 additions & 1 deletion files/usr/bin/screenshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ FILE="$(grimshot save $1)"

if [[ -f "$FILE" ]]; then
cat $FILE | wl-copy
notify-send "Screenshot" "Screenshot taken, copied to clipboard and saved in Pictures folder" --icon "$FILE" --app-name "screenshot.sh"
fi
5 changes: 3 additions & 2 deletions files/usr/bin/wallpaper-menu.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env fish

#wezterm start --class "floatterm" --cwd ~/Pictures/Wallpapers/Mocha/ fish -ic 'wallpaper (pwd)/(fzf)'
foot -w 1000x1000 --app-id "floatterm" -D ~/Pictures/Wallpapers/Mocha/ fish -ic 'wallpaper (pwd)/(fzf)'
# wezterm start --always-new-process --class "floatterm" --cwd ~/Pictures/Wallpapers/Mocha/ fish -ic 'wallpaper (pwd)/(fzf)'

ghostty --title="floatterm" --working-directory="~/Pictures/Wallpapers/Mocha" -e "/bin/fish '-ic cd ~/Pictures/Wallpapers/Mocha && yazi --chooser-file $HOME/.config/wallpaper'"

wallpaper init
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit a658efb

Please sign in to comment.