waybar: initial user config
All checks were successful
Check flake / build-amd64-linux (push) Successful in 3m28s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 3m28s
This commit is contained in:
parent
434588a1db
commit
74a2071e9a
@ -15,6 +15,7 @@ in
|
|||||||
./hypridle.nix
|
./hypridle.nix
|
||||||
./hyprlock.nix
|
./hyprlock.nix
|
||||||
./hyprpaper.nix
|
./hyprpaper.nix
|
||||||
|
./waybar.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
@ -203,7 +204,6 @@ in
|
|||||||
dunst
|
dunst
|
||||||
kitty
|
kitty
|
||||||
mpv
|
mpv
|
||||||
waybar
|
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
];
|
];
|
||||||
|
|
||||||
|
15
users/jordan/graphical/hyprland/waybar.css
Normal file
15
users/jordan/graphical/hyprland/waybar.css
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
* {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
border-radius: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-right {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
54
users/jordan/graphical/hyprland/waybar.nix
Normal file
54
users/jordan/graphical/hyprland/waybar.nix
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.waybar = {
|
||||||
|
enable = true;
|
||||||
|
settings = [
|
||||||
|
{
|
||||||
|
layer = "top";
|
||||||
|
position = "top";
|
||||||
|
height = 30;
|
||||||
|
margin = "10 20 0 20";
|
||||||
|
spacing = 10;
|
||||||
|
|
||||||
|
modules-left = [
|
||||||
|
"hyprland/workspaces"
|
||||||
|
];
|
||||||
|
modules-center = [
|
||||||
|
"hyprland/window"
|
||||||
|
];
|
||||||
|
modules-right = [
|
||||||
|
"disk"
|
||||||
|
"cpu"
|
||||||
|
"memory"
|
||||||
|
"privacy"
|
||||||
|
"clock"
|
||||||
|
];
|
||||||
|
|
||||||
|
clock = {
|
||||||
|
format = "{:%I:%M %p}";
|
||||||
|
};
|
||||||
|
|
||||||
|
disk = {
|
||||||
|
format = "{free}";
|
||||||
|
path = "/";
|
||||||
|
};
|
||||||
|
|
||||||
|
privacy = {
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
type = "screenshare";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "audio-in";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
style = ./waybar.css;
|
||||||
|
systemd.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user