Add clipboard, idle timeouts, night light, bluetooth, and waybar improvements

- Add cliphist clipboard manager with wofi picker (Mod+Shift+C)
- Add wl-paste watch for clipboard history
- Add swayidle idle timeouts: blank at 5min, lock at 10min
- Add blueman-applet autostart (bluetooth tray)
- Add wlsunset night light for Vancouver (49.2N, 123.1W)
- Add clipboard-picker script and symlink in install.sh
- Waybar: add battery charging format, warning/critical states, tray config
- Waybar CSS: add warning (yellow) and critical (red) battery colors
This commit is contained in:
funman300
2026-04-22 16:14:30 -07:00
parent 50a189f08e
commit c6f96bcac8
5 changed files with 30 additions and 2 deletions
+1
View File
@@ -21,6 +21,7 @@ ln -sf "$(pwd)/alacritty/alacritty.toml" ~/.config/alacritty/alacritty.toml
echo "==> Installing scripts"
mkdir -p ~/.local/bin
ln -sf "$(pwd)/scripts/powermenu.sh" ~/.local/bin/powermenu
ln -sf "$(pwd)/scripts/clipboard.sh" ~/.local/bin/clipboard-picker
echo "==> Enabling systemd user services"
mkdir -p ~/.config/systemd/user
+8 -1
View File
@@ -17,7 +17,13 @@ spawn-at-startup "mako"
spawn-at-startup "swww-daemon"
spawn-at-startup "nm-applet" "--indicator"
spawn-at-startup "polkit-gnome-authentication-agent-1"
spawn-at-startup "swayidle" "-w" "before-sleep" "swaylock -f -c 000000"
spawn-at-startup "swayidle" "-w"
"timeout" "300" "niri msg action power-off-monitors"
"timeout" "600" "swaylock -f -c 000000"
"before-sleep" "swaylock -f -c 000000"
spawn-at-startup "wl-paste" "--watch" "cliphist" "store"
spawn-at-startup "blueman-applet"
spawn-at-startup "wlsunset" "-l" "49.2" "-L" "-123.1"
binds {
Mod+Q repeat=false { close-window; }
@@ -41,6 +47,7 @@ binds {
Mod+Shift+E { spawn "swaylock" "-f" "-c" "000000"; }
Mod+Shift+P { spawn "powermenu"; }
Mod+Shift+C { spawn "clipboard-picker"; }
Mod+Shift+X { quit; }
XF86AudioRaiseVolume allow-when-locked=true { spawn "pamixer" "-i" "5"; }
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
cliphist list | wofi --dmenu --prompt "Clipboard:" --width 600 --height 400 | cliphist decode | wl-copy
+11 -1
View File
@@ -13,7 +13,17 @@
"battery": {
"format": "{capacity}% {icon}",
"format-icons": ["","","","",""]
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-icons": ["","","","",""],
"states": {
"warning": 30,
"critical": 15
}
},
"tray": {
"spacing": 8
},
"network": {
+8
View File
@@ -20,3 +20,11 @@ window#waybar {
#clock, #battery, #network, #pulseaudio {
padding: 0 12px;
}
#battery.warning {
color: #f0c674;
}
#battery.critical {
color: #cc6666;
}