Fixed batteryctl due to changes in the Linux kernel, removed the + icon and (re)added apps icons in rofi and made the session lock itself when closing the laptop lid

This commit is contained in:
Gu://em_ 2026-01-28 11:31:15 +01:00
parent 28f79e2564
commit c380f7401f
4 changed files with 7 additions and 2 deletions

View file

@ -25,7 +25,7 @@ if [ $# -eq 1 ] && [[ $1 == "get" ]]; then
cat $threshold_config
# set (check level option)
elif [ $# -eq 2 ] && [[ $1 == "set" ]] && [ $2 -le 99 ] && [ $2 -ge 0 ]; then
elif [ $# -eq 2 ] && [[ $1 == "set" ]] && [ $2 -le 100 ] && [ $2 -ge 1 ]; then
echo $2 | sudo tee $threshold_config
if [ $? == 0 ]; then
echo "Done"

View file

@ -34,6 +34,8 @@ inputbar {
padding: 8px;
background-color: @bg1;
children: [ prompt, entry ];
}
prompt, entry, element-icon, element-text {