new deskstop
This commit is contained in:
104
waybar/config
Normal file
104
waybar/config
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 36,
|
||||
"spacing": 4,
|
||||
"margin-top": 4,
|
||||
"margin-left": 10,
|
||||
"margin-right": 10,
|
||||
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "tray"],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"all-outputs": true,
|
||||
"active-only": false,
|
||||
"persistent-workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
},
|
||||
"format-icons": {
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"10": "10",
|
||||
"urgent": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"max-length": 50,
|
||||
"separate-outputs": true
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": " {:%H:%M}",
|
||||
"format-alt": " {:%A, %B %d %Y}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"tooltip": true,
|
||||
"interval": 2
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": " {used:0.1f}G",
|
||||
"interval": 2
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": " {signalStrength}%",
|
||||
"format-ethernet": " {ipaddr}",
|
||||
"format-disconnected": " Offline",
|
||||
"tooltip-format": "{essid} — {ipaddr}\n{bandwidthUpBits} up {bandwidthDownBits} down",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": " Muted",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"spacing": 8,
|
||||
"icon-size": 16
|
||||
}
|
||||
}
|
||||
156
waybar/style.css
Normal file
156
waybar/style.css
Normal file
@@ -0,0 +1,156 @@
|
||||
/* ── Global ─────────────────────────────────────────── */
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", "Noto Sans", monospace;
|
||||
font-size: 13px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(17, 17, 27, 0.90);
|
||||
color: #cdd6f4;
|
||||
border-bottom: 2px solid rgba(137, 180, 250, 0.25);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* ── Workspaces ─────────────────────────────────────── */
|
||||
#workspaces {
|
||||
background: rgba(30, 30, 46, 0.85);
|
||||
border-radius: 8px;
|
||||
padding: 2px 6px;
|
||||
margin: 4px 6px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 2px 8px;
|
||||
margin: 0 2px;
|
||||
color: #6c7086;
|
||||
background: transparent;
|
||||
border-radius: 6px;
|
||||
font-size: 15px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(137, 180, 250, 0.15);
|
||||
color: #89b4fa;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #89b4fa;
|
||||
background: rgba(137, 180, 250, 0.20);
|
||||
border-bottom: 2px solid #89b4fa;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
color: #f38ba8;
|
||||
background: rgba(243, 139, 168, 0.15);
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
color: #313244;
|
||||
}
|
||||
|
||||
/* ── Window title ───────────────────────────────────── */
|
||||
#window {
|
||||
color: #a6adc8;
|
||||
padding: 0 10px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* ── Clock ──────────────────────────────────────────── */
|
||||
#clock {
|
||||
color: #cba6f7;
|
||||
background: rgba(203, 166, 247, 0.10);
|
||||
border-radius: 8px;
|
||||
padding: 2px 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* ── Right modules shared style ─────────────────────── */
|
||||
#cpu,
|
||||
#memory,
|
||||
#battery,
|
||||
#network,
|
||||
#pulseaudio {
|
||||
padding: 2px 10px;
|
||||
margin: 4px 2px;
|
||||
border-radius: 8px;
|
||||
background: rgba(30, 30, 46, 0.85);
|
||||
}
|
||||
|
||||
/* ── CPU ────────────────────────────────────────────── */
|
||||
#cpu {
|
||||
color: #a6e3a1;
|
||||
}
|
||||
|
||||
#cpu.warning {
|
||||
color: #fab387;
|
||||
}
|
||||
|
||||
#cpu.critical {
|
||||
color: #f38ba8;
|
||||
}
|
||||
|
||||
/* ── Memory ─────────────────────────────────────────── */
|
||||
#memory {
|
||||
color: #89dceb;
|
||||
}
|
||||
|
||||
/* ── Battery ────────────────────────────────────────── */
|
||||
#battery {
|
||||
color: #a6e3a1;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
color: #fab387;
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
color: #f38ba8;
|
||||
animation: blink 1s linear infinite;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: #a6e3a1;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to { color: transparent; }
|
||||
}
|
||||
|
||||
/* ── Network ────────────────────────────────────────── */
|
||||
#network {
|
||||
color: #89b4fa;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
color: #6c7086;
|
||||
}
|
||||
|
||||
/* ── Audio ──────────────────────────────────────────── */
|
||||
#pulseaudio {
|
||||
color: #f5c2e7;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: #6c7086;
|
||||
}
|
||||
|
||||
/* ── Tray ───────────────────────────────────────────── */
|
||||
#tray {
|
||||
padding: 2px 8px;
|
||||
margin: 4px 4px;
|
||||
border-radius: 8px;
|
||||
background: rgba(30, 30, 46, 0.85);
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: rgba(243, 139, 168, 0.2);
|
||||
}
|
||||
Reference in New Issue
Block a user