First commit

This commit is contained in:
Fern Garden 2025-05-07 22:17:09 +08:00
commit b99375976e
24 changed files with 855 additions and 0 deletions

View file

@ -0,0 +1,100 @@
{
"layer": "top",
"position": "top",
"modules-left": [ "niri/workspaces" ],
"modules-right": [
"tray",
"idle_inhibitor",
"network#ethernet",
"network#wifi",
"battery#bat0",
"battery#bat1",
"wireplumber",
"clock"
],
"tray": {
"icon-size": 13,
"spacing": 8,
},
"idle_inhibitor": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"activated": "󰅶",
"deactivated": "󰒲",
},
},
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
"browser": "󰈹",
"work": "󰈙",
"games": "󰊗",
"media": "󰝚",
"chat": "󰭹",
"notes": "󰙏",
"default": "",
},
},
"network#ethernet": {
"interface": "enp0s31f6",
"tooltip": false,
"format": "󰈀",
"format-disconnected": "",
},
"network#wifi": {
"interface": "wlp3s0",
"tooltip": true,
"tooltip-format": "{essid}",
"format": "{icon}",
"format-disconnected": "",
"format-icons": [ "󰤟", "󰤢", "󰤥", "󰤨" ],
"on-click": "nm-connection-editor",
},
"clock": {
"tooltip": true,
"tooltip-format": "{:%A %d %B}",
"format": "󰥔 {:%H:%M}",
},
"wireplumber": {
"on-click": "pavucontrol -t 3",
"tooltip": false,
"format": "{icon} {volume}%",
"format-muted": "󰝟",
"format-icons": [ "󰕿", "󰖀", "󰕾" ],
},
"battery#bat0": {
"bat": "BAT0",
"tooltip": true,
"tooltip-format": "BAT0: {capacity}%",
"states": {
"warning": 30,
"critical": 15,
},
"format-icons": [ "󰁺","󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹" ],
"format": "{icon}",
"format-charging": "󰂄",
},
"battery#bat1": {
"bat": "BAT1",
"tooltip": true,
"tooltip-format": "BAT1: {capacity}%",
"states": {
"warning": 30,
"critical": 15,
},
"format-icons": [ "󰁺","󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹" ],
"format": "{icon}",
"format-charging": "󰂄",
},
}

View file

@ -0,0 +1,98 @@
* {
font-family: Fira Sans;
font-size: 16px;
}
window#waybar {
background-color: #151515;
color: #e8e3e3;
border: none;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 0;
}
button:hover {
background: inherit;
box-shadow: inset 0 -2px #e3e8e8;
}
#workspaces button {
padding: 5px 8px;
background-color: transparent;
color: #e8e3e3;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
box-shadow: inset 0 -2px #e8e3e3;
}
#workspaces button.urgent {
color: #b66467;
}
#workspaces button.empty {
color: #424242;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#power-profiles-daemon,
#mpd {
padding: 5px 8px;
color: #e8e3e3;
}
#window,
#workspaces {
margin: 0 4px;
}
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
label:focus {
background-color: #e8e3e3;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}