new command to toggle polybar etc.

This commit is contained in:
Harri Lahtinen 2020-03-21 17:05:35 +02:00
parent a53c70e32d
commit 82d6b190ff
5 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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

View File

@ -354,7 +354,6 @@ format-prefix = " "
format-prefix-foreground = ${colors.foreground}
format-padding = 1
[module/xwindow]
type = internal/xwindow
;format-padding = ${spacing.padding}

View File

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