From 96c9c40eb8fbe1611d1e983f87beb5f62f679db4 Mon Sep 17 00:00:00 2001 From: Valerie Date: Wed, 14 Jun 2023 12:47:23 -0400 Subject: [PATCH] updated for new picom version and disabled i3 window borders --- i3_config | 18 +++++++----------- picom.conf | 19 +++++++++++++------ 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/i3_config b/i3_config index df97d8f..7a1a63c 100644 --- a/i3_config +++ b/i3_config @@ -21,8 +21,7 @@ set $ws9 "9" set $ws10 "10" # Appearance -#default_border pixel 2 -for_window [class="^.*"] border pixel 2 +default_border none gaps inner 15 font pango:DejaVu Sans Mono 2 @@ -166,7 +165,7 @@ bindsym Shift+XF86AudioPlay exec playerctl play-pause bindsym Shift+XF86AudioNext exec playerctl next bindsym Shift+XF86AudioPrev exec playerctl previous -bindsym $mod+Shift+s exec scrot ~/Images/scrot/%b%d_%H-%M-%S.png +bindsym $mod+Shift+s exec scrot ~/Images/scrot/%Y-%m-%d_%H:%M:%S.png # _____ __ __ # / ___// /_____ ______/ /___ ______ @@ -180,14 +179,13 @@ exec_always xrdb ~/.Xresources exec picom exec redshift & exec dunst -# exec polybar top exec eww daemon exec eww open bar exec unclutter exec --no-startup-id fcitx5 -d exec ~/.script/nosleep.sh -exec_always ~/.script/hid/trackball_speed.sh 0.1 1 +exec_always ~/.script/hid/trackball_speed.sh 0.3 1 # _ ___ __ ____ #| | / (_)___ ____/ /___ _ __ / __ \_________ ____ _____ @@ -196,19 +194,17 @@ exec_always ~/.script/hid/trackball_speed.sh 0.1 1 #|__/|__/_/_/ /_/\__,_/\____/|__/|__/ /_/ /_/ \____/ .___/____/ # /_/ -for_window [class="Aseprite"] border pixel 0 for_window [title="Blanket" class="python3"] floating enable for_window [class="Blueman-manager"] floating enable for_window [class="eww"] floating enable -for_window [class="eww-background"] border pixel 0 +for_window [class="Fractal"] floating enable for_window [class="Gnome-calendar"] floating enable -#for_window [class="i3-frame"] border pixel 1 -for_window [class="Org.gnome.Nautilus"] floating enable +for_window [class="org.gnome.Nautilus"] floating enable +for_window [class="org.gnome.SoundRecorder"] floating enable for_window [class="Pick-colour-picker"] floating enable -for_window [class="rofi"] border pixel 0 for_window [class="Tk" title="sysmenu"] floating enable for_window [class="Steam" title="Friends List"] floating enable -for_window [class="org.wezfurlong.wezterm"] border pixel 2 +for_window [class="Steam" title="Steam Keyboard"] floating enable no_focus [window_role="pop-up"] focus_on_window_activation none diff --git a/picom.conf b/picom.conf index f5f8f08..bc75a44 100644 --- a/picom.conf +++ b/picom.conf @@ -4,8 +4,11 @@ # ___/ / / / / /_/ / /_/ / /_/ / |/ |/ (__ ) #/____/_/ /_/\__,_/\__,_/\____/|__/|__/____/ # -shadow = false; -shadow-opacity = 0.5; +shadow = true; +shadow-opacity = 0.625; +shadow-exclude = [ + "!I3_FLOATING_WINDOW@:c && !class_g = 'Rofi'" +]; # ______ # /_ __/________ _____ _________ ____ _________ ____ _______ __ @@ -29,7 +32,9 @@ blur-strength = 3; #blur-background-fixed = true; blur-background-exclude = [ "window_type = 'desktop'", + "class_g = 'bettercrewlink'", "class_i = 'discover-overlay'", + "role = 'xborder'", "name *= 'rect-overlay'" ]; @@ -71,7 +76,7 @@ fade-out-step = 0.02; #/_/ |_|\____/\__,_/_/ /_/\__,_/ \____/\____/_/ /_/ /_/\___/_/ /____/ # # corner-radius = 8.0; -corner-radius = 12.0; +corner-radius = 8.0; rounded-corners-exclude = [ "class_g = 'Aseprite'", "class_g = 'Polybar'", @@ -79,6 +84,7 @@ rounded-corners-exclude = [ "class_g = 'i3-frame'", "class_i = 'discover-overlay'", "class_i = 'onboard'", + "class_i = 'oneko'", "window_type = 'dock'" # "class_g = 'rofi'", ]; @@ -100,6 +106,7 @@ backend = "glx"; vsync = true; experimental-backends = true; xrender-sync-fence = true; -unredir-if-possible = false; -glx-no-stencil = true; -glx-no-rebind-pixmap = true; +#unredir-if-possible = false; +#glx-no-stencil = true; +#glx-no-rebind-pixmap = true; +