Giter Site home page Giter Site logo

rwall's Introduction

rwall

rwall is a configurable random wallpaper chooser meant for use in standalone window managers.

Configuration

rwall checks XDG_CONFIG_HOME and ~/.config for the rwall.yml or rwall.yaml file.

Specify files by path in the files block.

files:
  - wp1.jpg                      # wp1.jpg must be in the same directory as the executable
  - /home/mason/Pictures/wp2.jpg # It is recomendded to use full paths

Specify entire directories in the directories block.

directories:
  - /home/mason/Pictures/wallpapers
  - /home/mason/Downloads

Define which commands should be executed when the program runs in the command block. {wall} will be replaced by the selected wallpaper path.

commands:
  - 'hyprctl hyprpaper wallpaper "DP-1,{wall}"'
  - 'hyprctl hyprpaper wallpaper "HDMI-A-1,{wall}"'

By default, the latter two commands will have different values for wall, so the each monitor will get its own randomly selected wallpaper. If you would like to run multiple commands with the same wall value, put the commands in a list. For example:

commands:
  - 'hyprctl hyprpaper unload all'
  - ['hyprctl hyprpaper preload {wall}', 'hyprctl hyprpaper wallpaper "DP-1,{wall}"']
  - ['hyprctl hyprpaper preload {wall}', 'hyprctl hyprpaper wallpaper "HDMI-A-1,{wall}"']

With this example, each monitor still gets its own wallpaper, but wallpapers don't have to be preloaded in the hyprpaper config file and, instead, can be loaded and unloaded on the fly.


rwall is built with wallpapers in mind, but can be used for other things such as a random fetch utility. For example:

files:
 - pfetch
 - neofetch

commands:
 - '{wall}'

Now, whenever rwall is run, either pfetch or neofetch will be executed.

rwall's People

Contributors

masonesl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.