From 82d6b190ffc66776132ecb9753bc63d828254a80 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Sat, 21 Mar 2020 17:05:35 +0200 Subject: [PATCH] new command to toggle polybar etc. --- .config/i3/config | 5 ++--- .config/picom.conf | 4 ++-- .config/polybar/bottom-bar | 1 + .config/polybar/config | 1 - .config/polybar/top-bar | 1 + 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 08dc52a..8eb6f48 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -57,7 +57,7 @@ exec --no-startup-id ~/.config/wpg/wp_init.sh #Conky #exec --no-startup-id conky -d -c ~/.config/conky/conkybg & #Picom -exec --no-startup-id picom -b --experimental-backends --dbus --config /home/hate/.config/picom.conf +exec --no-startup-id picom -bc --experimental-backends --dbus --config /home/hate/.config/picom.conf #Gnome privileges exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 #Launch Polybar where appropriate: @@ -162,8 +162,7 @@ bindsym $mod+Shift+i resize grow height 10 px or 10 ppt #bindsym $mod+o exec --no-startup-id $beg bindsym $mod+Shift+o resize grow width 10 px or 10 ppt -bindsym $mod+p exec xdo hide -N "Polybar" -bindsym $mod+Shift+p exec xdo show -N "Polybar" +bindsym $mod+p exec --no-startup-id polybar-msg cmd toggle bindsym $mod+a [instance="music"] scratchpad show; move position center bindsym $mod+Shift+a exec pavucontrol diff --git a/.config/picom.conf b/.config/picom.conf index 83667eb..bd5d232 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -24,8 +24,8 @@ shadow = true; #no-dnd-shadow = true; #no-dock-shadow = true; shadow-radius = 7; -shadow-offset-x = -7; -shadow-offset-y = -7; +shadow-offset-x = -3; +shadow-offset-y = -3; shadow-opacity = 0.5; # shadow-red = 0.0; # shadow-green = 0.0; diff --git a/.config/polybar/bottom-bar b/.config/polybar/bottom-bar index 9963307..e709d25 100644 --- a/.config/polybar/bottom-bar +++ b/.config/polybar/bottom-bar @@ -16,3 +16,4 @@ module-margin-right = 0 font-0 = PowerlineSymbols:size=10;6 font-1 = FontAwesome:size=9;4 font-2 = UbuntuMono Nerd Font:size=10;3 +enable-ipc = true diff --git a/.config/polybar/config b/.config/polybar/config index c071bf6..ed6ad01 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -354,7 +354,6 @@ format-prefix = " " format-prefix-foreground = ${colors.foreground} format-padding = 1 - [module/xwindow] type = internal/xwindow ;format-padding = ${spacing.padding} diff --git a/.config/polybar/top-bar b/.config/polybar/top-bar index 9076e12..a79dbcb 100644 --- a/.config/polybar/top-bar +++ b/.config/polybar/top-bar @@ -18,3 +18,4 @@ font-1 = FontAwesome:size=9;4 font-2 = UbuntuMono Nerd Font:size=10;3 scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev +enable-ipc = true