change the wallpaper choose app preview style #338
-
I find @midn8hustlr awesome work with #337,and then I find the better image preview with nsxid. So I want this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Yes you are absolutely right. You just need to replace the following line in switchwall.sh imgpath=$(yad --width 1200 --height 800 --file --title='Choose wallpaper') with imgpath=$(nsxiv -r ~/walls -t --alpha-layer -o -b) Replace the ~/walls directory with the directory where your put you wallpapers in. sudo pacman -Syu nsxiv The background of nsxiv is white by default. To change it to dark (or pitch black like me), create a file ~/.Xresources and put the following lines in it.
Execute on startup or put the following in hypr/hyprland/execs.conf. xrdb ~/.Xresources |
Beta Was this translation helpful? Give feedback.
-
@end-4 In fact, what do you think about using an image viewer instead of a file picker for wallpapers? |
Beta Was this translation helpful? Give feedback.
Yes you are absolutely right. You just need to replace the following line in switchwall.sh
imgpath=$(yad --width 1200 --height 800 --file --title='Choose wallpaper')
with
imgpath=$(nsxiv -r ~/walls -t --alpha-layer -o -b)
Replace the ~/walls directory with the directory where your put you wallpapers in.
On hitting the switchwall keybind, just select the wallpaper and apply using Shift+Q.
Make sure you have nsxiv installed.
The background of nsxiv is white by default. To change it to dark (or pitch black like me), create a file ~/.Xresources and put the following lines in it.
Execute on s…