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:
parent
28f79e2564
commit
c380f7401f
4 changed files with 7 additions and 2 deletions
|
|
@ -156,5 +156,8 @@ bind = SUPER CONTROL, XF86TouchpadToggle, exec, ~/.config/hypr/scripts/toggle-to
|
|||
### that prevent using the default way provided by hyprland
|
||||
bind = $mainMod CONTROL, SPACE, exec, ~/.config/hypr/scripts/change-kb-layout.sh
|
||||
|
||||
# Lock laptop on lid close
|
||||
bindl=,switch:off:Lid Switch, exec, hyprlock --immediate
|
||||
|
||||
## Testing
|
||||
#bind = $mainMod, TAB, overview:toggle, toggle
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ configuration {
|
|||
sorting-method: "fzf";
|
||||
|
||||
/* Icons */
|
||||
show-icons: false;
|
||||
show-icons: true;
|
||||
/* icon-theme: "Gruvbox-Plus-Dark"; */
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ inputbar {
|
|||
padding: 8px;
|
||||
|
||||
background-color: @bg1;
|
||||
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt, entry, element-icon, element-text {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue