Vesktop/discord theming

This commit is contained in:
Curt Spark 2024-05-16 21:59:25 +01:00
parent a3055cf24c
commit 21992a82cf
5 changed files with 5196 additions and 3 deletions

View File

@ -17,6 +17,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# Config Files (typically $HOME/.config) # Config Files (typically $HOME/.config)
xdg.configFile = { xdg.configFile = {
"vesktop".source = ./resources/home-manager/.config/vesktop;
"waybar".source = ./resources/home-manager/.config/waybar; "waybar".source = ./resources/home-manager/.config/waybar;
"niri/config.kdl".source = ./resources/home-manager/.config/niri/config.kdl; "niri/config.kdl".source = ./resources/home-manager/.config/niri/config.kdl;
"mako/config".source = ./resources/home-manager/.config/mako/config; "mako/config".source = ./resources/home-manager/.config/mako/config;

View File

@ -1,9 +1,9 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"modules-left": [], "modules-left": ["cpu", "memory", "disk"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["network", "pulseaudio", "battery"], "modules-right": ["network", "pulseaudio", "tray", "battery"],
"clock": { "clock": {
"format": "󱑒 {:%H:%M}", "format": "󱑒 {:%H:%M}",
"format-alt": "󱑒 {:%a %b %d}", "format-alt": "󱑒 {:%a %b %d}",
@ -46,5 +46,23 @@
}, },
"scroll-step": 1, "scroll-step": 1,
"on-click": "pavucontrol" "on-click": "pavucontrol"
},
"tray": {
"spacing": 10
},
"memory": {
"interval": 10,
"format": " {}%",
"max-length": 10
},
"cpu": {
"interval": 10,
"format": " {}%",
"max-length": 10
},
"disk": {
"interval": 30,
"format": " {specific_free:0.2f} GB",
"unit": "GB"
} }
} }

View File

@ -11,7 +11,7 @@ window#waybar {
} }
#battery { #battery {
margin: 3px 0px 3px 0px; margin: 3px 3px 3px 3px;
background: @background-color; background: @background-color;
color: @foreground-color; color: @foreground-color;
padding: 5px; padding: 5px;
@ -49,3 +49,35 @@ window#waybar {
color: @foreground-color; color: @foreground-color;
border-radius: 10px; border-radius: 10px;
} }
#memory {
margin: 3px 3px 3px 0px;
padding: 5px 7px 5px 5px;
background: @background-color;
color: @foreground-color;
border-radius: 10px;
}
#cpu {
margin: 3px 3px 3px 3px;
padding: 5px 7px 5px 5px;
background: @background-color;
color: @foreground-color;
border-radius: 10px;
}
#disk {
margin: 3px 3px 3px 0px;
padding: 5px 7px 5px 5px;
background: @background-color;
color: @foreground-color;
border-radius: 10px;
}
#tray {
margin: 3px 3px 3px 3px;
padding: 5px 7px 5px 5px;
background: @background-color;
color: @foreground-color;
border-radius: 10px;
}