diff --git a/.config/hypr/config/input.conf b/.config/hypr/config/input.conf index c7a285f..e7a0fa0 100644 --- a/.config/hypr/config/input.conf +++ b/.config/hypr/config/input.conf @@ -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 diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index c454c73..17e65af 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -10,7 +10,7 @@ configuration { sorting-method: "fzf"; /* Icons */ - show-icons: false; + show-icons: true; /* icon-theme: "Gruvbox-Plus-Dark"; */ } diff --git a/.local/bin/batteryctl b/.local/bin/batteryctl index 4b98765..072bdbe 100755 --- a/.local/bin/batteryctl +++ b/.local/bin/batteryctl @@ -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" diff --git a/.local/share/rofi/themes/boussole.rasi b/.local/share/rofi/themes/boussole.rasi index 794ec5a..6bb7128 100644 --- a/.local/share/rofi/themes/boussole.rasi +++ b/.local/share/rofi/themes/boussole.rasi @@ -34,6 +34,8 @@ inputbar { padding: 8px; background-color: @bg1; + + children: [ prompt, entry ]; } prompt, entry, element-icon, element-text {