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

View file

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