Add kawase blur

This commit is contained in:
CramMK
2020-05-26 10:49:29 +02:00
parent 7bb307c514
commit 624f36d137
6 changed files with 33 additions and 38 deletions

View File

@@ -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

View File

@@ -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";

View File

@@ -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

View File

@@ -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"

View File

@@ -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";

View File

@@ -89,7 +89,7 @@ monitor = "eDP-1"
modules-left = title
modules-center =
modules-right = wpchanger
modules-right =
###############################################################################
[bar/external_top]