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 dst: ~/.local/share/fonts
actions: actions:
- font-cache - font-cache
f_picom: f_compton:
src: picom/picom src: compton/compton.conf
dst: ~/.config/picom.conf dst: ~/.config/compton.conf
f_tmux: f_tmux:
src: tmux/tmux src: tmux/tmux
dst: ~/.tmux.conf dst: ~/.tmux.conf
@@ -87,7 +87,7 @@ profiles:
- x11 - x11
- i3 - i3
- font - font
- picom - compton
- tmux - tmux
- polybar - polybar
- dunst - dunst
@@ -103,7 +103,7 @@ profiles:
- x11 - x11
- i3 - i3
- font - font
- picom - compton
- tmux - tmux
dev: dev:
include: include:
@@ -134,9 +134,9 @@ profiles:
font: font:
dotfiles: dotfiles:
- d_fonts - d_fonts
picom: compton:
dotfiles: dotfiles:
- f_picom - f_compton
tmux: tmux:
dotfiles: dotfiles:
- f_tmux - 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 new_window 1pixel
# Screenshot # 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 # Audio and Screen
bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness
@@ -233,8 +233,10 @@ bindsym $mod+Shift+BackSpace exec "xlock -mode rain -info ''"
# Custom Workspaces # Custom Workspaces
# exec --no-startup-id "chromium-browser" # exec --no-startup-id "chromium-browser"
for_window [class="spotify"] move container to workspace 7 for_window [class="Thunderbird"] move container to workspace 6
for_window [class="telegram"] move container to workspace 8 # 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="discord"] move container to workspace 8
for_window [class="Chromium"] move container to workspace 9 for_window [class="Chromium"] move container to workspace 9
for_window [class="Firefox"] 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 # i3-gaps
smart_gaps on smart_gaps on
gaps inner 5 gaps inner 7
# vifm
bindsym $mod+Shift+Return exec xterm vifm
# ranger # ranger
bindsym $mod+e exec xterm 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 # In ascii mode, distro ascii art will be used and in an image mode, your
# wallpaper will be used. # wallpaper will be used.
#image_source="data/pictures/mitsuha_yourname.png" #image_source="data/pictures/mitsuha_yourname.png"
image_source="/home/marc/.wallpaper/asuna_bluebg.png" image_source="/home/marc/wallpaper/asuna_bluebg.png"
#image_source="/home/marc/.wallpaper/asuna_bg.png" #image_source="/home/marc/wallpaper/asuna_bg.png"
#image_source="/home/marc/.wallpaper/sinon_greenbg.png" #image_source="/home/marc/wallpaper/sinon_greenbg.png"
# image_source="auto" # 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-left = title
modules-center = modules-center =
modules-right = wpchanger modules-right =
############################################################################### ###############################################################################
[bar/external_top] [bar/external_top]