mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-02-12 04:22:07 +00:00
~
This commit is contained in:
parent
5abe55e230
commit
837ffab89b
4 changed files with 31 additions and 1 deletions
|
@ -7,5 +7,6 @@
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./polybar.nix
|
./polybar.nix
|
||||||
|
./yambar.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,13 +20,15 @@
|
||||||
foreground = foreground;
|
foreground = foreground;
|
||||||
width = "100%";
|
width = "100%";
|
||||||
height = 32;
|
height = 32;
|
||||||
font-0 = "GohuFont:style=Regular:pixelsize=11;3";
|
font-0 = "GohuFont:style=Regular:size=11:antialias=false;3";
|
||||||
modules-left = "xworkspaces audio";
|
modules-left = "xworkspaces audio";
|
||||||
modules-right = "cpu memory date";
|
modules-right = "cpu memory date";
|
||||||
module-margin = 1;
|
module-margin = 1;
|
||||||
offset-y = 14;
|
offset-y = 14;
|
||||||
padding = 2;
|
padding = 2;
|
||||||
bottom = true;
|
bottom = true;
|
||||||
|
dpi-x = 96;
|
||||||
|
dpi-y = 96;
|
||||||
};
|
};
|
||||||
|
|
||||||
"module/cpu" = {
|
"module/cpu" = {
|
||||||
|
|
26
nixos/home/yambar.nix
Normal file
26
nixos/home/yambar.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ ... }: {
|
||||||
|
programs.yambar = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
bar = {
|
||||||
|
location = "top";
|
||||||
|
height = 26;
|
||||||
|
background = "00000066";
|
||||||
|
|
||||||
|
right = [
|
||||||
|
{
|
||||||
|
clock = {
|
||||||
|
date-format = "%b %d %y";
|
||||||
|
time-format = "%I:%M %p";
|
||||||
|
content = [
|
||||||
|
{
|
||||||
|
string.text = "{date} {time}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -62,6 +62,7 @@
|
||||||
xdotool
|
xdotool
|
||||||
xorg.xev
|
xorg.xev
|
||||||
xorg.xwininfo
|
xorg.xwininfo
|
||||||
|
yambar
|
||||||
# misc
|
# misc
|
||||||
catppuccin-sddm
|
catppuccin-sddm
|
||||||
steam-run
|
steam-run
|
||||||
|
|
Loading…
Add table
Reference in a new issue