From 758fc2fe3f09b6ca8419d8056c80b235ebaa438a Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Tue, 8 Mar 2022 22:42:16 -0800 Subject: [PATCH] updates --- dunst/dunstrc | 4 ++-- picom/picom-hightransparency.conf | 31 ++++++++++++++++++++----------- polybar-themes/sblocks/config.ini | 2 +- qutebrowser/config.py | 1 + 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/dunst/dunstrc b/dunst/dunstrc index 368d0e6..2996c45 100644 --- a/dunst/dunstrc +++ b/dunst/dunstrc @@ -34,7 +34,7 @@ origin = top-right # Offset from the origin - offset = 9x48 + offset = 12x54 # Scale factor. It is auto-detected if value is 0. scale = 0 @@ -113,7 +113,7 @@ ### Text ### - font = "mononoki-Regular Nerd Font Complete" 12 + font = "JetBrainsMono Nerd Font Complete" 12 # The spacing between lines. If the height is smaller than the # font height, it will get raised to the font height. diff --git a/picom/picom-hightransparency.conf b/picom/picom-hightransparency.conf index dbfe360..a205421 100644 --- a/picom/picom-hightransparency.conf +++ b/picom/picom-hightransparency.conf @@ -7,12 +7,12 @@ # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # unless explicitly requested using the wintypes option. # -# shadow = false -shadow = true; +shadow = true +# shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) -# shadow-radius = 12 -shadow-radius = 24; +shadow-radius = 12 +# shadow-radius = 24; # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # shadow-opacity = .75 @@ -163,23 +163,31 @@ opacity-rule = [ "100:class_g = 'mpv'", "95:class_g = 'firefoxdeveloperedition' && focused", + "95:class_g = 'xfreerdp' && focused", "90:class_g = 'Alacritty' && focused", + "90:class_g = 'discord' && focused", "90:class_g = 'Emacs' && focused", + "90:class_g = 'Jellyfin Media Player' && focused", + "90:class_g = 'Steam' && focused", "90:class_g = 'Thunar' && focused", "90:class_g = 'Thunderbird' && focused", "90:class_g = 'qutebrowser' && focused", "90:class_g = 'DBeaver' && !focused", "90:class_g = 'firefoxdeveloperedition' && !focused", + "90:class_g = 'xfreerdp' && !focused", "85:class_g = 'Alacritty' && !focused", "85:class_g = 'Bitwarden' && !focused", + "85:class_g = 'discord' && !focused", "85:class_g = 'Emacs' && !focused", + "85:class_g = 'Jellyfin Media Player' && !focused", "85:class_g = 'Joplin' && !focused", "85:class_g = 'Microsoft Teams - Preview' && !focused", "85:class_g = 'Notepadqq' && !focused", "85:class_g = 'Polybar' && !focused", + "85:class_g = 'Steam' && !focused", "85:class_g = 'Thunar' && !focused", "85:class_g = 'Thunderbird' && !focused", "85:class_g = 'qutebrowser' && !focused", @@ -233,7 +241,8 @@ blur-background-exclude = [ "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c", "name *= 'rect-overlay'", - "name *= 'mpv'" + "name *= 'mpv'", + "name *= 'Peek'" ]; ################################# @@ -270,7 +279,7 @@ mark-ovredir-focused = true; # shaped windows. The accuracy is not very high, unfortunately. # # detect-rounded-corners = false -detect-rounded-corners = false; +detect-rounded-corners = true; # Detect '_NET_WM_OPACITY' on client windows, useful for window managers # not passing '_NET_WM_OPACITY' of client windows to frame windows. @@ -346,14 +355,14 @@ detect-client-leader = true # practically happened) and may not work with blur-background. # My tests show a 15% performance boost. Recommended. # -glx-no-stencil = false +glx-no-stencil = true # GLX backend: Avoid rebinding pixmap on window damage. # Probably could improve performance on rapid window content changes, # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). # Recommended if it works. # -glx-no-rebind-pixmap = false +glx-no-rebind-pixmap = true # Disable the use of damage information. # This cause the whole screen to be redrawn everytime, instead of the part of the screen @@ -367,7 +376,7 @@ glx-no-rebind-pixmap = false # calls are finished before picom starts drawing. Needed on nvidia-drivers # with GLX backend for some users. # -xrender-sync-fence = false +xrender-sync-fence = true # GLX backend: Use specified GLSL fragment shader for rendering window contents. # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` @@ -454,7 +463,6 @@ log-level = "warn"; #stop tearing on fullscreen windows unredir-if-possible = false; - wintypes: { tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; }; @@ -487,7 +495,8 @@ rounded-corners-exclude = [ blur: { method = "dual_kawase"; # method = "kawase"; - strength = 2; + # strength = 4; + # strength = 12; background = true; background-frame = false; background-fixed = false; diff --git a/polybar-themes/sblocks/config.ini b/polybar-themes/sblocks/config.ini index c1f9167..780e543 100644 --- a/polybar-themes/sblocks/config.ini +++ b/polybar-themes/sblocks/config.ini @@ -179,7 +179,7 @@ locale = en_US.UTF-8 ; right ; none ; tray-position = center -tray-position = none +tray-position = center ; If true, the bar will not shift its ; contents when the tray changes diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 71ed42e..d66668b 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -15,6 +15,7 @@ c.url.searchengines["ap"] = "https://www.archlinux.org/packages/?sort=&q={}" c.url.searchengines["aur"] = "https://aur.archlinux.org/packages/?K={}" c.url.searchengines["gh"] = "https://github.com/search?q={}&type=Code" c.url.searchengines["r"] = "https://www.reddit.com/r/{}" +c.url.searchengines["p"] = "https://docs.python.org/3/library/{}" c.aliases["gd"] = "open -t http://192.168.4.77:4000"