From 43b449f792637bdd1f4af772c93f9648eb148b9b Mon Sep 17 00:00:00 2001 From: doryan Date: Thu, 3 Oct 2024 00:41:44 +0400 Subject: [PATCH] feat: small chages --- btop/btop.conf | 2 +- picom/picom.conf | 6 +++--- rofi/power/launch.sh | 6 +++--- sxhkd/sxhkdrc | 3 +++ 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/btop/btop.conf b/btop/btop.conf index 8ebe4bb..654dd55 100755 --- a/btop/btop.conf +++ b/btop/btop.conf @@ -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 diff --git a/picom/picom.conf b/picom/picom.conf index 371d120..285e8a5 100644 --- a/picom/picom.conf +++ b/picom/picom.conf @@ -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; diff --git a/rofi/power/launch.sh b/rofi/power/launch.sh index af0473d..d2c0aa2 100755 --- a/rofi/power/launch.sh +++ b/rofi/power/launch.sh @@ -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 diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index d65a36d..fbe2f59 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -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}