No description
  • Shell 99.9%
  • Makefile 0.1%
Find a file
2026-04-13 12:50:09 +02:00
bin added WM_BAR configuration for the config file 2026-04-13 12:50:09 +02:00
install.sh made the install script more generally usable 2026-02-25 12:14:47 +01:00
makefile wip 2026-01-17 15:19:05 +01:00
README.md wip 2026-04-02 10:44:59 +02:00

wm-scripts

by pika

What is it?

This is essentially just a script library, which adds some quality of life things for your wayland display manager (could also work with X11 but I do not test X11 stuff!)

key-highlights

  • wm-term: This script detects some of the terminal emulators to use (like: ghostty, kitty, foot, alacritty..) and on execution, just starts a new terminal instance. When executed with a command like: wm-term ssh john@some-server - it would spawn a new terminal instance with the command provided directly. Also you can force a supported terminal with setting WM_TERMINAL before executing. Like: WM_TERMINAL=alacritty wm-term youtube-tui. Keep in mind, currently we have a limited count of supported terminals. More to come..

  • wm-volume: This script is really cool. It detects the audio provider, and lets you easily control volume with simple commands like:

    • wm-volume down --> lowers the volume
    • wm-volume up --> uppers the volume
    • wm-volume mute --> toggles mute for current device
  • wm-wallpaper: This one is also pretty cool
    It lets you either select a wallpaper file direclty to set with wm-wallpaper select, or you can just set one randomly with wm-wallpaper random. It uses swww, awww or wbg.

    Note

    Most of the commands can also be used in conjunktion like:

    wm-term wm-wallpaper select -> to start a new terminal with the selection for the wallpaper directly getting passed

  • wm-logout: This script uses wlogout and a screenshot (grim + ffmpeg) of the monitors to blur when showing the logout menu.

  • wm-screenshot: This script only works on Hyprland and Niri instances. On niri, the default screenshot tool is used. When using hyprland, we have fallbacks for hyprshot and grim

find more..

You can still find more in this repo which might help you along the way. You can always make a pull request if you want to have some generalized functionality around your wayland/X11 windowmanager experience.