some opacity changes

This commit is contained in:
Chris Cochrun 2023-01-31 16:51:12 -06:00
parent b94c5fe1b7
commit 11390a629d
2 changed files with 83 additions and 81 deletions

View file

@ -20,7 +20,7 @@ window:
#dimensions: #dimensions:
# columns: 0 # columns: 0
# lines: 0 # lines: 0
opacity: 1.0 opacity: 0.80
dynamic_title: true dynamic_title: true
# Window position (changes require restart) # Window position (changes require restart)

View file

@ -49,20 +49,22 @@ gestures {
decoration { decoration {
rounding=18 rounding=18
active_opacity=0.95 active_opacity=0.90
inactive_opacity=0.85 inactive_opacity=0.75
fullscreen_opacity=1.0 fullscreen_opacity=1.0
blur=true blur=true
blur_new_optimizations=true blur_new_optimizations=true
blur_size=9# minimum 1 blur_size=2# minimum 1
blur_passes=5 # minimum 1, more passes = more resource intensive. blur_passes=5 # minimum 1, more passes = more resource intensive.
# Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts. # Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
# if you want heavy blur, you need to up the blur_passes. # if you want heavy blur, you need to up the blur_passes.
# the more passes, the more you can up the blur_size without noticing artifacts. # the more passes, the more you can up the blur_size without noticing artifacts.
drop_shadow=true drop_shadow=true
shadow_range=20 shadow_range=20
shadow_offset=2 2 shadow_offset=10 10
shadow_render_power=3 shadow_scale=1.0
shadow_render_power=2
col.shadow = rgba(00000066)
dim_inactive=true dim_inactive=true
dim_strength=0.2 dim_strength=0.2
} }
@ -94,14 +96,14 @@ master {
# for windows named/classed as abc and xyz # for windows named/classed as abc and xyz
windowrule=opaque,firefox windowrule=opaque,firefox
windowrule=float,dolphin windowrule=float,dolphin
windowrule=workspace 1,mpv # for kaladin ${if builtins.readFile "/etc/hostname" == "syl\n" then "# this is a kaladin space" else "windowrule=workspace 1,mpv"}
windowrule=float,mpv windowrule=float,mpv
# windowrule=size 90% 76%,mpv # for syl windowrule=size ${if builtins.readFile "/etc/hostname" == "syl\n" then "90% 76%" else "85% 85%"},mpv
windowrule=size 85% 85%,mpv # for kaladin
windowrule=center,mpv windowrule=center,mpv
# windowrule=pin,mpv
windowrule=float,pulsemixer windowrule=float,pulsemixer
windowrule=workspace 1,firefox windowrule=workspace ${if builtins.readFile "/etc/hostname" == "syl\n" then "2" else "1"},firefox
windowrule=workspace 2,emacs windowrule=workspace ${if builtins.readFile "/etc/hostname" == "syl\n" then "1" else "2"},emacs
windowrule=float,btop windowrule=float,btop
windowrule=size 70% 70%,btop windowrule=size 70% 70%,btop
windowrule=center,btop windowrule=center,btop
@ -116,7 +118,7 @@ bind=SUPERSHIFT,Q,exit,
bind = SUPERSHIFT,D,exec,dolphin bind = SUPERSHIFT,D,exec,dolphin
bind = SUPERSHIFT,F,togglefloating, bind = SUPERSHIFT,F,togglefloating,
bindr = SUPER,Super_L,exec,/home/chris/bin/launcher.sh bindr = SUPER,Super_L,exec,/home/chris/bin/launcher.sh
bindr=ALT,Alt_L,exec,/home/chris/bin/window.sh # bindr = ALT,Alt_L,exec,/home/chris/bin/window.sh
bind = SUPER,w,exec,/home/chris/bin/window.sh bind = SUPER,w,exec,/home/chris/bin/window.sh
bind = SUPER,E,exec,/home/chris/bin/emacslof bind = SUPER,E,exec,/home/chris/bin/emacslof
bind = SUPER,d,exec,emacsclient -c -e '(dired-jump)' bind = SUPER,d,exec,emacsclient -c -e '(dired-jump)'
@ -177,7 +179,6 @@ binde=, XF86AudioLowerVolume, exec, /home/chris/bin/voldown
binde = ,F1, exec, pamixer -t binde = ,F1, exec, pamixer -t
binde = ,F3, exec, /home/chris/bin/volup binde = ,F3, exec, /home/chris/bin/volup
binde = ,F2, exec, /home/chris/bin/voldown binde = ,F2, exec, /home/chris/bin/voldown
binde = , XF86MonBrightnessUp, exec, brightnessctl s +10% binde = , XF86MonBrightnessUp, exec, brightnessctl s +10%
binde = , XF86MonBrightnessDown, exec, brightnessctl s 10%- binde = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
@ -198,3 +199,4 @@ exec-once=hyprctl dispatch --batch "splitratio 1; splitration -0.35"
exec-once = dbus-update-activation-environment --systemd --all exec-once = dbus-update-activation-environment --systemd --all
exec-once = jellyfin-mpv-shim exec-once = jellyfin-mpv-shim
exec-once = hyprctl setcursor phinger-cursors-light exec-once = hyprctl setcursor phinger-cursors-light
exec-once = swayidle -w timeout 300 'swaylock -S --effect-blur 20x3 --fade-in 1 --effect-vignette 0.5:1 --grace 60' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -S --effect-blur 20x3 --effect-vignette 0.5:1'