From dbd7925ca340b57b1bc5c82e231c78fe30fec578 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 13 Jan 2021 16:25:14 +0100 Subject: [PATCH] polybar aliases --- .config/picom.conf##class.blue | 30 ++++++++++++++++-------------- .extrarc | 2 ++ 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.config/picom.conf##class.blue b/.config/picom.conf##class.blue index 3b6d4d6..8b0294b 100644 --- a/.config/picom.conf##class.blue +++ b/.config/picom.conf##class.blue @@ -4,19 +4,21 @@ # requires: https://github.com/sdhand/compton corner-radius = 15.0; rounded-corners-exclude = [ - #"class_g = 'Polybar'", - "window_type = 'normal'", - "window_type = 'popup'", - "window_type = 'menu'", - "class_g = 'awesome'", - "class_g = 'thunar'", - "class_g = 'URxvt'", - "class_g = 'XTerm'", - "class_g = 'kitty'", - "class_g = 'Alacritty'", - "class_g = 'code-oss'", - "class_g = 'firefox'", - "class_g = 'Thunderbird'" + #"class_g *= ''", + "class_g != 'Polybar'", + #"window_type = 'normal'", + #"window_type = 'popup'", + #"window_type = 'menu'", + #"class_g = 'awesome'", + #"class_g *= 'thunar'", + #"class_g *= 'Thunar'", + #"class_g = 'URxvt'", + #"class_g = 'XTerm'", + #"class_g = 'kitty'", + #"class_g = 'Alacritty'", + #"class_g = 'code-oss'", + #"class_g = 'firefox'", + #"class_g = 'Thunderbird'" ]; round-borders = 0; @@ -292,7 +294,7 @@ blur-background-exclude = [ # when taking selection screenshot with `main` # https://github.com/naelstrof/maim/issues/130 "class_g = 'slop'", - "class_g = 'peek'", + "class_g *= 'peek'", "class_g = 'xsnow'", "_GTK_FRAME_EXTENTS@:c", "name *= 'overlay'", diff --git a/.extrarc b/.extrarc index d9101b6..07e524e 100644 --- a/.extrarc +++ b/.extrarc @@ -39,8 +39,10 @@ alias coffeeinf="caffeinate sleep infinity" alias coffee="caffeinate sleep" # polybar +alias killpoly="killall polybar" alias polybar="setsid polybar" alias repoly="zsh ~/.config/polybar/launch_polybar.sh" +alias repoly_float="zsh ~/.config/polybar/launch_polybar_floating.sh" # nano alias nano="nano -c"