Steam deck perhaps
This commit is contained in:
69
users/configs/desktop/waybar/config.json
Normal file
69
users/configs/desktop/waybar/config.json
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"battery",
|
||||
"tray"
|
||||
],
|
||||
"hyprland/window": {
|
||||
"separate-outputs": true
|
||||
},
|
||||
"network": {
|
||||
"tooltip-format": "{ipaddr}",
|
||||
"format-wifi": "{icon} {essid}",
|
||||
"format-ethernet": " {ifname}",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"backlight": {
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["", ""]
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||
"on-click": "activate",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"urgent": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"interval": 1,
|
||||
"format-alt": "{:%a, %d. %b %H:%M:%S}"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": " MUTED",
|
||||
"format-icons": {
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"max-volume": 100,
|
||||
"on-click": "pavucontrol"
|
||||
}
|
||||
}
|
||||
18
users/configs/desktop/waybar/default.nix
Normal file
18
users/configs/desktop/waybar/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
hostname,
|
||||
...
|
||||
}: {
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar-hyprland;
|
||||
settings = {
|
||||
main = lib.importJSON ./config.json;
|
||||
};
|
||||
style = ./style.css;
|
||||
};
|
||||
|
||||
home.file.".config/waybar/macchiato.css".source = ./macchiato.css;
|
||||
}
|
||||
37
users/configs/desktop/waybar/macchiato.css
Normal file
37
users/configs/desktop/waybar/macchiato.css
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
*
|
||||
* Catppuccin Mocha palette
|
||||
* Maintainer: rubyowo
|
||||
*
|
||||
*/
|
||||
|
||||
@define-color base #24273a;
|
||||
@define-color mantle #1e2030;
|
||||
@define-color crust #181926;
|
||||
|
||||
@define-color text #cad3f5;
|
||||
@define-color subtext0 #a5adcb;
|
||||
@define-color subtext1 #b8c0e0;
|
||||
|
||||
@define-color surface0 #363a4f;
|
||||
@define-color surface1 #494d64;
|
||||
@define-color surface2 #5b6078;
|
||||
|
||||
@define-color overlay0 #6e738d;
|
||||
@define-color overlay1 #8087a2;
|
||||
@define-color overlay2 #939ab7;
|
||||
|
||||
@define-color blue #8aadf4;
|
||||
@define-color lavender #b7bdf8;
|
||||
@define-color sapphire #7dc4e4;
|
||||
@define-color sky #91d7e3;
|
||||
@define-color teal #8bd5ca;
|
||||
@define-color green #a6da95;
|
||||
@define-color yellow #eed49f;
|
||||
@define-color peach #f5a97f;
|
||||
@define-color maroon #ee99a0;
|
||||
@define-color red #ed8796;
|
||||
@define-color mauve #c6a0f6;
|
||||
@define-color pink #f5bde6;
|
||||
@define-color flamingo #f0c6c6;
|
||||
@define-color rosewater #f4dbd6;
|
||||
51
users/configs/desktop/waybar/style.css
Normal file
51
users/configs/desktop/waybar/style.css
Normal file
@@ -0,0 +1,51 @@
|
||||
@import "macchiato.css";
|
||||
|
||||
window#waybar {
|
||||
background: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @green;
|
||||
background: @surface2;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: @base;
|
||||
background: @green;
|
||||
}
|
||||
|
||||
#battery.discharging {
|
||||
color: @base;
|
||||
background: @yellow;
|
||||
}
|
||||
|
||||
* {
|
||||
border: none;
|
||||
min-height: 0;
|
||||
font-family: "Iosevka Nerd Font Propo", "Font Awesome";
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#workspaces, #tray, #battery, #backlight, #pulseaudio, #network {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#network.ethernet, #network.wifi {
|
||||
color: @base;
|
||||
background: @blue;
|
||||
}
|
||||
|
||||
#network.disabled, #network.disconnected {
|
||||
color: @base;
|
||||
background: @red;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: @base;
|
||||
background: @green;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background: @red;
|
||||
}
|
||||
Reference in New Issue
Block a user