From 6d3e53c68b5e26d5cf4d4b45b70dacb4843275a1 Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Tue, 7 Dec 2021 12:07:27 +0100 Subject: [PATCH] Added dunst hotkey for replay history. --- dot_config/picom/picom.conf | 4 +++- dot_dotfiles/i3/config | 8 ++++---- dot_dotfiles/polybar/config.tmpl | 14 +++++++++++++- .../executable_install.chezmoi.dependencies.sh | 4 +++- 4 files changed, 23 insertions(+), 7 deletions(-) diff --git a/dot_config/picom/picom.conf b/dot_config/picom/picom.conf index a064e31..56fea73 100644 --- a/dot_config/picom/picom.conf +++ b/dot_config/picom/picom.conf @@ -121,9 +121,11 @@ blur-background = true; blur-background-frame = true; # Do not let blur radius adjust based on window opacity. blur-background-fixed = true; +# adding rect-overlay should fix sharing of screen over Teams blur-background-exclude = [ "window_type = 'dock'", - "window_type = 'desktop'" + "window_type = 'desktop'", + "name *= 'rect-overlay'", ]; blur-size = 10; # makes everything smeared out diff --git a/dot_dotfiles/i3/config b/dot_dotfiles/i3/config index 268d861..8b25d28 100644 --- a/dot_dotfiles/i3/config +++ b/dot_dotfiles/i3/config @@ -2,6 +2,7 @@ # this sets the mod button -> windows key set $mod Mod4 +set $mod1 Mod1 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. @@ -408,10 +409,9 @@ bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # Dunst controls -bindsym Ctrl+space exec dunstctl close -bindsym Ctrl+Shift+space exec dunstctl close-all - - +bindsym $mod+Ctrl+space exec dunstctl close +bindsym $mod+Ctrl+Shift+space exec dunstctl close-all +bindsym $mod+Ctrl+$mod1+space exec dunstctl history-pop # start multi touch support exec --no-startup-id libinput-gestures-setup start diff --git a/dot_dotfiles/polybar/config.tmpl b/dot_dotfiles/polybar/config.tmpl index 406dccd..d2a4bd9 100644 --- a/dot_dotfiles/polybar/config.tmpl +++ b/dot_dotfiles/polybar/config.tmpl @@ -393,7 +393,19 @@ format-prefix = " " format-prefix-foreground = ${colors.bright_green} ;format-underline = #4bffdc ;format-underline = ${colors.underline-memory} -label = %percentage_used%% +label = %percentage_used%% %percentage_swap_used%% + +; remove this is you don't want a bar +; format =