From 624f36d137ac407082b883efce033c7aa55769e3 Mon Sep 17 00:00:00 2001 From: CramMK Date: Tue, 26 May 2020 10:49:29 +0200 Subject: [PATCH] Add kawase blur --- config.yaml | 14 +++++++------- dotfiles/compton/compton.conf | 16 ++++++++++++++++ dotfiles/i3/i3 | 13 ++++++------- dotfiles/neofetch/config.conf | 6 +++--- dotfiles/picom/picom | 20 -------------------- dotfiles/polybar/config | 2 +- 6 files changed, 33 insertions(+), 38 deletions(-) create mode 100644 dotfiles/compton/compton.conf delete mode 100644 dotfiles/picom/picom diff --git a/config.yaml b/config.yaml index 1e8dafa..5282a62 100644 --- a/config.yaml +++ b/config.yaml @@ -48,9 +48,9 @@ dotfiles: dst: ~/.local/share/fonts actions: - font-cache - f_picom: - src: picom/picom - dst: ~/.config/picom.conf + f_compton: + src: compton/compton.conf + dst: ~/.config/compton.conf f_tmux: src: tmux/tmux dst: ~/.tmux.conf @@ -87,7 +87,7 @@ profiles: - x11 - i3 - font - - picom + - compton - tmux - polybar - dunst @@ -103,7 +103,7 @@ profiles: - x11 - i3 - font - - picom + - compton - tmux dev: include: @@ -134,9 +134,9 @@ profiles: font: dotfiles: - d_fonts - picom: + compton: dotfiles: - - f_picom + - f_compton tmux: dotfiles: - f_tmux diff --git a/dotfiles/compton/compton.conf b/dotfiles/compton/compton.conf new file mode 100644 index 0000000..6a7c3d8 --- /dev/null +++ b/dotfiles/compton/compton.conf @@ -0,0 +1,16 @@ +# Opacity +opacity-rule = [ + "85:class_g = 'XTerm'", + "85:class_g = 'discord'", + "80:class_g *?= 'spotify'", + "90:class_g *?= 'Rofi'", +]; + +# Blur +blur-background = true; +blur-method = "kawase"; +blur-strength = 4; + +# Other +vsync = true; +backend = "glx"; diff --git a/dotfiles/i3/i3 b/dotfiles/i3/i3 index 7a6c1d0..7064bd7 100644 --- a/dotfiles/i3/i3 +++ b/dotfiles/i3/i3 @@ -171,7 +171,7 @@ exec --no-startup-id feh --bg-scale ~/wallpaper/wallpaper.png new_window 1pixel # Screenshot -bindsym --release $mod+Shift+p exec"import ~/Screenshot-$(date '+%Y%m%d-%H%M%S').png" +bindsym --release $mod+Shift+p exec"import ~/screenshots/Screenshot-$(date '+%Y%m%d-%H%M%S').png" # Audio and Screen bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness @@ -233,8 +233,10 @@ bindsym $mod+Shift+BackSpace exec "xlock -mode rain -info ''" # Custom Workspaces # exec --no-startup-id "chromium-browser" -for_window [class="spotify"] move container to workspace 7 -for_window [class="telegram"] move container to workspace 8 +for_window [class="Thunderbird"] move container to workspace 6 +# doesnt work +# for_window [class="spotify"] move container to workspace 7 +#for_window [class="telegram"] move container to workspace 8 for_window [class="discord"] move container to workspace 8 for_window [class="Chromium"] move container to workspace 9 for_window [class="Firefox"] move container to workspace 9 @@ -252,10 +254,7 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2 # i3-gaps smart_gaps on -gaps inner 5 - -# vifm -bindsym $mod+Shift+Return exec xterm vifm +gaps inner 7 # ranger bindsym $mod+e exec xterm ranger diff --git a/dotfiles/neofetch/config.conf b/dotfiles/neofetch/config.conf index 5b1699b..89ce43b 100644 --- a/dotfiles/neofetch/config.conf +++ b/dotfiles/neofetch/config.conf @@ -643,9 +643,9 @@ image_backend="w3m" # In ascii mode, distro ascii art will be used and in an image mode, your # wallpaper will be used. #image_source="data/pictures/mitsuha_yourname.png" -image_source="/home/marc/.wallpaper/asuna_bluebg.png" -#image_source="/home/marc/.wallpaper/asuna_bg.png" -#image_source="/home/marc/.wallpaper/sinon_greenbg.png" +image_source="/home/marc/wallpaper/asuna_bluebg.png" +#image_source="/home/marc/wallpaper/asuna_bg.png" +#image_source="/home/marc/wallpaper/sinon_greenbg.png" # image_source="auto" diff --git a/dotfiles/picom/picom b/dotfiles/picom/picom deleted file mode 100644 index ae87d39..0000000 --- a/dotfiles/picom/picom +++ /dev/null @@ -1,20 +0,0 @@ -# Opacity -opacity-rule = [ - "90:class_g = 'XTerm' && !focused", - "95:class_g = 'XTerm' && focused", - "97:class_g = 'discord'", - "95:class_g *?= 'spotify'", - "90:class_g *?= 'Rofi'", -]; -inactive-opacity = 1.0; -active-opacity = 1.0; - -# Blur - currently not working -blur-background = true; -blur-method = "kawase"; -blur-strength = 4; -blur-background-fixed = true; - -# Other -vsync = true; -backend = "glx"; diff --git a/dotfiles/polybar/config b/dotfiles/polybar/config index a9b302c..711c8bf 100644 --- a/dotfiles/polybar/config +++ b/dotfiles/polybar/config @@ -89,7 +89,7 @@ monitor = "eDP-1" modules-left = title modules-center = -modules-right = wpchanger +modules-right = ############################################################################### [bar/external_top]