hyprland-dotfiles/waybar/README.md

35 lines
1.2 KiB
Markdown
Raw Normal View History

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
Waybar github: https://github.com/Alexays/Waybar
Waybar Wiki: https://github.com/Alexays/Waybar/wiki
2023-10-17 19:48:44 +00:00
## Create your own theme
Please check the configurations of the folders in ~/dotfiles/waybar/themes/
2023-10-18 14:15:52 +00:00
Create a folder for your theme and add your configuration.
A good starting point is to copy the default folder with the default waybar theme.
The main theme folder includes the core config file and stylesheet.
Waybar configuration: https://github.com/Alexays/Waybar/wiki/Configuration
Create subfolders to save variations like in the folder ml4w. You can include stylesheets from other themes to standardize your themes like in the theme ml4w-bottom.
2023-10-17 19:48:44 +00:00
## Stylesheet
2023-10-18 14:15:52 +00:00
The style.css includes the style file of the theme.
Waybar Styling: https://github.com/Alexays/Waybar/wiki/Styling
2023-10-17 19:48:44 +00:00
2023-10-18 05:22:09 +00:00
## Define theme name
2023-10-17 19:48:44 +00:00
Add a config.sh file to save the theme name. Add it to the main or subfolders for variations.
```
#!/bin/bash
theme_name="ML4W Light"
```