From 526ed4e354bf6fcb3756d9a264b8ef0c1f1fb4b5 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Sat, 24 Aug 2019 01:14:03 +0300 Subject: [PATCH] some changes --- .config/compton.conf | 20 +++++++-- .config/polybar/config | 42 +++++++++---------- .config/ranger/rc.conf | 5 --- .config/ranger/rifle.conf | 2 +- .config/wpg/templates/config_i3_config.base | 7 ++-- .../wpg/templates/config_polybar_config.base | 14 +++---- .../wpg/templates/config_twmn_twmn.conf.base | 2 +- .config/wpg/templates/gtk3.20.base | 1 + .zshrc | 3 +- 9 files changed, 54 insertions(+), 42 deletions(-) diff --git a/.config/compton.conf b/.config/compton.conf index b239109..0d17f2b 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -1,3 +1,12 @@ +# +# ____ _ +# / ___|___ _ __ ___ _ __ | |_ ___ _ __ +# | | / _ \| '_ ` _ \| '_ \| __/ _ \| '_ \ +# | |__| (_) | | | | | | |_) | || (_) | | | | +# \____\___/|_| |_| |_| .__/ \__\___/|_| |_| +# |_| +# + ################################# # # Backend @@ -199,7 +208,7 @@ detect-client-opacity = true; # Specify refresh rate of the screen. # If not specified or 0, compton will try detecting this with X RandR extension. -refresh-rate = 0; +refresh-rate = 60; # Set VSync method. VSync methods currently available: # none: No VSync @@ -209,11 +218,11 @@ refresh-rate = 0; # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental. # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use. # (Note some VSync methods may not be enabled at compile time.) -vsync = "opengl-swc"; +vsync = "opengl-mswc"; # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. # Reported to have no effect, though. -dbe = false; +dbe = true; # Painting on X Composite overlay window. Recommended. paint-on-overlay = true; @@ -227,6 +236,11 @@ sw-opti = false; # paint-on-overlay may make the flickering less obvious. unredir-if-possible = true; +# get rid of the screen tearing in full screen Chrome +unredir-if-possible-exclude = [ + "name *= 'Chrome'" +]; + # Specify a list of conditions of windows that should always be considered focused. focus-exclude = [ ]; diff --git a/.config/polybar/config b/.config/polybar/config index d620909..15a4dcc 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -5,28 +5,28 @@ ; [colors] background = #00000000 -background-alt = #A3674F -foreground = #8E7F82 -foreground-alt = #98B0D1 -highlight = #cedbe3 -error = #757988 -red = #757988 -yellow = #7A88A3 -green = #91959F -darkblue = #8E7F82 +background-alt = #636E90 +foreground = #778AAD +foreground-alt = #9FA7CA +highlight = #e2cedb +error = #8C7281 +red = #8C7281 +yellow = #9797B2 +green = #E1A0BA +darkblue = #778AAD alert = #FF0000 -lightblue = #cedbe3 -orange = #98B0D1 -blue = #A3674F -black = #100c14 -grey = #90999e +lightblue = #e2cedb +orange = #9FA7CA +blue = #636E90 +black = #020203 +grey = #9e9099 [bar/top] monitor = ${env:MONITOR:eDP-1} include-file = ~/.config/polybar/top-bar modules-left = i3 arrow01 xwindow arrow0 modules-center = term chrome editor fm music vpn -modules-right = arrow9 expressvpn-status arrow8 workspace arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar +modules-right = arrow9 expressvpn-status arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar ;tray-position = right ;tray-padding = 2 @@ -105,7 +105,7 @@ content-background = ${colors.green} type = custom/text content = "" content-foreground = ${colors.green} -content-background = ${colors.red} +content-background = ${colors.darkblue} [module/arrow8] type = custom/text @@ -126,7 +126,7 @@ interval = 5 ;format-foreground = #E5E9F0 ;format-backgound = #5E81AC label = " %output%" -label-foreground = #E5E9F0 +label-foreground = ${colors.highlight} label-background = ${colors.darkblue} [module/pavolume] @@ -162,10 +162,10 @@ exec = ~/.config/Scripts/backlight.sh scroll-up = exec light -A 5 scroll-down = exec light -U 5 format-prefix = "  " -format-prefix-foreground = #E5E9F0 +format-prefix-foreground = ${colors.highlight} format-prefix-background = ${colors.darkblue} -label = "%output% " -label-foreground = #E5E9F0 +label = "%output%% " +label-foreground = ${colors.highlight} label-background = ${colors.darkblue} [module/popup-calendar] @@ -207,7 +207,7 @@ label-background = ${colors.blue} [module/temperature] type = internal/temperature thermal-zone = 1 -hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input +hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input warn-temperature = 65 format =