more waybar

This commit is contained in:
deadvey 2025-02-07 20:33:24 +00:00
parent cbf6f42847
commit 9d6cf0e29f
7 changed files with 107 additions and 51 deletions

View File

@ -213,7 +213,7 @@
# corners. # corners.
# The radius will be automatically lowered if it exceeds half of the # The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons. # notification height to avoid clipping text and/or icons.
corner_radius = 0 corner_radius = 10
### Legacy ### Legacy

View File

@ -15,4 +15,4 @@ border=b8bb26ff
[border] [border]
width=2 width=2
radius=10 radius=20

View File

@ -1,7 +1,7 @@
background { background {
monitor = monitor =
path = screenshot path = screenshot
blur_passes = 2 blur_passes = 3
blur_size = 10 blur_size = 10
} }
@ -50,19 +50,6 @@ label {
halign = left halign = left
valign = bottom valign = bottom
} }
label {
monitor =
text = cmd[update:500] num=5; echo $num; num=$num-1
text_align = center
color = rgba(200, 200, 200, 1.0)
font_size = 20
font_family = Noto Sans
rotate = 0
position = 30, -30
halign = left
valign = top
}
label { label {
monitor = monitor =
@ -96,7 +83,7 @@ input-field {
rounding = -1 rounding = -1
check_color = rgb(204, 136, 34) check_color = rgb(204, 136, 34)
fail_color = rgb(204, 34, 34) fail_color = rgb(204, 34, 34)
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> fail_text = <i>😬Ohhhh, that was wrong mate ⚠️</i>
fail_timeout = 2000 fail_timeout = 2000
fail_transition = 300 fail_transition = 300
capslock_color = -1 capslock_color = -1

Binary file not shown.

Binary file not shown.

View File

@ -2,14 +2,18 @@
{ {
"layer": "top", "layer": "top",
"position": "bottom", "position": "bottom",
"height": 40, "modules-center": ["image#pfp", "wlr/taskbar"],
"modules-center": ["wlr/taskbar"], "image#pfp": {
"path": "/home/deadvey/pictures/pfp.png",
"size": 30,
"interval": 20,
"on-click": "fuzzel",
},
"wlr/taskbar": { "wlr/taskbar": {
"format": "{icon}", "format": "{icon}",
"icon-size": 30, "icon-size": 30,
"icon-theme": "Gruvbox-Dark", "icon-theme": "Gruvbox-Dark",
"tooltip-format": "{title}", "tooltip-format": "{name}",
"on-click": "activate", "on-click": "activate",
"on-click-right": "minimize", "on-click-right": "minimize",
"on-click-middle": "close", "on-click-middle": "close",
@ -29,9 +33,28 @@
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"height": 30, "height": 30,
"modules-left": ["hyprland/workspaces", "custom/temperature", "cpu", "memory", "custom/time"], "mode": "dock",
"modules-center": ["clock"], "modules-left": [
"modules-right": ["pulseaudio/slider","pulseaudio", "tray"], "hyprland/workspaces",
],
"modules-center": [
"clock"
],
"modules-right": [
"custom/cmusinfo",
"pulseaudio/slider",
"network",
"tray",
],
"custom/cmusinfo": {
"exec": "ssh max@192.168.1.193 cmus-remote -Q | grep title | sed 's/tag title //'",
"format": " {}",
"interval": 1,
"on-click": "ssh max@192.168.1.193 cmus-remote -u",
"on-click-right": "ssh max@192.168.1.193 cmus-remote -n",
"on-scroll-down": "ssh max@192.168.1.193 cmus-remote -v -10%",
"on-scroll-up": "ssh max@192.168.1.193 cmus-remote -v +10%",
},
"hyprland/workspaces": { "hyprland/workspaces": {
"disable-scroll": true, "disable-scroll": true,
"show-special": true, "show-special": true,
@ -46,6 +69,26 @@
"default": "" "default": ""
} }
}, },
"network": {
"interface": "enp5s0",
"format": "{ifname}",
"format-wifi": " ",
"format-ethernet": " ",
"format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} 󰊗",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ipaddr} {ifname}",
"tooltip-format-disconnected": " ",
"max-length": 50
},
"custom/seperator": {
"format": "|",
},
"server-cava": {
"exec": "ssh max@192.168.1.193 bash /home/max/caway.sh",
"format": "{}",
"interval": 30,
},
"pulseaudio/slider": { "pulseaudio/slider": {
"min": 0, "min": 0,
"max": 100, "max": 100,
@ -73,7 +116,28 @@
}, },
"clock": { "clock": {
"format": "{:%a, %d %b %Y %H:%M:%S %p}", "format": "{:%a, %d %b %Y %H:%M:%S %p}",
"interval": 1 "interval": 1,
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"actions": {
"on-click-right": "mode",
"on-scroll-up": "tz_up",
"on-scroll-down": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
}, },
"custom/temperature": { "custom/temperature": {
"format": "{} ", "format": "{} ",

View File

@ -9,6 +9,12 @@
box-shadow: none; box-shadow: none;
background-color: #ebdbb2; background-color: #ebdbb2;
} }
#pulseaudio-slider slider:hover {
background-color: #a89984;
}
#pulseaudio-slider slider:active {
background-color: #b8bb26;
}
#pulseaudio-slider trough { #pulseaudio-slider trough {
min-height: 10px; min-height: 10px;
min-width: 80px; min-width: 80px;
@ -20,15 +26,22 @@
border-radius: 5px; border-radius: 5px;
background-color: #b8bb26; background-color: #b8bb26;
} }
#taskbar button {
border-radius: 10px;
padding: 8px 8px 8px 8px;
}
#taskbar button.active { #taskbar button.active {
background-color: #8ec07c; background-color: #8ec07c;
} }
window#waybar.screenBorder { #taskbar button:hover {
border: 2px solid #b8bb26; background-color: #282828;
background-color: transparent; }
box-shadow: 0px 0px 0px 60px black, 0px 0px 0px 0.5px #ebdbb2; #image {
padding: 8px 8px 8px 8px;
border-radius: 10px; border-radius: 10px;
margin: 20px; }
#image:hover {
background-color: #282828;
} }
window#waybar.top, window#waybar.top,
window#waybar.bottom, window#waybar.bottom,
@ -43,7 +56,8 @@ window#waybar.left {
margin: 5px; margin: 5px;
} }
#workspaces button:hover { #workspaces button:hover {
color: #b8bb26; color: #1d2021;
background: #98971a;
} }
#workspaces button.active { #workspaces button.active {
color: #282828; color: #282828;
@ -54,30 +68,21 @@ window#waybar.left {
background: #ebdbb2; background: #ebdbb2;
} }
#workspaces, #workspaces,
#custom-clock,
#clock, #clock,
#custom-time,
#network, #network,
#disk,
#memory,
#cpu,
#pulseaudio, #pulseaudio,
#custom-metar,
#custom-uptime,
#custom-cmus-artist,
#custom-cmus-song,
#custom-playerctl,
#custom-cava-waybar-local,
#window,
#custom-temperature,
#tray, #tray,
#custom-server-cava { #custom-cmusinfo {
color: #ebdbb2; color: #ebdbb2;
background: transparent; border-radius: 20px;
/*border: 2px solid #b8bb26; padding-left: 8px;
border-radius: 15; padding-right: 8px;
box-shadow: 12px 12px 0px 2px #282828;*/
padding-left: 3px;
padding-right: 3px;
margin: 6px; margin: 6px;
} }
#clock:hover,
#network:hover,
#pulseaudio:hover,
#tray:hover,
#custom-cmusinfo:hover {
background-color: #282828;
}