70 lines
2 KiB
Markdown
70 lines
2 KiB
Markdown
|
# Eww configuration
|
||
|
|
||
|
This configuration aims to provide a shell replacement for compositors/window
|
||
|
managers. Features constantly get added and existing ones get improved.
|
||
|
|
||
|
## 🗃️ Components
|
||
|
|
||
|
The same daemon runs multiple windows which interact with each other:
|
||
|
|
||
|
### bar
|
||
|
|
||
|

|
||
|
|
||
|
### music window
|
||
|
|
||
|

|
||
|
|
||
|
### calendar
|
||
|
|
||
|

|
||
|
|
||
|
### system info
|
||
|
|
||
|

|
||
|
|
||
|
## ❔ Usage
|
||
|
|
||
|
### Home Manager
|
||
|
|
||
|
If you use Home Manager, installing is as simple as adding my flake to your
|
||
|
inputs, passing `inputs` to `extraSpecialArgs` and importing the relevant
|
||
|
module:
|
||
|
```nix
|
||
|
{inputs, pkgs, ...}: {
|
||
|
imports = [inputs.fufexan.homeManagerModules.eww-hyprland];
|
||
|
|
||
|
programs.eww-hyprland = {
|
||
|
enable = true;
|
||
|
|
||
|
# default package
|
||
|
package = pkgs.eww-wayland;
|
||
|
|
||
|
# if you want to change colors
|
||
|
colors = builtins.readFile ./latte.scss;
|
||
|
|
||
|
# set to true to reload on change
|
||
|
autoReload = false;
|
||
|
};
|
||
|
}
|
||
|
```
|
||
|
|
||
|
Make sure to also add the fonts listed below. You can simply search where
|
||
|
they are in my config.
|
||
|
|
||
|
### Other distros
|
||
|
|
||
|
To quickly install this config, grab all the files in this directory and put
|
||
|
them in `~/.config/eww`. Then run `eww daemon` and `eww open bar`. Enjoy!
|
||
|
|
||
|
Dependencies:
|
||
|
- Icon fonts: [Material Symbols Outlined](https://github.com/google/material-design-icons/tree/master/variablefont)
|
||
|
(any variation can be used as long as you change the `font-family` property of `.icon`)
|
||
|
- Text font: [Product Sans](https://befonts.com/product-sans-font.html)
|
||
|
- Script deps: everything in `default.nix`'s `dependencies` list.
|
||
|
|
||
|
## 🎨 Theme
|
||
|
|
||
|
The theme colors can be changed in `css/_colors.scss`. Currently the theme used
|
||
|
is [Catppuccin Mocha](https://github.com/catppuccin/catppuccin).
|