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,205 +1,205 @@
{ {
"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": [
"custom/padd",
"custom/l_end",
"custom/r_end",
"hyprland/window",
"custom/padd"
],
"modules-right": [
"custom/padd",
"custom/l_end",
"tray",
"custom/smallspacer",
"pulseaudio",
"pulseaudio/slider",
"memory",
"cpu",
"clock",
"custom/padd"
],
"custom/smallspacer": {
"format": ""
},
"memory": {
"interval": 1,
"rotate": 270,
"format": "{icon}",
"format-icons": [
"󰝦",
"󰪞",
"󰪟",
"󰪠",
"󰪡",
"󰪢",
"󰪣",
"󰪤",
"󰪥"
], ],
"modules-center":[ "max-length": 10
"custom/padd", },
"custom/l_end", "cpu": {
"custom/r_end", "interval": 1,
"hyprland/window", "format": "{icon}",
"custom/padd" "rotate": 270,
], "format-icons": [
"modules-right":[ "󰝦",
"custom/padd", "󰪞",
"custom/l_end", "󰪟",
"tray", "󰪠",
"custom/smallspacer", "󰪡",
"pulseaudio", "󰪢",
"pulseaudio/slider", "󰪣",
"memory", "󰪤",
"cpu", "󰪥"
"clock", ]
"custom/padd" },
], "tray": {
"custom/smallspacer":{ "icon-size": 18,
"format":"" "rotate": 0,
}, "spacing": 3
"memory":{ },
"interval":1, "hyprland/window": {
"rotate":270, "format": "<span weight='bold' >{initialTitle}</span>",
"format":"{icon}", "max-length": 120,
"format-icons":[ "separate-outputs": true,
"󰝦", "icon": false,
"󰪞", "icon-size": 18
"󰪟", },
"󰪠", "custom/spacer": {
"󰪡", "format": "|"
"󰪢", },
"󰪣", "hyprland/workspaces": {
"󰪤", "format": "{icon}",
"󰪥" "format-icons": {
], "default": "○",
"max-length":10 "active": ""
},
"cpu":{
"interval":1,
"format":"{icon}",
"rotate":270,
"format-icons":[
"󰝦",
"󰪞",
"󰪟",
"󰪠",
"󰪡",
"󰪢",
"󰪣",
"󰪤",
"󰪥"
]
},
"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
},
"custom/spacer":{
"format":"|"
},
"hyprland/workspaces":{
"format":"{icon}",
"format-icons":{
"default":"○",
"active":"",
}
},
"wlr/workspaces":{
"persistent-workspaces":{
"1":[
"DP-2"
],
"2":[
"HDMI-A-1"
],
"3":[
"DP-2"
],
"4":[
"HDMI-A-1"
]
}
},
"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>"
}
},
"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":[
"",
"",
""
]
}
},
"custom/l_end":{
"format":" ",
"interval":"once",
"tooltip":false
},
"custom/r_end":{
"format":" ",
"interval":"once",
"tooltip":false
},
"custom/sl_end":{
"format":" ",
"interval":"once",
"tooltip":false
},
"custom/sr_end":{
"format":" ",
"interval":"once",
"tooltip":false
},
"custom/rl_end":{
"format":" ",
"interval":"once",
"tooltip":false
},
"custom/rr_end":{
"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
} }
},
"wlr/workspaces": {
"persistent-workspaces": {
"1": [
"DP-2"
],
"2": [
"HDMI-A-1"
],
"3": [
"DP-2"
],
"4": [
"HDMI-A-1"
]
}
},
"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>"
}
},
"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": [
"",
"",
""
]
}
},
"custom/l_end": {
"format": " ",
"interval": "once",
"tooltip": false
},
"custom/r_end": {
"format": " ",
"interval": "once",
"tooltip": false
},
"custom/sl_end": {
"format": " ",
"interval": "once",
"tooltip": false
},
"custom/sr_end": {
"format": " ",
"interval": "once",
"tooltip": false
},
"custom/rl_end": {
"format": " ",
"interval": "once",
"tooltip": false
},
"custom/rr_end": {
"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
}
} }

View file

@ -1,197 +1,203 @@
* { * {
font-family: "JetBrains Mono Nerd Font"; font-family: "JetBrains Mono Nerd Font";
/*font-family: "JetBrainsMono Nerd Font";*/ /*font-family: "JetBrainsMono Nerd Font";*/
font-weight: bold; font-weight: bold;
font-size: 16px; font-size: 16px;
} }
window#waybar { 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;
} }
tooltip { tooltip {
background: #171717; background: #171717;
color: #A1BDCE; color: #A1BDCE;
font-size: 13px; font-size: 13px;
border-radius: 7px; border-radius: 7px;
border: 2px solid #101a24; border: 2px solid #101a24;
} }
#workspaces{
background: rgba(23, 23, 23, 0.0); #workspaces {
color: #888789; background: rgba(23, 23, 23, 0.0);
box-shadow: none; color: #888789;
text-shadow: none; box-shadow: none;
border-radius: 9px; text-shadow: none;
transition: 0.2s ease; border-radius: 9px;
padding-left: 4px; transition: 0.2s ease;
padding-right: 4px; padding-left: 4px;
padding-top: 1px; padding-right: 4px;
padding-top: 1px;
} }
#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;
border-radius: 9px; border-radius: 9px;
transition: 0.2s ease; transition: 0.2s ease;
padding-left: 4px; padding-left: 4px;
padding-right: 4px; padding-right: 4px;
/* animation: ws_normal 20s ease-in-out 1; */ /* animation: ws_normal 20s ease-in-out 1; */
} }
#workspaces button.active { #workspaces button.active {
/* background-image: url("/home/anik/Documents/bar1.png");*/ /* background-image: url("/home/anik/Documents/bar1.png");*/
color: #A1BDCE; color: #A1BDCE;
transition: all 0.3s ease; transition: all 0.3s ease;
padding-left: 4px; padding-left: 4px;
padding-right: 4px; padding-right: 4px;
/* transition: all 0.4s cubic-bezier(.55,0.68,.48,1.682); */ /* transition: all 0.4s cubic-bezier(.55,0.68,.48,1.682); */
} }
#workspaces button:hover { #workspaces button:hover {
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 {
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
font-size: 4px; font-size: 4px;
padding: 0px; padding: 0px;
border-radius: 9px; border-radius: 9px;
margin-bottom: 3px; margin-bottom: 3px;
margin-left: 0px; margin-left: 0px;
padding-left: 3px; padding-left: 3px;
padding-right: 3px; padding-right: 3px;
margin-right: 0px; margin-right: 0px;
color: @wb-color; color: @wb-color;
animation: tb_normal 20s ease-in-out 1; animation: tb_normal 20s ease-in-out 1;
} }
#taskbar button.active { #taskbar button.active {
background: @wb-act-bg; background: @wb-act-bg;
color: @wb-act-color; color: @wb-act-color;
margin-left: 3px; margin-left: 3px;
padding-left: 12px; padding-left: 12px;
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;
} }
#taskbar button:hover { #taskbar button:hover {
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 * {
min-height: 16px; min-height: 16px;
font-weight: bold; font-weight: bold;
font-size: 13px; font-size: 13px;
color: #9488e3; color: #9488e3;
} }
#tray menu separator { #tray menu separator {
min-height: 10px min-height: 10px
} }
#custom-spacer{ #custom-spacer {
opacity: 0.0; opacity: 0.0;
} }
#custom-smallspacer{
opacity: 0.0; #custom-smallspacer {
opacity: 0.0;
} }
#bluetooth { #bluetooth {
color: #E6E7E7; color: #E6E7E7;
background: #161320; background: #161320;
opacity: 1; opacity: 1;
margin: 4px 0px 4px 0px; margin: 4px 0px 4px 0px;
padding-left: 4px; padding-left: 4px;
padding-right: 4px; padding-right: 4px;
} }
#clock{ #clock {
color: #A1BDCE; color: #A1BDCE;
font-size: 15px; font-size: 15px;
font-weight: 900; font-weight: 900;
font-family: "JetBrains Mono Nerd Font"; font-family: "JetBrains Mono Nerd Font";
background: rgba(23, 23, 23, 0.0); background: rgba(23, 23, 23, 0.0);
opacity: 1; opacity: 1;
margin: 3px 0px 0px 0px; margin: 3px 0px 0px 0px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
border: none; border: none;
} }
#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;
padding-left: 3px; padding-left: 3px;
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 {
to { to {
color: #4a4a4a; color: #4a4a4a;
} }
} }
#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;
margin: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;
padding-left: 4px; padding-left: 4px;
padding-right: 4px; padding-right: 4px;
; ;
} }
@ -218,51 +224,50 @@ font-weight: normal;
} }
#taskbar { #taskbar {
padding: 1px; padding: 1px;
} }
#custom-r_end { #custom-r_end {
border-radius: 0px 7px 7px 0px; border-radius: 0px 7px 7px 0px;
margin-right: 1px; margin-right: 1px;
padding-right: 3px; padding-right: 3px;
} }
#custom-l_end { #custom-l_end {
border-radius: 7px 0px 0px 7px; border-radius: 7px 0px 0px 7px;
margin-left: 1px; margin-left: 1px;
padding-left: 3px; padding-left: 3px;
} }
#custom-sr_end { #custom-sr_end {
border-radius: 0px; border-radius: 0px;
margin-right: 1px; margin-right: 1px;
padding-right: 3px; padding-right: 3px;
} }
#custom-sl_end { #custom-sl_end {
border-radius: 0px; border-radius: 0px;
margin-left: 1px; margin-left: 1px;
padding-left: 3px; padding-left: 3px;
} }
#custom-rr_end { #custom-rr_end {
border-radius: 0px 7px 7px 0px; border-radius: 0px 7px 7px 0px;
margin-right: 1px; margin-right: 1px;
padding-right: 3px; padding-right: 3px;
} }
#custom-rl_end { #custom-rl_end {
border-radius: 7px 0px 0px 7px; border-radius: 7px 0px 0px 7px;
margin-left: 1px; margin-left: 1px;
padding-left: 3px; padding-left: 3px;
} }
/* Style for launchers */ /* Style for launchers */
#custom-expand { #custom-expand {
min-width: 25px; min-width: 25px;
color: #A1BDCE; color: #A1BDCE;
font-size: 16px; font-size: 16px;
} }