feat: small chages

This commit is contained in:
doryan 2024-10-03 00:41:44 +04:00
parent d9fe7cdc20
commit 43b449f792
4 changed files with 10 additions and 7 deletions

View File

@ -169,7 +169,7 @@ show_swap = True
swap_disk = True swap_disk = True
#* If mem box should be split to also show disks info. #* If mem box should be split to also show disks info.
show_disks = False show_disks = True
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. #* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical = True only_physical = True

View File

@ -64,7 +64,7 @@ shadow-offset-y = -20;
# Fade windows in/out when opening/closing and when opacity changes, # Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used. # unless no-fading-openclose is used.
fading = false; fading = true;
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028 # fade-in-step = 0.028
@ -120,7 +120,7 @@ fade-delta = 10
# Sets the radius of rounded window corners. When > 0, the compositor will # Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with # round the corners of windows. Does not interact well with
# `transparent-clipping`. # `transparent-clipping`.
corner-radius = 10; corner-radius = 5;
# Exclude conditions for rounded corners. # Exclude conditions for rounded corners.
#rounded-corners-exclude = [ #rounded-corners-exclude = [
@ -286,7 +286,7 @@ rules = ({
duration = 0.15; duration = 0.15;
start = "window-raw-opacity-before"; start = "window-raw-opacity-before";
end = "0"; end = "0";
}; }
blur-opacity = 0; blur-opacity = 0;
shadow-opacity = "opacity"; shadow-opacity = "opacity";
saved-image-blend = 0; saved-image-blend = 0;

View File

@ -63,7 +63,7 @@ run_cmd() {
elif [[ $1 == '--reboot' ]]; then elif [[ $1 == '--reboot' ]]; then
loginctl reboot loginctl reboot
elif [[ $1 == '--suspend' ]]; then elif [[ $1 == '--suspend' ]]; then
loginctl suspend loginctl suspend && betterlockscreen -l blur
elif [[ $1 == '--logout' ]]; then elif [[ $1 == '--logout' ]]; then
if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
openbox --exit openbox --exit
@ -91,7 +91,7 @@ case ${chosen} in
;; ;;
$lock) $lock)
if [[ -x '/usr/bin/betterlockscreen' ]]; then if [[ -x '/usr/bin/betterlockscreen' ]]; then
betterlockscreen -l betterlockscreen -l blur
elif [[ -x '/usr/bin/i3lock' ]]; then elif [[ -x '/usr/bin/i3lock' ]]; then
i3lock i3lock
fi fi
@ -100,6 +100,6 @@ case ${chosen} in
run_cmd --suspend run_cmd --suspend
;; ;;
$logout) $logout)
run_cmd --logout run_cmd --logout & pkill pipewire & pkill pipewire-pulse
;; ;;
esac esac

View File

@ -26,6 +26,9 @@ super + Escape
super + alt + {q,r} super + alt + {q,r}
bspc {quit,wm -r} bspc {quit,wm -r}
alt + shift + l
betterlockscreen -l dim
# close and kill # close and kill
super + {q, shift + q} super + {q, shift + q}
bspc node -{c,k} bspc node -{c,k}