mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 22:50:19 +02:00
more niri related config
This commit is contained in:
parent
4789d2e5d7
commit
cf5af467fa
8 changed files with 199 additions and 87 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["custom/launcher", "niri/workspaces"],
|
||||
"modules-left": ["custom/launcher", "niri/workspaces", "niri/window"],
|
||||
"modules-center": [],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
|
@ -46,7 +46,7 @@
|
|||
"format-wifi": " ",
|
||||
"format-ethernet": "",
|
||||
"format-disconnected": "", //An empty format will hide the module.
|
||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"tooltip-format-ethernet": "{ifname} ",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
|
@ -77,5 +77,8 @@
|
|||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 10
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,16 +10,15 @@
|
|||
text-shadow: none;
|
||||
transition: none;
|
||||
box-shadow: none;
|
||||
font-family: "DM Sans", "CodeNewRoman Nerd Font", sans-serif;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: @base;
|
||||
padding-right: 12px;
|
||||
/*border: solid 2px @primary;*/
|
||||
#waybar {
|
||||
font-family: "DM Sans", "CodeNewRoman Nerd Font", sans-serif;
|
||||
padding: 4px 8px;
|
||||
background-color: transparent;
|
||||
border-radius: 12px;
|
||||
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 */
|
||||
}
|
||||
|
@ -28,8 +27,14 @@ window#waybar {
|
|||
#battery,
|
||||
#cpu,
|
||||
#wireplumber,
|
||||
#bluetooth {
|
||||
padding: 0 12px;
|
||||
#bluetooth,
|
||||
#network {
|
||||
padding: 4px 12px;
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#clock {
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
|
@ -39,14 +44,20 @@ window#waybar {
|
|||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background-color: @surface1;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #000;
|
||||
background-color: @surface1;
|
||||
color: #fff;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
background-color: @surface0;
|
||||
padding: 2px 4px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
#privacy-item.screenshare {
|
||||
|
@ -58,3 +69,28 @@ window#waybar {
|
|||
color: #000;
|
||||
background-color: #ffae42;
|
||||
}
|
||||
|
||||
#network {
|
||||
border-radius: 12px 0 0 12px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: @surface0;
|
||||
border-radius: 12px;
|
||||
padding: 2px 4px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
#window {
|
||||
margin-left: 16px;
|
||||
background-color: @surface0;
|
||||
font-family: "light";
|
||||
|
||||
border-radius: 12px;
|
||||
padding: 2px 4px;
|
||||
color: @text;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue