
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
github.com/termhn/bgcarousel
bgcarousel
is intended to be an easy-to-use, drop-in replacement for feh
to be used for background switching. It will
search for images in a directory (by default ~/Pictures/Wallpapers/
) and automatically swap your background after a set
amount of time, defaulting to 10 seconds.
First, install Go and configure your environment. For example:
$ sudo dnf install go
In bashrc or equivalent config file for other shells:
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
It also depends on feh to do the actual work behind the scenes, so install that as well.
$ sudo dnf install feh
With go installed, do
$ go get -u github.com/termhn/bgcarousel
And finally in your i3 config, add:
exec_always --no-startup-id killall bgcarousel; bgcarousel
Use bgcarousel -h
to print the help information, also for reference here:
$ bgcarousel -h
NAME:
bgcarousel - automatically rotate background image on a timer
VERSION:
1.0.0
AUTHOR:
Gray Olson <gray@grayolson.com>
USAGE:
bgcarousel [global options]
GLOBAL OPTIONS:
-t value, --timeout value Specify timeout between image rotation in seconds (default: 10)
-d value, --directory value Specify directory to search for images (default: "/home/amelie/Pictures/Wallpapers")
--random selects a random image from the source directory instead of being cyclic
--help, -h show help
--version, -v print the version
For example, to make it choose a random image in ~/Pictures/Wallpapers/selects/
every 30 seconds, you could do
bgcarousel --random -t 30 -d ~/Pictures/Wallpapers/selects
Handle errors that occur when removing images from source directory while running and support adding new images to source directory while running
I want to work on a way to have a small fade transition between each image, but I'm not sure it will be possible without a rewrite using a different underlying program to set the background.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.