more customization

This commit is contained in:
chloe 2025-01-31 01:30:54 +01:00
parent 2a1a02645d
commit 777d704487
5 changed files with 39 additions and 20 deletions

View file

@ -1,8 +1,8 @@
{
"layer": "top",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-left": ["custom/launcher", "sway/workspaces", "sway/mode"],
"modules-center": [],
"modules-right": ["wireplumber", "bluetooth", "network", "clock", "privacy"],
"modules-right": ["tray", "bluetooth", "network", "clock", "privacy"],
"clock": {
"format-alt": "{:%a, %d. %b %H:%M}"
},
@ -40,7 +40,7 @@
"network": {
"interface": "wlp3s0",
"format": "{ifname}",
"format-wifi": " ",
"format-wifi": "",
"format-ethernet": "󰈀",
"format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} 󰈀",
@ -50,7 +50,7 @@
"max-length": 50
},
"bluetooth": {
"format": "",
"format": "",
"format-disabled": "",
"format-connected": ""
},
@ -74,5 +74,7 @@
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
}
},
"custom/launcher": {},
"custom/controlpanel": {}
}

View file

@ -1,19 +1,25 @@
@define-color primary rgba(123, 0, 44, 1);
* {
font-family: "CodeNewRoman Nerd Font";
padding: 0;
border-radius: 0;
min-height: 0;
margin: 0;
border: none;
text-shadow: none;
transition: none;
box-shadow: none;
font-family: "DM Sans", "CodeNewRoman Nerd Font", sans-serif;
font-weight: bold;
font-size: 12px;
color: #000;
}
window#waybar {
margin: 12px 24px;
background-color: #fff;
border: solid 2px @primary;
/*border: solid 2px @primary;*/
min-height: 14px; /* set waybar's height to 14px */
font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */
border-radius: 12px;
}
#clock,
@ -24,9 +30,19 @@ window#waybar {
padding: 0 12px;
}
#workspaces button {
border-radius: 0;
}
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button.focused {
background-color: #000;
color: #fff !important;
}
#workspaces {
padding: 4px 0;
}