Recent X tweaks

This commit is contained in:
agryphus 2023-12-05 22:09:32 -05:00
parent ae87742711
commit a643a1f9e9
2 changed files with 26 additions and 14 deletions

View file

@ -41,20 +41,33 @@ if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
# Some x stuff
# Setting any of these parameters causes issues when trying to use xrandr
# while on offload mode. Specifically, the prover named NVIDIA-G0 sets up
# the system to expect reverse-sync mode. Using --auto also does the same
# for some reason. Basically any of these commands are not needed.
# xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
# xrandr --setprovideroutputsource 0 1
# xrandr --auto
# autorandr --change
# Speed when holding down key
xset r rate 300 50
xserverauthfile=$XAUTHORITY # Stop the accumulation of ~/.serverauth.### files
# Need to source environment before starting fcitx5 so that it can
# read the *_IM_MODULE and XMODIFIER variables.
source ~/.config/zsh/.zshenv
autorandr -c -d "default"
# Start important daemons
kill $(pidof fcitx5) 2>/dev/null
fcitx5 -d
feh --bg-fill --no-fehbg ~/.config/wallpaper
picom -b
sxhkd &
killall emacs 2>/dev/null
emacs -daemon
~/.config/autorandr/postswitch
dwmblocks &
exec dwm

View file

@ -12,7 +12,7 @@ shadow = false;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 7;
shadow-radius = 12;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
@ -157,25 +157,24 @@ rounded-corners-exclude = [
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
# blur-size = 12
#
# blur-deviation = false
#
# blur-strength = 5
blur-size = 12
blur-deviation = false
blur-strength = 50
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
# blur-background = false
blur-background = true
# Blur background of windows when the window frame is not opaque.
# Implies:
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
# blur-background-frame = false
blur-background-frame = false
# Use fixed blur strength rather than adjusting according to window opacity.
# blur-background-fixed = false
@ -186,7 +185,7 @@ rounded-corners-exclude = [
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#
# blur-kern = ""
blur-kern = "3x3box";
blur-kern = "7x7box";
# Exclude conditions for background blur.