From d6fb49db0369744c95845951de2f3fa1ac2f8dbc Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Sat, 13 Jul 2019 22:09:02 +0300 Subject: [PATCH] starting to use wpg, disabled pscircle --- .Xresources | 25 ++++++++++++++++++++++++- .config/compton.conf | 10 ++++++---- .config/i3/config | 2 +- .config/polybar/config | 33 +++++++++------------------------ .config/ranger/rc.conf | 10 +++++----- 5 files changed, 45 insertions(+), 35 deletions(-) diff --git a/.Xresources b/.Xresources index fc5e365..6781733 100644 --- a/.Xresources +++ b/.Xresources @@ -1,4 +1,27 @@ -#include "/home/hate/.colors/nord" +!#include "/home/hate/.colors/nord" + +!! Set the background, foreground and cursor colors as below: +*.background: #282828 +*.foreground: white +*.cursorColor: white + +/* !! gruvbox: */ +/* *.color0: #1d2021 */ +/* *.color1: #cc241d */ +/* *.color2: #98971a */ +/* *.color3: #d79921 */ +/* *.color4: #458588 */ +/* *.color5: #b16286 */ +/* *.color6: #689d6a */ +/* *.color7: #a89984 */ +/* *.color8: #928374 */ +/* *.color9: #fb4934 */ +/* *.color10: #b8bb26 */ +/* *.color11: #fabd2f */ +/* *.color12: #83a598 */ +/* *.color13: #d3869b */ +/* *.color14: #8ec07c */ +/* *.color15: #ebdbb2 */ !! Transparency (0-255): st.opacity: 255 diff --git a/.config/compton.conf b/.config/compton.conf index 6ea2543..4e79de3 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -27,12 +27,12 @@ glx-copy-from-front = false; # My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated. # May break VSync and is not available on some drivers. # Overrides --glx-copy-from-front. -# glx-use-copysubbuffermesa = true; +glx-use-copysubbuffermesa = 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). # Recommended if it works. -# glx-no-rebind-pixmap = true; +glx-no-rebind-pixmap = true; # GLX backend: GLX buffer swap method we assume. @@ -93,7 +93,7 @@ shadow-ignore-shaped = false; menu-opacity = 0.8; inactive-opacity = 0.6; -active-opacity = 1; +active-opacity = 0.9; frame-opacity = 1; inactive-opacity-override = false; alpha-step = 0.06; @@ -105,7 +105,9 @@ blur-strength = 12; opacity-rule = [ "70:class_g = 'st'", "70:class_g = 'Code'", - "70:class_g = 'code-oss'" + "70:class_g = 'code-oss'", + "99:class_g = 'Google-chrome' && focused", + "60:class_g = 'Google-chrome' && !focused" ]; # Dim inactive windows. (0.0 - 1.0) diff --git a/.config/i3/config b/.config/i3/config index caa1903..2c44bb2 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -76,7 +76,7 @@ exec_always --no-startup-id ~/.config/polybar/launch.sh #Start udiskie exec --no-startup-id udiskie & #Add wallpaper: -exec --no-startup-id systemctl --user start wallpaper.service +#exec --no-startup-id systemctl --user start wallpaper.service #Unclutter makes the mouse invisible after a brief period exec --no-startup-id unclutter # set desktop background with custom effect diff --git a/.config/polybar/config b/.config/polybar/config index 8da4131..d74d5bc 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -10,16 +10,16 @@ background = #00FFFFFF ;background = #8a8061 background-alt = ${xrdb:color2:#7B8349} ;foreground = ${xrdb:color7} -foreground = #8FBCBB -foreground-alt = #5E81AC -highlight = #BF616A +foreground = #bdaf97 +foreground-alt = #264D4C +highlight = #1B4446 ;error = ${xrdb:color9:#DD712E} -error = #BF616A -red = #BF616A -yellow = #EBCB8B -green = #A3BE8C -blue = #5E81AC -alert = #BF616A +error = #1B4446 +red = #1B4446 +yellow = #2B6963 +green = #4F5044 +blue = #264D4C +alert = #1B4446 [bar/top] monitor = ${env:MONITOR:eDP-1} @@ -40,21 +40,6 @@ modules-left = hostname vpncheck modules-center = cpu memory temperature modules-right = openweather -[module/pulseaudio-control] -type = custom/script -tail = true -label=%output% -format-underline = ${colors.blue} - -exec = ~/.config/Scripts/pulseaudio-control.sh --listen -click-right = exec pavucontrol -click-left = ~/.config/Scripts/pulseaudio-control.sh --togmute -click-middle = ~/.config/Scripts/pulseaudio-control.sh --change -scroll-up = ~/.config/Scripts/pulseaudio-control.sh --up -scroll-down = ~/.config/Scripts/pulseaudio-control.sh --down -label-padding = 2 -label-foreground = ${colors.foreground} - [module/pulseaudio-rofi-output] type = custom/script exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index d355807..f11720c 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -501,11 +501,11 @@ map ya shell yadm add %f #Image commands map bk shell cp %f ~/.config/wall.png && feh --bg-scale %f -map bg shell wpg -an %f && wpg -s %f -map bt shell wpg --theme %f && systemctl --user restart wallpaper.service -map bc shell wal --backend colorz -i %f && systemctl --user restart wallpaper.service -map bw shell wal -a "90" -i %f && cp %f ~/.config/wall.png && ~/.config/Scripts/wal-set -map bv shell wal -c -a "90" -l -i %f && cp %f ~/.config/wall.png && ~/.config/Scripts/wal-set +map bg shell wpg -a %f && wpg -s %f +map bt shell wpg --theme %f #&& systemctl --user restart wallpaper.service +map bc shell wal --backend colorz -i %f #&& systemctl --user restart wallpaper.service +map bw shell wal -a "90" -i %f && cp %f ~/.config/wall.png #&& ~/.config/Scripts/wal-set +map bv shell wal -c -a "90" -l -i %f && cp %f ~/.config/wall.png #&& ~/.config/Scripts/wal-set map C shell killall w3mimgdisplay && convert -rotate 90 %s %s map F shell killall w3mimgdisplay && convert -flop %s %s map bl shell killall w3mimgdisplay && convert %s -resize 1920x1080\> bl_%s