Add mouse battery widget, Bolt Launcher rule, cursor size; fix theme symlink

- waybar: add custom/mouse-battery module and mouse-battery.sh script
- niri: add Bolt Launcher floating rule; switch RuneLite to floating
- environment.d: set XCURSOR_SIZE=36
- install.sh: add symlinks for theme/colors.css and mouse-battery.sh (fixes @import path)
- .gitignore: exclude nohup.out

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-04-25 11:54:28 -07:00
parent 8be00bc273
commit 79ca9839f6
6 changed files with 30 additions and 3 deletions
+7 -1
View File
@@ -5,7 +5,13 @@
"modules-left": ["niri/workspaces"],
"modules-center": ["clock"],
"modules-right": ["cpu", "temperature", "custom/power-profile", "custom/fan-profile", "pulseaudio", "network", "battery", "tray"],
"modules-right": ["cpu", "temperature", "custom/power-profile", "custom/fan-profile", "pulseaudio", "network", "battery", "custom/mouse-battery", "tray"],
"custom/mouse-battery": {
"exec": "~/.config/waybar/mouse-battery.sh",
"interval": 60,
"format": " {output}",
"tooltip": false
},
"cpu": {
"format": " {usage}%",
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# Generic mouse battery script for Waybar
MOUSE_BATTERY=$(upower -e | grep -i mouse | head -n1)
if [ -n "$MOUSE_BATTERY" ]; then
upower -i "$MOUSE_BATTERY" | awk '/percentage:/ { print $2 }'
else
echo "N/A"
fi