- Relocate themes to assets/themes/ and update all references. - Implement custom SDDM theme and Plymouth theme enhancements. - Add themed templates for Alacritty, Hyprland, Waybar, and other apps. - Introduce Makima key remapper module and configuration. - Add Voxtype and Walker configurations. - Implement systemd power management and timeout optimizations. - Add Nautilus-python extensions for LocalSend. - Update branding assets and ASCII art integration.
14 lines
304 B
Bash
Executable File
14 lines
304 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Returns true if a battery is present on the system.
|
|
# Used by the battery monitor and other battery-related checks.
|
|
|
|
for bat in /sys/class/power_supply/BAT*; do
|
|
[[ -r $bat/present ]] &&
|
|
[[ $(cat $bat/present) == "1" ]] &&
|
|
[[ $(cat $bat/type) == "Battery" ]] &&
|
|
exit 0
|
|
done
|
|
|
|
exit 1
|