Initial commit
This commit is contained in:
117
hyprland/.config/waybar/config.jsonc
Normal file
117
hyprland/.config/waybar/config.jsonc
Normal file
@@ -0,0 +1,117 @@
|
||||
{
|
||||
// "reload_style_on_change": true,
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 10,
|
||||
"margin": 5,
|
||||
"spacing": 10,
|
||||
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"idle_inhibitor",
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"battery",
|
||||
"disk",
|
||||
"memory",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"custom/notification",
|
||||
"clock"
|
||||
],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"show-special": true,
|
||||
"persistent-workspaces": {
|
||||
"*": [1,2,3,4]
|
||||
},
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"empty": "",
|
||||
"default": "",
|
||||
"urgent": "",
|
||||
"special": ""
|
||||
}
|
||||
},
|
||||
"hyprland/window": {
|
||||
"icon": true,
|
||||
"icon-size": 22,
|
||||
"max-length": 35,
|
||||
"separate-outputs": true
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 10
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": " ",
|
||||
"deactivated": " "
|
||||
}
|
||||
},
|
||||
"backlight": {
|
||||
"interval": 2,
|
||||
"format": " {percent}%",
|
||||
"on-scroll-up": "brightnessctl set +4",
|
||||
"on-scroll-down": "brightnessctl set 4-"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-icons": [" ", " ", " ", " ", " "],
|
||||
"format-muted": " ",
|
||||
"on-click": "qpwgraph"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 10,
|
||||
"format": "{icon}{capacity}%",
|
||||
"format-icons": [ "", "", "", "", "", "", "", "", "", "", "" ],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{timeTo}"
|
||||
},
|
||||
"disk": {
|
||||
"intervel": 30,
|
||||
"format": " {percentage_used}%",
|
||||
"tooltip-format": "{used} used out of {total} on \"{path}\" ({percentage_used}%)"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 10,
|
||||
"format": " {used}",
|
||||
"tooltip-format": "{used}GiB used of {total}GiB ({percentage}%)"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%"
|
||||
},
|
||||
"temperature": {
|
||||
"interval": 10
|
||||
},
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": " ",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": " ",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": " ",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": " "
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
},
|
||||
"clock": {
|
||||
"interval":1,
|
||||
"format": "{:%H:%M:%S}",
|
||||
"format-alt": "{:%F}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
}
|
||||
}
|
||||
72
hyprland/.config/waybar/style.css
Normal file
72
hyprland/.config/waybar/style.css
Normal file
@@ -0,0 +1,72 @@
|
||||
window#waybar {
|
||||
font-family: "JetBrains Mono NerdFont";
|
||||
background-color: rgba(0,0,0,0);
|
||||
font-size: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.modules-left, .modules-center {
|
||||
opacity: 1;
|
||||
/*background: linear-gradient(45deg, rgb(214, 39, 200), rgb(5, 83, 252));*/
|
||||
border-radius: 0.5rem;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
opacity: 1;
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
border-radius: 0.5rem;
|
||||
padding: 2px 2px 2px 10px
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
border-radius: 0.5rem;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
font-size: 0.8rem;
|
||||
padding: 0 0.5rem 0 0;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
border-radius: 0.5rem;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
window#waybar.empty #window {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: lightgreen;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: lightpink;
|
||||
}
|
||||
|
||||
#disk {
|
||||
color: lightskyblue;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: lightgoldenrodyellow;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
color: lightslategray;
|
||||
}
|
||||
|
||||
#custom-notification {
|
||||
font-family: "NotoSansMono Nerd Font";
|
||||
padding: 0 4px 0 0;
|
||||
}
|
||||
|
||||
#clock {
|
||||
font-weight: bolder;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0 3px 0 0;
|
||||
}
|
||||
Reference in New Issue
Block a user