From 8554ab55a6425f8c12906849f61adf234991f601 Mon Sep 17 00:00:00 2001 From: pim-wtf Date: Tue, 31 May 2022 08:33:34 +0200 Subject: [PATCH] update --- void/bspwm/bspwmrc | 11 +++++++++-- void/picom/picom.conf | 33 +++++++++++++++++++++++++++------ void/polybar/config | 12 +++++------- void/sxhkd/sxhkdrc | 8 +++++++- 4 files changed, 48 insertions(+), 16 deletions(-) diff --git a/void/bspwm/bspwmrc b/void/bspwm/bspwmrc index c4d9834..49d7afb 100755 --- a/void/bspwm/bspwmrc +++ b/void/bspwm/bspwmrc @@ -15,10 +15,11 @@ pgrep -x sxhkd > /dev/null || sxhkd & $HOME/.config/polybar/launch.sh # Set wallpaper. -feh --bg-fill $HOME/.wallpapers/sf.jpg +feh --bg-fill $HOME/.wallpapers/mountains.jpeg -# Load BT manager for keyboard. +# Load BT & Network tray applets. blueman-manager & +nm-applet & # Load applications which require X server & WM to have launched. nextcloud --background & @@ -36,6 +37,11 @@ bspc config split_ratio 0.50 bspc config borderless_monocle true bspc config gapless_monocle true +bspc config pointer_modifier mod4 +bspc config pointer_action1 move +bspc config pointer_action2 resize_side +bspc config pointer_action2 resize_corner + # bspwm window rules for applications. bspc rule -a Gimp desktop='^8' state=floating follow=on bspc rule -a Pavucontrol state=floating @@ -45,3 +51,4 @@ bspc rule -a virt-manager state=floating bspc rule -a Nextcloud state=floating bspc rule -a Galculator state=floating bspc rule -a Zathura state=tiled +bspc rule -a Emacs state=tiled diff --git a/void/picom/picom.conf b/void/picom/picom.conf index 3754021..49b212a 100644 --- a/void/picom/picom.conf +++ b/void/picom/picom.conf @@ -11,11 +11,11 @@ backend = "glx"; experimental-backends = true; vsync = "true"; -refresh-rate = 75; +refresh-rate = 60; # Opacity and dimming. -active-opacity = 0.88; -inactive-opacity = 0.88; +active-opacity = 0.92; +inactive-opacity = 0.92; frame-opacity = 1.0; opacity = 1.0 inactive-opacity-override = false @@ -26,14 +26,21 @@ focus-exclude = [] # Opacity exceptions. opacity-rule = [ "100:name *= 'Netflix'", - "100:name *= 'RawTherapee'" + "100:name *= 'RawTherapee'", + "100:name *= 'YouTube'", + "100:name *= 'Invidious'", + "100:name *= 'mpv'", + "100:name *= 'GIMP'", + "100:name *= 'Minecraft'", + "100:name *= 'Piped'", + "100:name *= 'QEMU'" ]; # Blur blur: { method = "dual_kawase"; - strength = 4; + strength = 3; deviation = 1.0; background = false; background-frame = false; @@ -42,8 +49,22 @@ blur: } # Shadows -shadow = false; +shadow = true; +shadow-opacity = 0.5; +shadow-radius = 15; +shadow-offset-x = -15; +shadow-offset-y = -15; # Corners corner-radius = 12; round-borders = 1; + +wintypes: +{ + normal = { fade = false; shadow = true; } + tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; }; + dock = { shadow = false; } + dnd = { shadow = false; } + popup_menu = { opacity = 0.9; } + dropdown_menu = { opacity = 1.0; } +}; diff --git a/void/polybar/config b/void/polybar/config index 0d930a2..360e69f 100644 --- a/void/polybar/config +++ b/void/polybar/config @@ -21,8 +21,6 @@ alert = #bd2c40 width = 1890 height = 35 -radius = 12 - background = ${colors.background} foreground = ${colors.foreground} border-color = #00000000 @@ -31,9 +29,7 @@ offset-y = 15 offset-x = 15 padding-left = 0 -padding-right = 1 - -tray-padding = 1 +padding-right = 10 spacing = 1 module-margin-left = 1 @@ -42,11 +38,13 @@ font-0 = RobotoMono:size=11;2 font-1 = MaterialIcons;3 modules-left = bspwm -modules-right = xbps-updates pulseaudio-control wlan wireless-network battery +modules-right = xbps-updates pulseaudio-control battery modules-center = date fixed-center = true tray-position = right +tray-detached = true +tray-padding = 1 [module/xbps-updates] type = custom/script @@ -133,7 +131,7 @@ format = label-monitor = %icon% label-focused = %icon% -label-focused-background= ${colors.foreground-alt} +label-focused-background= ${colors.background-alt} label-focused-padding = 1 label-occupied = %icon% diff --git a/void/sxhkd/sxhkdrc b/void/sxhkd/sxhkdrc index 339c8ff..72ff9d2 100644 --- a/void/sxhkd/sxhkdrc +++ b/void/sxhkd/sxhkdrc @@ -47,10 +47,16 @@ XF86AudioLowerVolume XF86AudioRaiseVolume pactl set-sink-volume @DEFAULT_SINK@ +1% -# Open ranger +# Open pcmanfm super + r pcmanfm +# Open Emacs +super + e + emacsclient -c -a 'emacs' + +super + p + /opt/Pomatez/pomatez %U # # bspwm hotkeys #