Skip to content

indicozy/wmtm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WMTM

WM-agnostic Theme Manager

Video

Youtube

About

WM-agnostic Theme Manager made with Bash only. Simply, it copy-pastes configs and manages them. It was preconfigured to work with Sway WM but there are lots of possibilities to use with other WMs, testing now with i3-gaps and bspwm. If you have made advances with these testing WMs, please let me know!

WMTM's Features

  • Simple GUI with zenity
  • Easy and intuitive usage
  • Dynamic and instant change of themes
  • Easy Installation script
  • Customization - Create you own Theme Package
  • Auto-backup your previous config up to 8 histories at "~/Documents/wmtm_configs_saved"

9 Themes are Pre-Configured

  • Windows 98/XP/7/10
  • MacOS 1.0/15.0
  • Ubuntu 20.04
  • 2 custom

Themes' Features

  • Take Screenshots via grimshot
  • Processor, Memory, Battery & Volume sensors
  • Caffeine
  • Autotiling via autotiling from (nwg-piotr)[https://github.com/nwg-piotr/autotiling]
  • logout screen via wlogout
  • Intuitive enough panel with widgets and used applications via waybar
  • Menu via Rofi
  • Ready for Copy/Paste via wl-clipboard
  • Icons with NerdFonts

Usage

  • Ctrl+Super+Space - Open GUI of the app
  • Ctrl+Super+s - Save your config to the folder ~/Documents/wmtm_configs_saved
  • Ctrl+Super+(1-9) - change theme tho N'th theme
  • Ctrl+Super+(left|right) - change theme to the next/previous one
  • ./changetheme.sh (next|prev) - change to next or previous theme
  • ./changetheme.sh <Theme Name> - change to an exact theme
  • ./changetheme.sh customize - open customization menu
  • ./changetheme.sh <number> - change theme to an N'th theme
  • ./changetheme.sh goback (or fuckgoback) - revert changes if you have suddenly overwritten them
  • ./changetheme fuck - feel free to swear at my code if you somehow messed up your config

Installation

Requirements

Copy this and try to install to your Distro:

sway swaylock wlogout rofi dialog alacritty waybar zenity polkit polkit-gnome grim grimshot wl-clipboard light playerctl pamixer tar zip unzip

Required Packages

  • rofi-lbonn-wayland-git -> Apps menu
  • sway -> Wayland Window Manager
  • dialog -> Terminal Interface
  • grimshot -> Screenshots
  • swaylock OR swaylock-effects -> Lock Screen
  • waybar -> Panel
  • alacritty -> Terminal
  • wlogout -> GTK logout screen
  • mako -> Notification daemon
  • zenity -> GUI application for my script
  • autotiling from (nwg-piotr)[https://github.com/nwg-piotr/autotiling], can be installed by AUR
  • nerd-fonts-fira-code -> icons for panels
  • polkit -> authentification for stacer, gparted, etc
  • polkit-gnome -> required addition for polkit, preferred version is polkit-gnome-git from AUR
  • wl-clipboard -> Wayland Copy/Paste Utility
  • light -> Screen Brightness TUI app
  • playerctl -> Does smth with sound
  • pamixer -> Raises and Lowers volume, problematic to install in Fedora, I recommend just to compile on your own

Required configs

  • To light package to work, add your user to video group:
sudo usermod -aG your_username

Optional

  • zathura -> PDF (and others) reader
  • zathura-pdf-poppler -> PDF addon for zathura

Future Plans

  • Add customizability of Sway config (Autostart, Behaviour, Rules)
  • Add Gtk-2.0, Gtk-3.0, Gtk-4.0 (if possible)
  • Add customizability of other Config folders (Rofi, Mako, Waybar)
  • Create a Wiki and Q&A with guides on ricing sway and other WMs
  • Basic logging for maintenance (I don't know how)
  • Add qt5st to WMTM (if possible)

Under consideration

  • Create a website/server similar to gnome-look.org which will download ready configs from my site

I want to upload my own theme, how can I do that?

I still thinking on how to do that, but for now feel free to send to [email protected]

P.S. I'm a beginner developer, if you have some bash scripting skills, please peer-review my script. I made the code as human-readable and maintainable as much as possible, but it's still a big mess.

Bugs

  • rofi everywhere is broken, I guess an update broke something
  • Brightness and Volume buttons are not working
  • In MacOSBigSur, rofi is not working in VM
  • In resources files, you cannot name archives with spaces!
  • GTK apps still need 20 seconds to turn on
  • Potential: tar.?z and zip files are being opened differently
  • Automatic Logout not tested

Notes

Yes, I'm lazy af

About

WM-agnostic Theme Manager written in Bash, preconfigured for SwayWM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published