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
#* 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.
only_physical = True

View File

@ -64,7 +64,7 @@ shadow-offset-y = -20;
# Fade windows in/out when opening/closing and when opacity changes,
# 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)
# fade-in-step = 0.028
@ -120,7 +120,7 @@ fade-delta = 10
# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
corner-radius = 10;
corner-radius = 5;
# Exclude conditions for rounded corners.
#rounded-corners-exclude = [
@ -286,7 +286,7 @@ rules = ({
duration = 0.15;
start = "window-raw-opacity-before";
end = "0";
};
}
blur-opacity = 0;
shadow-opacity = "opacity";
saved-image-blend = 0;

View File

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

View File

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