Setup Wallpaper - creationsoftre/Arch-Linux-wiki GitHub Wiki
Feh - Image viewer and Cataloguer
Overview
feh is a light-weight, configurable and versatile image viewer. It is aimed at command line users, but can also be started from graphical file managers. Apart from viewing images, it can compile text and thumbnail listings, show (un)loadable files, set X11 backgrounds, and more.
NOT SUPPORTED IN GNOME DE
Install Feh
sudo pacman -S feh
Set Wallpaper (2 Options)
- Use a File Manager to open an
image > right click > File > Backgroud > choose background setting option:
- Set Tiled
- Set Scaled
- Set Centered
- Set Filled
- Run the following commands:
--bg-center
Center the file on the background. If it is too small, it will be surrounded by a black border
feh --bg-center <image or image path>
--bg-max
Like --bg-fill, but scale the image to the maximum size that fits the screen with black borders on one side.
feh --bg-max <image or image path>
--bg-fill
Like Scale but, Preserves aspect ratio by zooming the image until it fits. Either a horizontal or a vertical part of the image will be cut off
feh --bg-fill <image or image path>
--bg-scale
Fit the file into the background without repeating it, cutting off stuff or using borders. But the aspect ratio is not preserved either
feh --bg-scale <image or image path>
--bg-tile
Tile (repeat) the image in case it is too small for the screen
feh --bg-tile <image or image path>
--no-fehbg
Do not write a ~/.fehbg file
feh --no-fehbg <image or image path>
Set Wallpaper on startup
Open i3 config
nvim $HOME/.config/i3/config
Add Line
# Set Wallpaper
exec --no-startup-id feh --bg-scale --no-fehbg <path/to/wallpaper>