2023-10-17 19:22:49 +00:00
## Theme Switcher
2023-10-18 05:22:09 +00:00
Select a theme with SUPER + CTRL + T (custom Hyprland key binding) to execute the themeswitcher.sh script. The script will open rofi to show the themes in the folder ~/dotfiles/waybar/themes/
## Waybar Documentation
2023-12-10 13:17:32 +00:00
2023-10-18 05:22:09 +00:00
Waybar github: https://github.com/Alexays/Waybar
Waybar Wiki: https://github.com/Alexays/Waybar/wiki
2023-10-17 19:48:44 +00:00
2023-12-10 13:17:32 +00:00
## Define your own config and style.css for a ML4W theme
2023-10-17 19:48:44 +00:00
2023-12-10 13:17:32 +00:00
If you want to hide modules from the dotfiles ML4W themes or tweak the style, you can do this by creating a copy of the config file and name it config-custom or a copy of style.css and name it style-custom.css
2023-10-18 14:15:52 +00:00
2023-12-10 13:17:32 +00:00
The waybar loader will the use your copies instead of the default files.
2023-10-18 14:15:52 +00:00
2023-12-10 13:17:32 +00:00
With a personal config-custom you can also load a personal modules.json with additional modules.
2023-10-17 19:48:44 +00:00
2023-12-10 13:17:32 +00:00
You can reload the waybar theme with < kbd > SUPER< / kbd > + < kbd > SHIFT< / kbd > + < kbd > B< / kbd >
2023-10-17 19:48:44 +00:00
2023-12-10 13:17:32 +00:00
## Create your own theme based on the starter theme
Please check the configurations of the folders in ~/dotfiles/waybar/themes/
2023-10-17 19:48:44 +00:00
2023-12-10 13:17:32 +00:00
A good starting point is to copy the the waybar starter theme.
2023-10-17 19:48:44 +00:00
2023-12-10 13:17:32 +00:00
Copy the folder ~/dotfiles/waybar/themes/starter and name the copy for example to mytheme.
Open the file ~/dotfiles/waybar/themes/mytheme/config.sh and give your theme a name
2023-10-17 19:48:44 +00:00
```
#!/bin/bash
2023-12-10 13:17:32 +00:00
theme_name="MyTheme"
2023-10-17 19:48:44 +00:00
```
2023-12-10 13:17:32 +00:00
Select your new theme by clicking in the ... icon or with < kbd > SUPER< / kbd > + < kbd > CTRL< / kbd > + < kbd > T< / kbd >
To customize your theme, you can edit the files config, style.css and modules.json
You can reload the waybar theme with < kbd > SUPER< / kbd > + < kbd > SHIFT< / kbd > + < kbd > B< / kbd >
2023-10-17 19:48:44 +00:00
2023-12-10 13:17:32 +00:00
## Waybar documentation
Waybar configuration: https://github.com/Alexays/Waybar/wiki/Configuration
Waybar Styling: https://github.com/Alexays/Waybar/wiki/Styling