style: update waybar style
This commit is contained in:
parent
69e41c6e05
commit
984bc4c5d8
27 changed files with 275 additions and 103 deletions
|
|
@ -6,8 +6,6 @@
|
|||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"position": "top",
|
||||
"height": 40,
|
||||
"spacing": 3,
|
||||
"fixed-center": true,
|
||||
"ipc": true,
|
||||
"margin-top": 0,
|
||||
|
|
@ -19,7 +17,13 @@
|
|||
|
||||
"modules-center": ["hyprland/window"],
|
||||
|
||||
"modules-right": ["cpu", "temperature", "wlr/taskbar", "pulseaudio"]
|
||||
"modules-right": [
|
||||
"wlr/taskbar",
|
||||
"temperature",
|
||||
"cpu",
|
||||
"memory",
|
||||
"pulseaudio"
|
||||
]
|
||||
},
|
||||
{
|
||||
"output": "eDP-1",
|
||||
|
|
@ -28,7 +32,6 @@
|
|||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"position": "top",
|
||||
"spacing": 3,
|
||||
"fixed-center": true,
|
||||
"ipc": true,
|
||||
"margin-top": 0,
|
||||
|
|
@ -36,18 +39,18 @@
|
|||
"margin-right": 0,
|
||||
"margin-bottom": 0,
|
||||
|
||||
"modules-left": ["hyprland/workspaces", "clock", "custom/cava", "mpris"],
|
||||
"modules-left": ["custom/os", "hyprland/workspaces", "clock", "custom/cava", "mpris"],
|
||||
|
||||
"modules-center": ["hyprland/window"],
|
||||
|
||||
"modules-right": [
|
||||
"wlr/taskbar",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"cpu",
|
||||
"memory",
|
||||
"custom/swaync",
|
||||
"pulseaudio",
|
||||
"battery"
|
||||
"battery",
|
||||
"custom/swaync"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -57,7 +60,6 @@
|
|||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"position": "top",
|
||||
"spacing": 3,
|
||||
"fixed-center": true,
|
||||
"ipc": true,
|
||||
"margin-top": 0,
|
||||
|
|
@ -65,17 +67,17 @@
|
|||
"margin-right": 0,
|
||||
"margin-bottom": 0,
|
||||
|
||||
"modules-left": ["hyprland/workspaces", "clock", "custom/cava", "mpris"],
|
||||
"modules-left": ["custom/os", "hyprland/workspaces", "clock", "custom/cava", "mpris"],
|
||||
|
||||
"modules-center": ["hyprland/window"],
|
||||
|
||||
"modules-right": [
|
||||
"wlr/taskbar",
|
||||
"network",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"memory",
|
||||
"custom/swaync",
|
||||
"pulseaudio"
|
||||
"pulseaudio",
|
||||
"custom/swaync"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -14,29 +14,16 @@
|
|||
"4": []
|
||||
},
|
||||
"format-icons": {
|
||||
"active": "👁️🗨️",
|
||||
"default": "🗨️"
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"interval": 1,
|
||||
"format": " 🕑 {:%H:%M} ",
|
||||
"format-alt": " 🕑 {:%H:%M 🗓️ %Y, %d %B, %A} ",
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"format": {
|
||||
"days": "<span color='#ebdbb2'><b>{}</b></span>",
|
||||
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#ebdbb2'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||||
}
|
||||
}
|
||||
"format": "<b> {:%H:%M %d/%m}</b>",
|
||||
"tooltip-format": "{:%A %d %B %Y}"
|
||||
},
|
||||
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
|
|
@ -45,66 +32,72 @@
|
|||
"on-scroll-down": "shift_down"
|
||||
},
|
||||
|
||||
"custom/os": {
|
||||
"format": "",
|
||||
"on-click": "wlogout --protocol layer-shell"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"format": " {usage}% 🧠 ",
|
||||
"interval": 1,
|
||||
"on-click-right": "kitty -c ~/.config/kitty/kitty.conf --title btop sh -c 'btop'"
|
||||
"format": " {usage}%",
|
||||
"max-length": 20,
|
||||
"interval": 5,
|
||||
"on-click-right": "ghostty -e btop"
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"max-length": 60,
|
||||
"max-length": 40,
|
||||
"separate-outputs": true,
|
||||
"offscreen-css": true,
|
||||
"offscreen-css-text": "(inactive)",
|
||||
"rewrite": {
|
||||
"nvim . (.*)": " $1",
|
||||
"(.*) - Visual Studio Code": " $1",
|
||||
"\\(\\d+\\) Discord (.*)": " $1",
|
||||
"(.*) - YouTube — Mozilla Firefox": " $1",
|
||||
"(.*)\\.pdf — Mozilla Firefox": " $1",
|
||||
" (.*)\\.pdf": " $1",
|
||||
"(.*) — Mozilla Firefox": " $1",
|
||||
"(.*) - VLC media player": " $1",
|
||||
"(.*) - YouTube Music — Mozilla Firefox": " $1",
|
||||
"(.*) - YouTube Music — Mozilla Firefox": " $1"
|
||||
}
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 10,
|
||||
"format": " {percentage}% 📊 ",
|
||||
"interval": 30,
|
||||
"format": " {used:0.1f}GB/{total:0.1f}G",
|
||||
"format-alt-click": "click",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{used:0.1f}GB/{total:0.1f}G",
|
||||
"on-click-right": "kitty -c ~/.config/kitty/kitty.conf --title btop sh -c 'btop'"
|
||||
"on-click-right": "ghostty -e btop"
|
||||
},
|
||||
|
||||
"mpris": {
|
||||
"interval": 10,
|
||||
"format": " {title} ",
|
||||
"format-paused": " {title} {status_icon} ",
|
||||
"format": " {status_icon} <i>{title} | {artist} </i>",
|
||||
"format-paused": " {status_icon} <i>{title} | {artist} </i>",
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-click-right": "playerctl next",
|
||||
"scroll-step": 5.0,
|
||||
"smooth-scrolling-threshold": 1,
|
||||
"status-icons": {
|
||||
"paused": "",
|
||||
"playing": "🎶",
|
||||
"playing": "",
|
||||
"stopped": ""
|
||||
},
|
||||
"max-length": 30
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": " {volume}% {icon} ",
|
||||
"format-bluetooth": " {volume}% {icon} ",
|
||||
"format-muted": "🔇",
|
||||
"format": "{icon} {volume}%",
|
||||
"format-bluetooth": " {volume}%",
|
||||
"format-muted": " Muted",
|
||||
"format-icons": {
|
||||
"headphone": "🔈",
|
||||
"hands-free": "🔈",
|
||||
"headset": "🔈",
|
||||
"phone": "🔈",
|
||||
"portable": "🔈",
|
||||
"car": "🔈",
|
||||
"default": ["🔈", "🔈", "🔈", "🔈"],
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
" ",
|
||||
" "
|
||||
],
|
||||
"ignored-sinks": ["Easy Effects Sink"]
|
||||
},
|
||||
"scroll-step": 5.0,
|
||||
|
|
@ -121,24 +114,24 @@
|
|||
"/sys/class/thermal/thermal_zone0/temp"
|
||||
],
|
||||
"critical-threshold": 82,
|
||||
"format-critical": "{temperatureC}°C {icon}",
|
||||
"format": " {temperatureC}°C {icon} ",
|
||||
"format-icons": ["🔥"],
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": ["", "", "", ""],
|
||||
"on-click-right": "kitty -c ~/.config/kitty/kitty.conf --title btop sh -c 'btop'"
|
||||
},
|
||||
|
||||
"custom/swaync": {
|
||||
"tooltip": true,
|
||||
"format": " {} {icon} ",
|
||||
"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": "🔕"
|
||||
"notification": "",
|
||||
"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",
|
||||
|
|
@ -164,14 +157,15 @@
|
|||
"Spotify",
|
||||
"nemo",
|
||||
"vlc",
|
||||
"com.mitchellh.ghostty"
|
||||
"com.mitchellh.ghostty",
|
||||
"code"
|
||||
]
|
||||
},
|
||||
|
||||
"custom/cava": {
|
||||
"exec": "~/.config/scripts/waybarCava.sh",
|
||||
"format": "{}",
|
||||
"on-click": "kitty -c ~/.config/kitty/kitty.conf nvim -c cd ~/.config/"
|
||||
"on-click": "ghostty -e cava"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
|
|
@ -186,5 +180,19 @@
|
|||
"format-charging": "<span color='#ebdbb2'>{capacity}%</span> ",
|
||||
"format-plugged": "<span color='#ebdbb2'>{capacity}%</span> ",
|
||||
"format-alt": "<span color='#ebdbb2'>{time}</span> {icon}"
|
||||
},
|
||||
|
||||
"network" : {
|
||||
"format": "{ifname}",
|
||||
"format-wifi": " {essid} {bandwidthTotalBytes}",
|
||||
"format-ethernet": " Ethernet {bandwidthTotalBytes}",
|
||||
"format-disconnected": " ",
|
||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||
"tooltip-format-wifi": " Signal Strength: {signalStrength}%",
|
||||
"tooltip-format-ethernet": " Signal Strength: {signalStrength}%",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"max-length": 50,
|
||||
"interval": 5,
|
||||
"on-click": "~/.config/scripts/rofiWifi.sh"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
@define-color main #ebdbb2;
|
||||
|
||||
* {
|
||||
font-family: "JetBrainsMonoNerdFontMono";
|
||||
font-weight: bold;
|
||||
min-height: 0;
|
||||
font-size: 102%;
|
||||
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
|
||||
padding: 1px;
|
||||
transition-property: all;
|
||||
transition-duration: 0.3s;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
|
|
@ -28,13 +31,13 @@ window#waybar.empty #window {
|
|||
}
|
||||
|
||||
tooltip {
|
||||
opacity: 1;
|
||||
background: alpha(#fff, 0.05);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
padding: 10px;
|
||||
color: #ebdbb2;
|
||||
color: @main;
|
||||
}
|
||||
|
||||
#custom-cava,
|
||||
|
|
@ -46,14 +49,57 @@ tooltip label {
|
|||
#pulseaudio,
|
||||
#temperature,
|
||||
#workspaces,
|
||||
#custom-menu,
|
||||
#custom-os,
|
||||
#custom-swaync {
|
||||
border-radius: 10px;
|
||||
color: #ebdbb2;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
background: alpha(#fff, 0.05);
|
||||
border-radius: 6px;
|
||||
color: @main;
|
||||
font-weight: 600;
|
||||
padding: 2.5px 12px;
|
||||
margin: 4px 0 4px 0;
|
||||
border: 1px solid alpha(#fff, 0.05);
|
||||
}
|
||||
|
||||
|
||||
#custom-os,
|
||||
#workspaces,
|
||||
#clock,
|
||||
#custom-cava,
|
||||
#mpris {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
#custom-swaync,
|
||||
#pulseaudio,
|
||||
#cpu,
|
||||
#memory
|
||||
#temperature,
|
||||
#network {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
padding-right: 0;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
#memory {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
margin-left: 0;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
#clock {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#custom-swaync {
|
||||
margin-right: 10px;
|
||||
margin-right: 10px;
|
||||
padding-right: 18px;
|
||||
}
|
||||
|
||||
#battery {
|
||||
|
|
@ -65,7 +111,7 @@ tooltip label {
|
|||
}
|
||||
|
||||
#window {
|
||||
color: #ebdbb2;
|
||||
color: @main;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-right: 6px;
|
||||
|
|
@ -73,15 +119,34 @@ tooltip label {
|
|||
border-radius: 12px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
font-weight: Bold;
|
||||
padding-left: 3.5px;
|
||||
padding-right: 3.5px;
|
||||
}
|
||||
|
||||
#custom-os {
|
||||
margin-left: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 14px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
margin: 1px;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
border-radius: 12px;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
background-color: #ebdbb2;
|
||||
color: #282828;
|
||||
padding-left: 4px;
|
||||
padding-right: 9px;
|
||||
color: @main;
|
||||
transition-property: all;
|
||||
transition-duration: 0.3s;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: alpha(@main, 0.3);
|
||||
transition-property: all;
|
||||
transition-duration: 0.3s;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue