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,15 +20,13 @@
|
||||||
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;
|
||||||
|
|
@ -46,6 +40,16 @@
|
||||||
font-family: 'monospace';
|
font-family: 'monospace';
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
min-height: 0px;
|
min-height: 0px;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Disable all hover effects globally */
|
||||||
|
*:hover {
|
||||||
|
background-color: inherit;
|
||||||
|
color: inherit;
|
||||||
|
box-shadow: none;
|
||||||
|
text-shadow: none;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Waybar */
|
/* Waybar */
|
||||||
|
|
@ -60,19 +64,13 @@
|
||||||
color: @fg;
|
color: @fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
background-color: @trans;
|
|
||||||
color: @fg-alt;
|
|
||||||
box-shadow: none;
|
|
||||||
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 {
|
||||||
|
|
@ -85,16 +83,9 @@
|
||||||
|
|
||||||
/* Clock */
|
/* Clock */
|
||||||
#clock {
|
#clock {
|
||||||
background-color: transparent;
|
|
||||||
color: @fg;
|
|
||||||
padding: 0 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock:hover {
|
|
||||||
background-color: @trans;
|
background-color: @trans;
|
||||||
color: @fg;
|
color: @fg;
|
||||||
box-shadow: none;
|
padding: 0 8px;
|
||||||
text-shadow: none;
|
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue