cleaning out dead code

This commit is contained in:
ari committed 2026-04-28 17:36:07 -04:00
1 parent c94b2923e8
commit cce7a201de
16 files changed
-1402

No files matched your search

-78
View File
@@ -1,78 +0,0 @@
anchor_to_edges = true
position = "top"
icon_theme = "Paper"
[[end]]
type = "volume"
format = "{icon} {percentage}%"
max_volume = 100
[end.icons]
volume_high = "󰕾"
volume_medium = "󰖀"
volume_low = "󰕿"
muted = "󰝟"
[[end]]
type = "clipboard"
max_items = 3
[end.truncate]
mode = "end"
length = 50
[[end]]
type = "custom"
class = "power-menu"
tooltip = "Up: {{30000:uptime -p | cut -d ' ' -f2-}}"
[[end.bar]]
type = "button"
name = "power-btn"
label = ""
on_click = "popup:toggle"
[[end.popup]]
type = "box"
orientation = "vertical"
[[end.popup.widgets]]
type = "label"
name = "header"
label = "Power menu"
[[end.popup.widgets]]
type = "box"
[[end.popup.widgets.widgets]]
type = "button"
class = "power-btn"
label = "<span font-size='40pt'></span>"
on_click = "!shutdown now"
[[end.popup.widgets.widgets]]
type = "button"
class = "power-btn"
label = "<span font-size='40pt'></span>"
on_click = "!reboot"
[[end.popup.widgets]]
type = "label"
name = "uptime"
label = "Uptime: {{30000:uptime -p | cut -d ' ' -f2-}}"
[[end]]
type = "clock"
[[end]]
type = "notifications"
show_count = true
[end.icons]
closed_none = "󰍥"
closed_some = "󱥂"
closed_dnd = "󱅯"
open_none = "󰍡"
open_some = "󱥁"
open_dnd = "󱅮"
-275
View File
@@ -1,275 +0,0 @@
@define-color color_bg #2d2d2d;
@define-color color_bg_dark #1c1c1c;
@define-color color_border #424242;
@define-color color_border_active #6699cc;
@define-color color_text #ffffff;
@define-color color_urgent #8f0a0a;
/* -- base styles -- */
* {
font-family: Noto Sans Nerd Font, sans-serif;
font-size: 16px;
border: none;
border-radius: 0;
}
box,
menubar,
button {
background-color: @color_bg;
background-image: none;
box-shadow: none;
}
button,
label {
color: @color_text;
}
button:hover {
background-color: @color_bg_dark;
}
scale trough {
min-width: 1px;
min-height: 2px;
}
#bar {
border-top: 1px solid @color_border;
}
.popup {
border: 1px solid @color_border;
padding: 1em;
}
/* -- bluetooth -- */
.popup-bluetooth {
min-height: 14em;
min-width: 24em;
}
.popup-bluetooth .header {
padding-bottom: 1.0em;
margin-bottom: 0.6em;
border-bottom: 1px solid @color_border;
}
.popup-bluetooth .header .label {
margin-left: 0.5em;
}
.popup-bluetooth .disabled .spinner {
min-width: 2.0em;
min-height: 2.0em;
padding: 0.4em;
}
.popup-bluetooth .devices .box .device {
margin-bottom: 0.4em;
}
.popup-bluetooth .devices .icon {
min-width: 2.5em;
min-height: 2.5em;
margin-right: 0.8em;
}
.popup-bluetooth .devices .box .device .status .footer-label {
font-size: 0.8em;
}
.popup-bluetooth .devices .box .device .spinner {
min-width: 1.5em;
min-height: 1.5em;
margin: 0.5em;
}
/* -- clipboard -- */
.clipboard {
margin-left: 5px;
font-size: 1.1em;
}
.popup-clipboard .item {
padding-bottom: 0.3em;
border-bottom: 1px solid @color_border;
}
/* -- clock -- */
.clock {
font-weight: bold;
margin-left: 5px;
}
.popup-clock .calendar-clock {
color: @color_text;
font-size: 2.5em;
padding-bottom: 0.1em;
}
.popup-clock .calendar {
background-color: @color_bg;
color: @color_text;
}
.popup-clock .calendar .header {
padding-top: 1em;
border-top: 1px solid @color_border;
font-size: 1.5em;
}
.popup-clock .calendar:selected {
background-color: @color_border_active;
}
/* -- launcher -- */
.launcher .item {
margin-right: 4px;
}
.launcher .ifix examtem:not(.focused):hover {
background-color: @color_bg_dark;
}
.launcher .open {
border-bottom: 1px solid @color_text;
}
.launcher .focused {
border-bottom: 1px solid @color_border_active;
}
.launcher .urgent {
border-bottom-color: @color_urgent;
}
.popup-launcher {
padding: 0;
}
.popup-launcher .popup-item:not(:first-child) {
border-top: 1px solid @color_border;
}
/* -- music -- */
.music:hover * {
background-color: @color_bg_dark;
}
.popup-music .album-art {
margin-right: 1em;
}
.popup-music .icon-box {
margin-right: 0.4em;
}
.popup-music .title .icon,
.popup-music .title .label {
font-size: 1.7em;
}
.popup-music .controls *:disabled {
color: @color_border;
}
.popup-music .volume .slider slider {
border-radius: 100%;
}
.popup-music .volume .icon {
margin-left: 4px;
}
.popup-music .progress .slider slider {
border-radius: 100%;
}
/* notifications */
.notifications .count {
font-size: 0.6rem;
background-color: @color_text;
color: @color_bg;
border-radius: 100%;
margin-right: 3px;
margin-top: 3px;
padding-left: 4px;
padding-right: 4px;
opacity: 0.7;
}
/* -- script -- */
.script {
padding-left: 10px;
}
/* -- sys_info -- */
.sysinfo {
margin-left: 10px;
}
.sysinfo .item {
margin-left: 5px;
}
/* -- tray -- */
.tray {
margin-left: 10px;
}
/* -- volume -- */
.popup-volume .device-box {
border-right: 1px solid @color_border;
}
/* -- workspaces -- */
.workspaces .item.focused {
box-shadow: inset 0 -3px;
background-color: @color_bg_dark;
}
.workspaces .item.urgent {
background-color: @color_urgent;
}
.workspaces .item:hover {
box-shadow: inset 0 -3px;
}
/* -- custom: power menu -- */
.popup-power-menu #header {
font-size: 1.4em;
padding-bottom: 0.4em;
margin-bottom: 0.6em;
border-bottom: 1px solid @color_border;
}
.popup-power-menu .power-btn {
border: 1px solid @color_border;
padding: 0.6em 1em;
}
.popup-power-menu #buttons>*:nth-child(1) .power-btn {
margin-right: 1em;
}
-22
View File
@@ -1,22 +0,0 @@
[
{
"label": "Sleep",
"exec": "systemctl suspend",
"icon": "/home/ari/.config/nwg-bar/images/system-suspend.svg"
},
{
"label": "Logout",
"exec": "niri msg action quit",
"icon": "/home/ari/.config/nwg-bar/images/system-log-out.svg"
},
{
"label": "Reboot",
"exec": "systemctl reboot",
"icon": "/home/ari/.config/nwg-bar/images/system-reboot.svg"
},
{
"label": "Shutdown",
"exec": "systemctl -i poweroff",
"icon": "/home/ari/.config/nwg-bar/images/system-shutdown.svg"
}
]
@@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="16"
height="16"
version="1"
id="svg8"
sodipodi:docname="hibernate.svg"
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1896"
inkscape:window-height="975"
id="namedview10"
showgrid="true"
inkscape:zoom="47.125"
inkscape:cx="8"
inkscape:cy="7.3421751"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1">
<inkscape:grid
id="grid1"
units="px"
originx="0"
originy="0"
spacingx="1"
spacingy="1"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="true" />
</sodipodi:namedview>
<circle
fill="#c2352a"
cx="8"
cy="8"
r="8"
id="circle2"
style="fill:none;fill-opacity:1" />
<path
fill="#fff"
d="m8 3a5 5 0 0 0 -5 5 5 5 0 0 0 5 5 5 5 0 0 0 5 -5 5 5 0 0 0 -5 -5zm0 1a4 4 0 0 1 4 4 4 4 0 0 1 -4 4 4 4 0 0 1 -4 -4 4 4 0 0 1 4 -4z"
id="path4"
style="fill:#ffffff" />
<circle
style="fill:#ffffff;stroke-width:1.63364"
id="path1"
cx="8"
cy="8"
r="2" />
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

@@ -1,60 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
version="1"
id="svg6"
sodipodi:docname="system-lock-screen.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1910"
inkscape:window-height="1045"
id="namedview8"
showgrid="false"
inkscape:zoom="38.074548"
inkscape:cx="0.24958953"
inkscape:cy="6.9152542"
inkscape:window-x="1925"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:current-layer="svg6" />
<circle
fill="#ea882b"
cx="8"
cy="8"
r="8"
id="circle2"
style="fill:none;fill-opacity:1" />
<path
style="fill:#ffffff"
d="M 8 2.9746094 C 6.3883 2.9746094 5 4.2491312 5 5.8320312 L 5 6.9746094 L 4.5097656 6.9746094 C 4.2278656 6.9746094 4 7.2253531 4 7.5019531 L 4 11.474609 C 4 11.751609 4.2278656 11.974609 4.5097656 11.974609 L 11.490234 11.974609 C 11.772234 11.974609 12 11.751609 12 11.474609 L 12 7.5019531 C 12 7.2253531 11.771234 6.9568094 11.490234 6.9746094 L 11 6.9746094 L 11 5.8320312 C 11 4.2491313 9.6114 2.9746094 8 2.9746094 z M 8 3.8632812 C 9.1751 3.8632812 10 4.68154 10 5.75 L 10 6.8632812 L 6 6.8632812 L 6 5.75 C 6 4.6814 6.8247 3.8632812 8 3.8632812 z M 7.9980469 8.4628906 A 1.0374384 1.0374384 0 0 1 9.0351562 9.5 A 1.0374384 1.0374384 0 0 1 7.9980469 10.537109 A 1.0374384 1.0374384 0 0 1 6.9609375 9.5 A 1.0374384 1.0374384 0 0 1 7.9980469 8.4628906 z "
id="path4" />
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

@@ -1,61 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
version="1"
id="svg6"
sodipodi:docname="system-log-out.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1910"
inkscape:window-height="1045"
id="namedview8"
showgrid="false"
inkscape:zoom="14.75"
inkscape:cx="-31.016949"
inkscape:cy="8"
inkscape:window-x="1925"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:current-layer="svg6" />
<circle
fill="#7bbb36"
cx="8"
cy="8"
r="8"
id="circle2"
style="fill:none;fill-opacity:1" />
<path
d="M 8,3 A 5,5 0 0 1 13,8 5,5 0 0 1 8,13 5,5 0 0 1 3,8 5,5 0 0 1 8,3 Z M 8,4 A 4,4 0 0 0 4,8 4,4 0 0 0 8,12 4,4 0 0 0 12,8 4,4 0 0 0 8,4 Z M 8,6 9.4863,7.0254 11,8 9.4863,8.9746 8,10 8.0117,9 H 6.5 C 6.223,9 6,8.554 6,8 6,7.446 6.223,7 6.5,7 h 1.5117 z"
id="path4"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

@@ -1,65 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="16"
height="16"
version="1"
id="svg6"
sodipodi:docname="system-reboot.svg"
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1559"
inkscape:window-height="913"
id="namedview8"
showgrid="false"
inkscape:zoom="14.75"
inkscape:cx="-0.033898305"
inkscape:cy="17.288136"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg6"
inkscape:pagecheckerboard="0" />
<circle
fill="#eac046"
cx="8"
cy="8"
r="8"
id="circle2"
style="fill:none;fill-opacity:1" />
<g
aria-label=""
id="text830"
style="font-size:13.7728px;line-height:1.25;letter-spacing:0px;word-spacing:0px;fill:#ffffff;stroke-width:0.344321">
<path
d="m 11.873587,5.5521109 q 0.33625,0.5245501 0.52455,1.1567001 0.20175,0.63215 0.20175,1.2912 0,0.95495 -0.36315,1.7888501 -0.36315,0.8338999 -0.9953,1.4660499 -0.6187,0.6187 -1.4525998,0.98185 -0.8339,0.36315 -1.7888501,0.36315 v 1.7216 l -2.2865,-2.3134 2.2865,-2.2864999 v 1.7215999 q 0.71285,0 1.3450001,-0.269 0.63215,-0.269 1.0894498,-0.7263 0.47075,-0.4707499 0.73975,-1.1028999 0.269,-0.6187001 0.269,-1.3450001 0,-0.44385 -0.1076,-0.84735 -0.1076,-0.4035 -0.2959,-0.76665 z m -3.8735999,-0.9953 q -0.71285,0 -1.345,0.269 -0.63215,0.269 -1.1029001,0.73975 -0.4573,0.4707501 -0.7263,1.0894501 -0.269,0.63215 -0.269,1.345 0,0.44385 0.09415,0.84735 0.1076,0.4035001 0.30935,0.7666501 l -0.8339,0.8338999 q -0.33625,-0.5245499 -0.538,-1.1432499 -0.1883,-0.6321501 -0.1883,-1.3046501 0,-0.9415 0.36315,-1.7754 0.36315,-0.8473501 0.98185,-1.4660501 0.63215,-0.63215 1.4660501,-0.9953 0.8339,-0.36315 1.78885,-0.36315 V 1.6785108 L 10.286487,3.9919109 7.9999871,6.278411 Z"
id="path824" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.7 KiB

@@ -1,64 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
version="1"
id="svg8"
sodipodi:docname="system-shutdown.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1910"
inkscape:window-height="1045"
id="namedview10"
showgrid="false"
inkscape:zoom="14.75"
inkscape:cx="-31.016949"
inkscape:cy="8"
inkscape:window-x="1925"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
<circle
fill="#c2352a"
cx="8"
cy="8"
r="8"
id="circle2"
style="fill:none;fill-opacity:1" />
<path
fill="#fff"
d="m8 3a5 5 0 0 0 -5 5 5 5 0 0 0 5 5 5 5 0 0 0 5 -5 5 5 0 0 0 -5 -5zm0 1a4 4 0 0 1 4 4 4 4 0 0 1 -4 4 4 4 0 0 1 -4 -4 4 4 0 0 1 4 -4z"
id="path4" />
<path
fill="#fff"
d="m8 6c-0.554 0-1 0.223-1 0.5v3c0 0.277 0.446 0.5 1 0.5s1-0.223 1-0.5v-3c0-0.277-0.446-0.5-1-0.5z"
id="path6" />
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

@@ -1,69 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="16"
height="16"
version="1"
id="svg8"
sodipodi:docname="suspend.svg"
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1896"
inkscape:window-height="975"
id="namedview10"
showgrid="false"
inkscape:zoom="47.125"
inkscape:cx="8"
inkscape:cy="7.3421751"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" />
<circle
fill="#c2352a"
cx="8"
cy="8"
r="8"
id="circle2"
style="fill:none;fill-opacity:1" />
<path
fill="#fff"
d="m8 3a5 5 0 0 0 -5 5 5 5 0 0 0 5 5 5 5 0 0 0 5 -5 5 5 0 0 0 -5 -5zm0 1a4 4 0 0 1 4 4 4 4 0 0 1 -4 4 4 4 0 0 1 -4 -4 4 4 0 0 1 4 -4z"
id="path4"
style="fill:#ffffff" />
<path
fill="#fff"
d="M 10,8 C 10,7.446 9.777,7 9.5,7 h -3 C 6.223,7 6,7.446 6,8 6,8.554 6.223,9 6.5,9 h 3 C 9.777,9 10,8.554 10,8 Z"
id="path6"
style="fill:#ffffff" />
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

-38
View File
@@ -1,38 +0,0 @@
* {
color: white
}
window {
background-color: rgba (0, 0, 0, 1.0);
}
#outer-box {
margin: 0px
}
#inner-box {
background-color: rgba (0, 0, 0, 0.85);
border-radius: 10px;
border-style: none;
border-width: 1px;
border-color: rgba (156, 142, 122, 0.7);
padding: 5px;
margin: 5px
}
button,
image {
background: none;
border: none;
box-shadow: none
}
button {
padding-left: 10px;
padding-right: 10px;
margin: 5px
}
button:hover {
background-color: rgba (255, 255, 255, 0.1)
}
-18
View File
@@ -1,18 +0,0 @@
#!/bin/sh
killall -q waybar
sleep 1
waybar --config /home/ari/nixos-setup/configs/niri/waybar/bottom-bar.jsonc &
waybar --config /home/ari/nixos-setup/configs/niri/waybar/top-bar.jsonc --style /home/ari/nixos-setup/configs/niri/waybar/top-bar.css &
waypaper --restore
killall -q hypridle
hypridle &
killall -q swayosd-server
swayosd-server &
killall -q walker
walker --gapplication-service &
notify-send "Niri Startup Script" "Completed 🎉"
-88
View File
@@ -1,88 +0,0 @@
* {
font-family: "Fira Code", "SF Pro Display", sans-serif;
font-size: 10px;
}
window#waybar {
background-color: transparent;
color: #ffffff;
}
window#waybar.hidden {
opacity: 0.2;
}
/* === Reset button styles === */
/* button {
box-shadow: none;
border: none;
border-radius: 0;
transition: background-color 0.15s ease, border-color 0.15s ease;
}
button:hover {
background: none;
box-shadow: none;
text-shadow: none;
border: none;
-gtk-icon-effect: none;
-gtk-icon-shadow: none;
} */
/* === Workspaces as a tray === */
/* #workspaces {
margin: 0 10px;
padding: 0 4px;
background: transparent;
border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}
#workspaces button {
background: transparent;
color: #ffffff;
margin: 0 6px;
padding: 6px 10px;
border-radius: 0;
border-bottom: 2px solid transparent;
}
#workspaces button:hover {
border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}
#workspaces button.focused {
border-bottom: 2px solid rgba(255, 255, 255, 0.9);
}
#workspaces button.urgent {
border-bottom: 2px solid #eb4d4b;
} */
/* === Taskbar as a tray === */
/* #taskbar {
background: transparent;
margin: 0 10px;
padding: 0 4px;
border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}
#taskbar button {
color: #f0f0ff;
margin: 0 6px;
padding: 6px 10px;
border-radius: 0;
border-bottom: 2px solid transparent;
}
#taskbar button:hover {
border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}
#taskbar button.active {
border-bottom: 2px solid rgba(255, 255, 255, 0.9);
}
#taskbar button.active:hover {
border-bottom: 2px solid rgba(255, 255, 255, 1.0);
} */
-31
View File
@@ -1,31 +0,0 @@
{
"reload_style_on_change": true,
"layer": "top",
"position": "bottom", // Waybar at bottom layer
"height": 10,
"margin-top": 0,
"margin-bottom": 4,
"margin-left": 4,
"margin-right": 4,
"spacing": 0,
"modules-left": [
"niri/workspaces"
],
"modules-center": [
"wlr/taskbar"
],
"modules-right": [],
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
"chat": "💬",
"nix-setup": "🧠",
"homelab": "🏠"
}
},
"wlr/taskbar": {
"tooltip": true,
"tooltip-format": "{title}",
"on-click": "activate"
}
}
-26
View File
@@ -1,26 +0,0 @@
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
-265
View File
@@ -1,265 +0,0 @@
* {
font-family: "Fira Code";
font-size: 14px;
}
window#waybar {
background-color: rgba(30, 30, 46, 0.5);
color: #ffffff;
}
window#waybar.hidden {
opacity: 0.2;
}
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
}
button {
box-shadow: none;
border: none;
border-radius: 0;
transition-property: none;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: none;
box-shadow: none;
text-shadow: none;
border: none;
-gtk-icon-effect: none;
-gtk-icon-shadow: none;
}
#workspaces button {
background-color: transparent;
color: #ffffff;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#keyboard-state,
#scratchpad,
#custom-logout,
#mpd {
padding: 0px 10px;
margin-right: 1px;
color: #f0f0ff;
border-radius: 5px;
}
#window,
#workspaces {
margin: 0 4px;
}
.modules-left>widget:first-child>#workspaces {
margin-left: 0;
}
.modules-right>widget:last-child>#workspaces {
margin-right: 0;
}
#clock {
font-weight: bold;
}
#battery {
margin-left: 4px;
}
#battery.charging,
#battery.plugged {
color: #ffffff;
background-color: rgba(38, 166, 91, 0.9);
}
@keyframes blink {
to {
background-color: rgba(255, 255, 255, 0.9);
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: rgba(245, 60, 60, 0.9);
color: #fff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: rgba(0, 0, 0, 0.9);
}
#network.disconnected {
background-color: rgba(245, 60, 60, 0.9);
}
#taskbar {
margin-left: 4px;
}
#taskbar button {
color: #f0f0ff;
background-color: rgba(30, 30, 46, 0.6);
}
#taskbar button:first-child {
border-radius: 99px 0 0 99px;
}
#taskbar button:last-child {
border-radius: 0 99px 99px 0;
}
#taskbar button:first-child:last-child {
border-radius: 99px;
}
#taskbar button:hover {
background-color: rgba(49, 50, 68, 0.6);
}
#taskbar button.active {
background-color: rgba(88, 91, 112, 0.6);
}
#taskbar button.active:hover {
background-color: rgba(108, 112, 134, 0.6);
}
#pulseaudio.muted {
background-color: rgba(46, 32, 30, 0.9);
}
slider {
min-height: 0px;
min-width: 0px;
opacity: 0;
background-image: none;
border: none;
box-shadow: none;
}
trough {
min-height: 10px;
min-width: 80px;
border-radius: 5px;
background-color: black;
}
highlight {
min-width: 10px;
border-radius: 5px;
background-color: green;
}
#wireplumber {
background-color: rgba(255, 240, 245, 0.8);
color: #000000;
}
#wireplumber.muted {
background-color: rgba(245, 60, 60, 0.9);
}
#temperature.critical {
background-color: rgba(235, 77, 75, 0.8);
}
#tray {
background-color: rgba(41, 128, 185, 0.8);
}
#tray>.passive {
-gtk-icon-effect: dim;
}
#tray>.needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#language {
background: #00b093;
color: #740864;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
background: rgba(151, 225, 173, 0.8);
color: #000000;
}
#keyboard-state>label {
margin-left: 2.5px;
margin-right: 2.5px;
padding: 0 5px;
}
#keyboard-state>label.locked {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}
-155
View File
@@ -1,155 +0,0 @@
{
"reload_style_on_change": true,
"layer": "top", // Waybar at top layer
"height": 32, // Waybar height (to be removed for auto height)
"margin-top": 4,
"margin-left": 4,
"margin-right": 4,
"spacing": 0, // Gaps between modules (4px)
"modules-left": ["niri/window"],
"modules-center": ["privacy", "clock"],
"modules-right": [
"group/controls",
"battery",
"group/sound",
"group/backlight",
"tray",
"mpd",
// "jack",
// "wireplumber",
"custom/logout",
],
// Modules configuration
"group/sound": {
"click-to-reveal": true,
"orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true,
},
"modules": ["pulseaudio", "pulseaudio/slider"],
},
"group/backlight": {
"click-to-reveal": true,
"orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true,
},
"modules": ["backlight", "backlight/slider"],
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
"orientation": "horizontal",
},
"custom/logout": {
"format": "⏻",
"tooltip": true,
"on-click": "nwg-bar",
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format-icons": {
"locked": "",
"unlocked": "",
},
"format": {
"numlock": "N {icon}",
"capslock": "C {icon}",
},
},
"niri/window": {
"icon": true,
"format": "{app_id}/{title}",
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": "",
},
},
"tray": {
"spacing": 10,
},
"custom/controls": {
"format": "🎛️",
"tooltip": true,
},
"group/controls": {
"click-to-reveal": true,
"orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": false,
},
"modules": [
"custom/controls",
"network",
"cpu",
"memory",
"temperature",
"idle_inhibitor",
"keyboard-state",
],
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%e %B %H:%M}",
"on-click": "gnome-calendar",
},
"cpu": {
"format": "{usage}% ",
"tooltip": false,
},
"memory": {
"format": "{}% ",
},
"temperature": {
"critical-threshold": 80,
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""],
},
"backlight": {
"format": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""],
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15,
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""],
},
"network": {
"format": "{ifname} {essid}",
"tooltip-format": "{ifname} {ipaddr}/{cidr} {essid} {icon} {frequency} {signaldBm}",
"on-click": "nmcli device wifi rescan && ghostty -e nmtui",
},
"pulseaudio": {
"format": "{icon}",
"format-bluetooth": "{volume}% {icon}",
"format-bluetooth-muted": " {icon}",
"format-muted": "",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""],
},
"on-click": "/run/current-system/sw/bin/flatpak run org.pipewire.Helvum",
// "on-click": "/run/current-system/sw/bin/pavucontrol"
},
}