non important commit
This commit is contained in:
parent
c0bbb2c656
commit
e01d53b29d
1 changed files with 52 additions and 61 deletions
|
|
@ -1,21 +1,17 @@
|
||||||
{
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 20;
|
height = 20;
|
||||||
|
|
||||||
output = [
|
output = [
|
||||||
"DVI-D-1"
|
"DVI-D-1"
|
||||||
"HDMI-A-1"
|
"HDMI-A-1"
|
||||||
];
|
];
|
||||||
|
|
||||||
modules-left = ["niri/workspaces"];
|
modules-left = ["niri/workspaces"];
|
||||||
modules-right = ["clock"];
|
modules-right = ["clock"];
|
||||||
|
|
||||||
"niri/workspaces" = {
|
"niri/workspaces" = {
|
||||||
disable-scroll = true;
|
disable-scroll = true;
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
|
|
@ -24,78 +20,73 @@
|
||||||
default = "○";
|
default = "○";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"clock" = {
|
"clock" = {
|
||||||
interval = 1;
|
interval = 1;
|
||||||
format = "{:%H:%M:%S} ";
|
format = "{:%H:%M:%S} ";
|
||||||
format-alt = "{:%d/%m/%Y %H:%M:%S}";
|
format-alt = "{:%d/%m/%Y %H:%M:%S}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
style = ''
|
style = ''
|
||||||
/* Colors */
|
/* Colors */
|
||||||
@define-color fg #fafafa;
|
@define-color fg #fafafa;
|
||||||
@define-color fg-alt #bdbdbd;
|
@define-color fg-alt #bdbdbd;
|
||||||
@define-color purple #d500f9;
|
@define-color purple #d500f9;
|
||||||
@define-color red #ff1744;
|
@define-color red #ff1744;
|
||||||
@define-color trans transparent;
|
@define-color trans transparent;
|
||||||
|
|
||||||
/* Global Settings */
|
/* Global Settings */
|
||||||
* {
|
* {
|
||||||
font-family: 'monospace';
|
font-family: 'monospace';
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
min-height: 0px;
|
min-height: 0px;
|
||||||
}
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Waybar */
|
/* Disable all hover effects globally */
|
||||||
window#waybar {
|
*:hover {
|
||||||
background-color: @trans;
|
background-color: inherit;
|
||||||
color: @fg;
|
color: inherit;
|
||||||
}
|
box-shadow: none;
|
||||||
|
text-shadow: none;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Workspaces */
|
/* Waybar */
|
||||||
#workspaces {
|
window#waybar {
|
||||||
background-color: @trans;
|
background-color: @trans;
|
||||||
color: @fg;
|
color: @fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
/* Workspaces */
|
||||||
background-color: @trans;
|
#workspaces {
|
||||||
color: @fg-alt;
|
background-color: @trans;
|
||||||
box-shadow: none;
|
color: @fg;
|
||||||
text-shadow: none;
|
}
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
background-color: @trans;
|
background-color: @trans;
|
||||||
color: @fg-alt;
|
color: @fg-alt;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
box-shadow: none;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
color: @purple;
|
color: @purple;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
color: @red;
|
color: @red;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clock */
|
/* Clock */
|
||||||
#clock {
|
#clock {
|
||||||
background-color: transparent;
|
background-color: @trans;
|
||||||
color: @fg;
|
color: @fg;
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock:hover {
|
|
||||||
background-color: @trans;
|
|
||||||
color: @fg;
|
|
||||||
box-shadow: none;
|
|
||||||
text-shadow: none;
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue