This commit is contained in:
Nico
2024-10-31 10:33:46 +01:00
commit ad6d893cb0
237 changed files with 19793 additions and 0 deletions

50
packages/waybar/config Normal file
View File

@@ -0,0 +1,50 @@
{
"layer": "bottom",
"position": "top",
"height": 35,
"spacing": 0,
"modules-left": ["clock", "sway/workspaces","sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["network","battery", "pulseaudio", "tray"],
"cpu": {
"interval": 5,
"format": "CPU: {usage}% {avg_frequency} GHz"
},
"memory": {
"interval": 5,
"format": "RAM: {used} GiB"
},
"battery": {
"bat": "BAT0",
"states": {
"good": 90,
"warning": 20,
"critical": 7
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "" , "", ""]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": " Muted",
"format-icons": ["", "", ""]
},
"clock": {
"format": "{:%d.%m.%Y | %H:%M}"
},
"network": {
"format-wifi": " {essid} {signalStrength}%",
"format-disconnected": " No Connection"
}
}

View File

@@ -0,0 +1,15 @@
{ pkgs, config, lib,... }:
{
home.packages = with pkgs; [
];
home.file =
lib.mkMerge [
{
".config/waybar/config".source = ./config;
".config/waybar/style.css".source = ./style.css;
".config/waybar/mocha.css".source = ./mocha.css;
}
];
}

26
packages/waybar/mocha.css Normal file
View File

@@ -0,0 +1,26 @@
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;

78
packages/waybar/style.css Normal file
View File

@@ -0,0 +1,78 @@
@import "mocha.css";
* {
border: none;
border-radius: 0;
font-family: "Fira Code";
font-weight: bold;
font-size: 13px;
min-height: 0;
}
window#waybar {
/* background: rgba(0,130,130,0); */
background: @base;
}
#clock,
#workspaces,
#window,
#cpu,
#memory,
#network,
#pulseaudio,
#battery{
background: rgba(10,10,10,100);
opacity: 0.8;
/* color: #00ffff; */
color: @text;
padding: 0px 10px ;
margin: 3px 0px;
}
#workspaces button{
color: #00ffff;
border-radius: 7px;
margin: 3px 0px;
margin-left: 6px;
}
#workspaces button.focused{
background: #00ffff;
color: #000000;
opacity: 0.8;
transition: 0.3s;
}
#workspaces button:hover{
background: #ffffff;
color: #000000;
opacity: 0.8;
transition: 0.5s;
}
#window{
border-radius: 10px;
}
#waybar.empty #window {
background: none;
}
#network{
border-radius: 10px 0px 0px 10px;
}
#pulseaudio{
border-radius: 0px 10px 10px 0px;
margin-right: 5px
}
#workspaces{
border-radius: 0px 10px 10px 0px;
}
#clock{
border-radius: 10px 0px 0px 10px;
margin-left: 5px
}