chore: format waybar files

This commit is contained in:
Christoph Hollizeck 2024-10-10 23:43:47 +02:00
parent b880b3fcce
commit c136d744de
2 changed files with 360 additions and 355 deletions

View file

@ -1,29 +1,29 @@
{ {
"layer":"top", "layer": "top",
"height": 42, "height": 42,
"position":"top", "position": "top",
"mod":"dock", "mod": "dock",
"margin-left":10, "margin-left": 10,
"margin-right":10, "margin-right": 10,
"margin-top":7, "margin-top": 7,
"margin-bottom":0, "margin-bottom": 0,
"exclusive":true, "exclusive": true,
"passthrough":false, "passthrough": false,
"gtk-layer-shell":true, "gtk-layer-shell": true,
"reload_style_on_change":true, "reload_style_on_change": true,
"modules-left":[ "modules-left": [
"custom/smallspacer", "custom/smallspacer",
"hyprland/workspaces", "hyprland/workspaces",
"custom/spacer" "custom/spacer"
], ],
"modules-center":[ "modules-center": [
"custom/padd", "custom/padd",
"custom/l_end", "custom/l_end",
"custom/r_end", "custom/r_end",
"hyprland/window", "hyprland/window",
"custom/padd" "custom/padd"
], ],
"modules-right":[ "modules-right": [
"custom/padd", "custom/padd",
"custom/l_end", "custom/l_end",
"tray", "tray",
@ -35,14 +35,14 @@
"clock", "clock",
"custom/padd" "custom/padd"
], ],
"custom/smallspacer":{ "custom/smallspacer": {
"format":"" "format": ""
}, },
"memory":{ "memory": {
"interval":1, "interval": 1,
"rotate":270, "rotate": 270,
"format":"{icon}", "format": "{icon}",
"format-icons":[ "format-icons": [
"󰝦", "󰝦",
"󰪞", "󰪞",
"󰪟", "󰪟",
@ -53,13 +53,13 @@
"󰪤", "󰪤",
"󰪥" "󰪥"
], ],
"max-length":10 "max-length": 10
}, },
"cpu":{ "cpu": {
"interval":1, "interval": 1,
"format":"{icon}", "format": "{icon}",
"rotate":270, "rotate": 270,
"format-icons":[ "format-icons": [
"󰝦", "󰝦",
"󰪞", "󰪞",
"󰪟", "󰪟",
@ -71,135 +71,135 @@
"󰪥" "󰪥"
] ]
}, },
"tray":{ "tray": {
"icon-size":18, "icon-size": 18,
"rotate":0, "rotate": 0,
"spacing":3 "spacing": 3
}, },
"hyprland/window":{ "hyprland/window": {
"format":"<span weight='bold' >{initialTitle}</span>", "format": "<span weight='bold' >{initialTitle}</span>",
"max-length":120, "max-length": 120,
"separate-outputs":true, "separate-outputs": true,
"icon":false, "icon": false,
"icon-size":18 "icon-size": 18
}, },
"custom/spacer":{ "custom/spacer": {
"format":"|" "format": "|"
}, },
"hyprland/workspaces":{ "hyprland/workspaces": {
"format":"{icon}", "format": "{icon}",
"format-icons":{ "format-icons": {
"default":"○", "default": "○",
"active":"", "active": ""
} }
}, },
"wlr/workspaces":{ "wlr/workspaces": {
"persistent-workspaces":{ "persistent-workspaces": {
"1":[ "1": [
"DP-2" "DP-2"
], ],
"2":[ "2": [
"HDMI-A-1" "HDMI-A-1"
], ],
"3":[ "3": [
"DP-2" "DP-2"
], ],
"4":[ "4": [
"HDMI-A-1" "HDMI-A-1"
] ]
} }
}, },
"idle_inhibitor":{ "idle_inhibitor": {
"format":"{icon}", "format": "{icon}",
"rotate":0, "rotate": 0,
"format-icons":{ "format-icons": {
"activated":"󰥔", "activated": "󰥔",
"deactivated":"" "deactivated": ""
} }
}, },
"clock":{ "clock": {
"format":"{:%H:%M}", "format": "{:%H:%M}",
"rotate":0, "rotate": 0,
"tooltip-format":"<tt>{calendar}</tt>", "tooltip-format": "<tt>{calendar}</tt>",
"calendar":{ "calendar": {
"mode":"month", "mode": "month",
"mode-mon-col":3, "mode-mon-col": 3,
"on-scroll":1, "on-scroll": 1,
"on-click-right":"mode", "on-click-right": "mode",
"format":{ "format": {
"months":"<span color='#ffead3'><b>{}</b></span>", "months": "<span color='#ffead3'><b>{}</b></span>",
"weekdays":"<span color='#ffcc66'><b>{}</b></span>", "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today":"<span color='#ff6699'><b>{}</b></span>" "today": "<span color='#ff6699'><b>{}</b></span>"
} }
}, },
"actions":{ "actions": {
"on-click-right":"mode", "on-click-right": "mode",
"on-click-forward":"tz_up", "on-click-forward": "tz_up",
"on-click-backward":"tz_down", "on-click-backward": "tz_down",
"on-scroll-up":"shift_up", "on-scroll-up": "shift_up",
"on-scroll-down":"shift_down" "on-scroll-down": "shift_down"
} }
}, },
"pulseaudio":{ "pulseaudio": {
"format":" {icon}", "format": " {icon}",
"rotate":0, "rotate": 0,
"format-muted":"婢", "format-muted": "婢",
"tooltip-format":"{icon} {desc} // {volume}%", "tooltip-format": "{icon} {desc} // {volume}%",
"scroll-step":5, "scroll-step": 5,
"format-icons":{ "format-icons": {
"headphone":"", "headphone": "",
"hands-free":"", "hands-free": "",
"headset":"", "headset": "",
"phone":"", "phone": "",
"portable":"", "portable": "",
"car":"", "car": "",
"default":[ "default": [
"", "",
"", "",
"" ""
] ]
} }
}, },
"custom/l_end":{ "custom/l_end": {
"format":" ", "format": " ",
"interval":"once", "interval": "once",
"tooltip":false "tooltip": false
}, },
"custom/r_end":{ "custom/r_end": {
"format":" ", "format": " ",
"interval":"once", "interval": "once",
"tooltip":false "tooltip": false
}, },
"custom/sl_end":{ "custom/sl_end": {
"format":" ", "format": " ",
"interval":"once", "interval": "once",
"tooltip":false "tooltip": false
}, },
"custom/sr_end":{ "custom/sr_end": {
"format":" ", "format": " ",
"interval":"once", "interval": "once",
"tooltip":false "tooltip": false
}, },
"custom/rl_end":{ "custom/rl_end": {
"format":" ", "format": " ",
"interval":"once", "interval": "once",
"tooltip":false "tooltip": false
}, },
"custom/rr_end":{ "custom/rr_end": {
"format":" ", "format": " ",
"interval":"once", "interval": "once",
"tooltip":false "tooltip": false
}, },
"custom/padd":{ "custom/padd": {
"format":" ", "format": " ",
"interval":"once", "interval": "once",
"tooltip":false "tooltip": false
}, },
"pulseaudio/slider":{ "pulseaudio/slider": {
"min":5, "min": 5,
"max":100, "max": 100,
"rotate":0, "rotate": 0,
"device":"pulseaudio", "device": "pulseaudio",
"scroll-step":1 "scroll-step": 1
} }
} }

View file

@ -9,7 +9,7 @@ window#waybar {
background: #0F0F17; background: #0F0F17;
/* border-radius: 15px; */ /* border-radius: 15px; */
/* border: 2px solid #124323; */ /* border: 2px solid #124323; */
/* border: 0px solid #A1BDCE; */ /* border: 0px solid #A1BDCE; */
border: 3px solid rgba(255, 255, 255, 0.1); border: 3px solid rgba(255, 255, 255, 0.1);
border-radius: 10px; border-radius: 10px;
} }
@ -23,9 +23,10 @@ tooltip {
border: 2px solid #101a24; border: 2px solid #101a24;
} }
#workspaces{
background: rgba(23, 23, 23, 0.0); #workspaces {
background: rgba(23, 23, 23, 0.0);
color: #888789; color: #888789;
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
@ -38,7 +39,7 @@ background: rgba(23, 23, 23, 0.0);
#workspaces button { #workspaces button {
background: rgba(23, 23, 23, 0.0); background: rgba(23, 23, 23, 0.0);
color: #A1BDCE; color: #A1BDCE;
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
@ -62,7 +63,7 @@ background: rgba(23, 23, 23, 0.0);
background: none; background: none;
color: #72D792; color: #72D792;
animation: ws_hover 20s ease-in-out 1; animation: ws_hover 20s ease-in-out 1;
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); transition: all 0.5s cubic-bezier(.55, -0.68, .48, 1.682);
} }
#taskbar button { #taskbar button {
@ -88,7 +89,7 @@ background: rgba(23, 23, 23, 0.0);
padding-right: 12px; padding-right: 12px;
margin-right: 3px; margin-right: 3px;
animation: tb_active 20s ease-in-out 1; animation: tb_active 20s ease-in-out 1;
transition: all 0.4s cubic-bezier(.55,-0.68,.48,1.682); transition: all 0.4s cubic-bezier(.55, -0.68, .48, 1.682);
min-height: 9px; min-height: 9px;
} }
@ -96,7 +97,7 @@ background: rgba(23, 23, 23, 0.0);
background: @wb-hvr-bg; background: @wb-hvr-bg;
color: @wb-hvr-color; color: @wb-hvr-color;
animation: tb_hover 20s ease-in-out 1; animation: tb_hover 20s ease-in-out 1;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); transition: all 0.3s cubic-bezier(.55, -0.68, .48, 1.682);
} }
#tray menu * { #tray menu * {
@ -111,10 +112,11 @@ background: rgba(23, 23, 23, 0.0);
} }
#custom-spacer{ #custom-spacer {
opacity: 0.0; opacity: 0.0;
} }
#custom-smallspacer{
#custom-smallspacer {
opacity: 0.0; opacity: 0.0;
} }
@ -128,7 +130,7 @@ background: rgba(23, 23, 23, 0.0);
} }
#clock{ #clock {
color: #A1BDCE; color: #A1BDCE;
font-size: 15px; font-size: 15px;
font-weight: 900; font-weight: 900;
@ -142,10 +144,10 @@ background: rgba(23, 23, 23, 0.0);
} }
#pulseaudio{ #pulseaudio {
font-weight: normal; font-weight: normal;
font-size: 20px; font-size: 20px;
color: #6F8FDB; color: #6F8FDB;
background: rgba(22, 19, 32, 0.0); background: rgba(22, 19, 32, 0.0);
opacity: 1; opacity: 1;
margin: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;
@ -153,15 +155,16 @@ color: #6F8FDB;
padding-right: 3px; padding-right: 3px;
} }
#cpu{ #cpu {
font-weight: normal; font-weight: normal;
font-size: 24px; font-size: 24px;
color: #915CAF; color: #915CAF;
} }
#memory{
font-weight: normal; #memory {
font-size: 24px; font-weight: normal;
color: #E4C9AF; font-size: 24px;
color: #E4C9AF;
} }
@keyframes blink { @keyframes blink {
@ -170,22 +173,25 @@ color: #E4C9AF;
} }
} }
#tray, #tray,
#window{ #window {
color: #A1BDCE; color: #A1BDCE;
font-family: "Martian Mono"; font-family: "Martian Mono";
} }
#custom-l_end, #custom-l_end,
#custom-r_end, #custom-r_end,
#custom-sl_end, #custom-sl_end,
#custom-sr_end, #custom-sr_end,
#custom-rl_end, #custom-rl_end,
#upower#headset, #upower#headset,
#upower{ #upower {
color: #a6d189; color: #a6d189;
} }
#custom-rr_end { #custom-rr_end {
font-weight: normal; font-weight: normal;
color: #E8EDF0; color: #E8EDF0;
background: rgba(23, 23, 23, 0.0); background: rgba(23, 23, 23, 0.0);
opacity: 1; opacity: 1;
@ -265,4 +271,3 @@ font-weight: normal;
color: #A1BDCE; color: #A1BDCE;
font-size: 16px; font-size: 16px;
} }