waybar to module
This commit is contained in:
parent
bd17ec1c62
commit
6a70afdd82
1 changed files with 0 additions and 74 deletions
74
home.nix
74
home.nix
|
@ -463,80 +463,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
waybar = {
|
|
||||||
enable = true;
|
|
||||||
systemd.enable = true;
|
|
||||||
settings = {
|
|
||||||
mainBar = {
|
|
||||||
layer = "top";
|
|
||||||
position = "top";
|
|
||||||
height = 24;
|
|
||||||
spacing = 3;
|
|
||||||
output = [ "DP-1" ];
|
|
||||||
modules-left = [
|
|
||||||
"sway/workspaces"
|
|
||||||
"sway/mode"
|
|
||||||
"sway/scratchpad"
|
|
||||||
"sway/window"
|
|
||||||
"custom/media"
|
|
||||||
];
|
|
||||||
modules-center = [
|
|
||||||
"clock"
|
|
||||||
"idle_inhibitor"
|
|
||||||
];
|
|
||||||
modules-right = [
|
|
||||||
"pulseaudio"
|
|
||||||
"backlight"
|
|
||||||
"network"
|
|
||||||
"tray"
|
|
||||||
"custom/notification"
|
|
||||||
"custom/power"
|
|
||||||
];
|
|
||||||
"sway/scratchpad" = {
|
|
||||||
format = "{icon} {count}";
|
|
||||||
show-empty = false;
|
|
||||||
format-icons = ["" "<U+F2D2>"];
|
|
||||||
tooltip = true;
|
|
||||||
tooltip-format = "{app}: {title}";
|
|
||||||
};
|
|
||||||
"backlight" = {
|
|
||||||
device = "ddcci6";
|
|
||||||
format = "{percent}% {icon}";
|
|
||||||
format-icons = [ "<U+F5D9>" "<U+F5DA>" "<U+F5DB>" "<U+F5DC>" "<U+F5DD>" "<U+F5DE>" "<U+F5DF>"];
|
|
||||||
};
|
|
||||||
"clock" = {
|
|
||||||
format = "{:%d. %B | %H:%M}";
|
|
||||||
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
|
||||||
format-alt = "{: KW %OV, %A, %d. %B %Y | %H:%M}";
|
|
||||||
calendar = {
|
|
||||||
mode = "year";
|
|
||||||
mode-mon-col = 3;
|
|
||||||
weeks-pos = "right";
|
|
||||||
on-scroll = 1;
|
|
||||||
on-click-right = "mode";
|
|
||||||
format = {
|
|
||||||
months = "<span color='#ffead3'><b>{}</b></span>";
|
|
||||||
days = "<span color='#ecc6d9'><b>{}</b></span>";
|
|
||||||
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
|
|
||||||
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
|
|
||||||
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"actions" = {
|
|
||||||
on-click-right = "mode";
|
|
||||||
on-click-forward = "tz_up";
|
|
||||||
on-click-backward = "tz_down";
|
|
||||||
on-scroll-up = "shift_up";
|
|
||||||
on-scroll-down = "shift_down";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"tray" = {
|
|
||||||
icon-size = 16;
|
|
||||||
spacing = 6;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
yazi = {
|
yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue