swayimg as default image viewer
This commit is contained in:
BIN
home_dotfiles/wallpapers/lucas-gallone-2dClJIAR404-unsplash.jpg
Normal file
BIN
home_dotfiles/wallpapers/lucas-gallone-2dClJIAR404-unsplash.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.6 MiB |
@@ -81,10 +81,18 @@ echo "Setting thunar as default file manager..."
|
||||
xdg-mime default thunar.desktop inode/directory application/x-gnome-saved-search
|
||||
echo "✓ thunar set as default file manager"
|
||||
|
||||
# === SET SWAYIMG AS DEFAULT IMAGE VIEWER ===
|
||||
echo ""
|
||||
echo "Setting swayimg as default image viewer..."
|
||||
xdg-mime default swayimg.desktop image/jpeg image/jpg image/png image/gif image/webp image/bmp image/tiff image/svg+xml
|
||||
echo "✓ swayimg set as default image viewer"
|
||||
|
||||
# === SET WALLPAPER ===
|
||||
echo ""
|
||||
echo "Setting wallpaper..."
|
||||
WALLPAPER_PATH="$SCRIPT_DIR/home_dotfiles/wallpapers/chris-czermak-PamFFHL6fVY-unsplash.jpg"
|
||||
#WALLPAPER_NAME="chris-czermak-PamFFHL6fVY-unsplash.jpg"
|
||||
WALLPAPER_NAME="lucas-gallone-2dClJIAR404-unsplash.jpg"
|
||||
WALLPAPER_PATH="$SCRIPT_DIR/home_dotfiles/wallpapers/$WALLPAPER_NAME"
|
||||
cp $WALLPAPER_PATH ~/.config/sway/wallpaper.jpg
|
||||
echo "✓ Wallpaper installed to ~/.config/sway/wallpaper.jpg"
|
||||
|
||||
@@ -105,6 +113,7 @@ echo "- ~/.config/swayimg/swayimgrc (image viewer config)"
|
||||
echo "- ~/.config/sway/i3status-rust.toml (status bar config)"
|
||||
echo "- ~/.config/sway/weather-sway.sh (weather script)"
|
||||
echo "- thunar set as default file manager"
|
||||
echo "- swayimg set as default image viewer"
|
||||
if [ -f ~/.config/sway/volume-notify-sway.sh ]; then
|
||||
echo "- ~/.config/sway/volume-notify-sway.sh (volume notifications)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user