feat(dotfiles): add rofi plus niri waybar ricing

This commit is contained in:
Florian Schmitt 2025-04-26 22:12:44 +03:00
parent 2fedcd8c8d
commit fa24b6abfb
10 changed files with 346 additions and 22 deletions

View file

@ -17,15 +17,15 @@
"niri/window"
],
"modules-right": [
"network",
"cpu",
"memory",
//"network",
//"cpu",
//"memory",
"battery",
"pulseaudio",
"custom/cliphist",
//"custom/cliphist",
"tray",
"clock",
"custom/exit"
"clock"
//"custom/exit"
],
"disable-scroll": true,
"tray": {
@ -34,7 +34,9 @@
"tooltip": false
},
"clock": {
"format": "{:%a %d %b %H:%M}",
//"format": "{:%a %d %b %H:%M}",
"format": "{:L%a %d %b %R}",
"locale": "fr_FR.utf8",
"tooltip": false
},
"cpu": {
@ -54,7 +56,7 @@
"on-click": "kitty btop"
},
"battery": {
"format": "{icon} {capacity}%",
"format": "{icon} {capacity}%",
"format-icons": [
"",
"",
@ -79,8 +81,8 @@
"pulseaudio": {
"scroll-step": 1,
"max-volume": 100,
"format": "󰕾 {volume}%",
"format-bluetooth": "󱄠 {volume}%",
"format": "󰕾 {volume}%",
"format-bluetooth": "󱄠 {volume}%",
"nospacing": 1,
"on-click": "pavucontrol",
"tooltip": false
@ -130,5 +132,5 @@
"on-click-right": "sleep 0.1 && ~/Code/nixos-config/scripts/cliphist.sh d",
"on-click-middle": "sleep 0.1 && ~/Code/nixos-config/scripts/cliphist.sh w",
"tooltip": false
},
}
}

View file

@ -20,7 +20,7 @@
* {
font-size: 13px;
min-height: 0;
font-family: "Iosevka Nerd Font Mono";
font-family: "Inter Display Medium";
}
window#waybar {
all: unset;
@ -33,15 +33,16 @@ window#waybar {
padding: 0;
}
.modules-left {
margin-left: 9px;
margin-left: 0px;
}
.modules-right {
margin-right: 9px;
margin-right: 0px;
}
tooltip {
background: @base;
color: @text;
}
#custom-appmenu,
#custom-wallpaper,
#clock,
#bluetooth,
@ -56,11 +57,12 @@ tooltip {
#window,
#workspaces {
border-radius: 8px;
background: alpha(@base, 0.75);
background: @base;
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.75);
color: @text;
padding: 2px 8px;
margin: 3px;
min-width: 20px;
}
#custom-wallpaper:hover,
#clock:hover,
@ -76,7 +78,7 @@ tooltip {
#window:hover,
#workspaces:hover {
transition: all 0.3s ease;
background: @base;
background: alpha(@base, 0.85);
}
#network {
@ -89,7 +91,7 @@ tooltip {
}
#workspaces button {
padding: 1px;
padding: 0px;
margin: 1px;
color: @text;
border-radius: 50%;