waybar
This commit is contained in:
parent
746bb52e03
commit
6a5a1b3771
1 changed files with 16 additions and 20 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ inputs, pkgs, ... }:
|
{ inputs, pkgs, ... }:
|
||||||
with pkgs.lib.nix-rice;
|
with pkgs.lib.nix-rice;
|
||||||
let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
|
let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
|
||||||
fnt = pkgs.rice.font.monospace.name;
|
fnt = pkgs.rice.font.propo.name;
|
||||||
in {
|
in {
|
||||||
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
|
@ -182,7 +182,6 @@ in {
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#wireplumber,
|
#wireplumber,
|
||||||
#disk,
|
#disk,
|
||||||
#taskbar
|
|
||||||
#cpu,
|
#cpu,
|
||||||
#temperature,
|
#temperature,
|
||||||
#custom-weather,
|
#custom-weather,
|
||||||
|
@ -196,16 +195,15 @@ in {
|
||||||
#memory
|
#memory
|
||||||
#cpu
|
#cpu
|
||||||
#battery
|
#battery
|
||||||
#taskbar
|
|
||||||
#tray
|
#tray
|
||||||
#power-profiles-daemon
|
#power-profiles-daemon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
font-family: "${fnt}" ;
|
font-family: "BlexMono Nerd Font Propo" ;
|
||||||
min-height: 30px;
|
min-height: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
|
@ -217,17 +215,13 @@ button:hover {
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: ${strPalette.normal.background};
|
background: ${strPalette.normal.background};
|
||||||
margin: 5px;
|
margin: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.module {
|
.module {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 18px;
|
padding: 0 18px;
|
||||||
min-width: 1em;
|
min-width: 1em;
|
||||||
}
|
|
||||||
|
|
||||||
.modules-left, .modules-right {
|
|
||||||
margin-top: 2px;
|
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -241,14 +235,21 @@ window#waybar {
|
||||||
|
|
||||||
.modules-center {
|
.modules-center {
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
margin-top: 2px;
|
|
||||||
color: #ccc;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modules-center .module {
|
.modules-center .module {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#taskbar button {
|
||||||
|
margin: 0 3px;
|
||||||
|
padding: 3px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#taskbar button.active {
|
||||||
|
background: #333;
|
||||||
|
}
|
||||||
|
|
||||||
#taskbar > *:hover {
|
#taskbar > *:hover {
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -294,7 +295,7 @@ window#waybar {
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
color: #666;
|
color: #666;
|
||||||
padding: 0;
|
padding: 3px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
|
@ -305,15 +306,10 @@ window#waybar {
|
||||||
color: #222;
|
color: #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused
|
#workspaces button.focused {
|
||||||
{
|
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
#taskbar button.active {
|
|
||||||
background: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
to {
|
to {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue