aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com>2022-11-04 13:38:49 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com>2022-11-04 13:38:49 +0100
commit430674ecaf5d9946434649af2beec19d1031dfbb (patch)
treeb333302115e8ff4e51323f2ce3466cb8186f90bc
parent08d7de79ed62f5dfafc43240e08e93f16f91f026 (diff)
feat(picom and i3) tweaks corner, opacity and refresh rate
-rw-r--r--i3/config3
-rw-r--r--picom/picom.conf21
-rw-r--r--polybar/config.ini2
3 files changed, 15 insertions, 11 deletions
diff --git a/i3/config b/i3/config
index 9adb237..c9ddb76 100644
--- a/i3/config
+++ b/i3/config
@@ -34,6 +34,7 @@ gaps outer 3
# show window title bars (not officially supported with i3gaps)
#default_border normal
+default_border pixel 0
# window title alignment
#title_align center
@@ -545,7 +546,7 @@ bindsym $mod+t exec rofi -show window \
#exec --no-startup-id greenclip daemon>/dev/null
#bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \
# -config ~/.config/rofi/rofidmenu.rasi
-exec_always --no-startup-id xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 -r 144.00 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-4 --off --output DP-5 --mode 1920x1080 --pos 1920x0 --rotate normal
+exec_always --no-startup-id xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 -r 144.00 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-4 --off --output DP-5 -r 74.97 --mode 1920x1080 --pos 1920x0 --rotate normal
# Polybar
exec_always --no-startup-id killall -q polybar
diff --git a/picom/picom.conf b/picom/picom.conf
index ffe3b08..088d23b 100644
--- a/picom/picom.conf
+++ b/picom/picom.conf
@@ -15,19 +15,18 @@ size-transition = true
# Corners #
#################################
# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom
-corner-radius = 0;
+corner-radius = 6;
rounded-corners-exclude = [
#"window_type = 'normal'",
"class_g = 'awesome'",
"class_g = 'URxvt'",
"class_g = 'XTerm'",
- "class_g = 'Alacritty'",
"class_g = 'Polybar'",
#"class_g = 'TelegramDesktop'",
"class_g = 'firefox'",
"class_g = 'Thunderbird'"
];
-round-borders = 1;
+round-borders = 6;
round-borders-exclude = [
#"class_g = 'TelegramDesktop'",
];
@@ -157,11 +156,11 @@ fade-exclude = [
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
-inactive-opacity = 0.8;
+inactive-opacity = 0.75;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
-frame-opacity = 0.7;
+frame-opacity = 0.5;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0
@@ -177,7 +176,7 @@ dropdown_menu = { opacity = 0.8; }
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
-active-opacity = 0.9;
+active-opacity = 0.95;
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
@@ -187,7 +186,11 @@ active-opacity = 0.9;
focus-exclude = [
"class_g = 'Cairo-clock'",
"class_g = 'Bar'", # lemonbar
- "class_g = 'slop'" # maim
+ "class_g = 'slop'", # maim
+ # Minecraft
+ "class_g = 'Minecraft* 1.19.2'",
+ "class_g = 'Minecraft* 1.8.9'",
+ "class_g = 'Minecraft* 1.12.2'"
];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
@@ -207,7 +210,7 @@ opacity-rule = [
"100:class_g = 'XTerm'",
"100:class_g = 'URxvt'",
"80:class_g = 'kitty'",
- "100:class_g = 'Alacritty'",
+ "95:class_g = 'Alacritty'",
"80:class_g = 'Polybar'",
"90:class_g = 'code-oss'",
"100:class_g = 'Meld'",
@@ -297,7 +300,7 @@ backend = "glx";
# Enable/disable VSync.
# vsync = false
-vsync = false
+vsync = true
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false
diff --git a/polybar/config.ini b/polybar/config.ini
index cc68544..106ca64 100644
--- a/polybar/config.ini
+++ b/polybar/config.ini
@@ -37,7 +37,7 @@ foreground = ${colors.foreground}
line-size = 3pt
-border-size = 4pt
+border-size = 6pt
border-color = #00000000
padding-left = 0