mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
polybar: use 'polybar-msg cmd restart' to reload
This is technically more of a restart than a reload, but it's the closest thing without actually restarting the main pid. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
c1ff08b878
commit
561582734e
@ -6,6 +6,7 @@ After=graphical-session.target pulseaudio.socket i3.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/polybar --reload --log=warning %i
|
ExecStart=/usr/bin/polybar --reload --log=warning %i
|
||||||
|
ExecReload=/usr/bin/polybar-msg cmd restart -p $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
2
aliases
2
aliases
@ -297,7 +297,7 @@ alias xresources="$EDITOR $XDG_CONFIG_HOME/X11/xresources ; xrdb merge $XDG_CONF
|
|||||||
alias sshc="$EDITOR ~/.ssh/config"
|
alias sshc="$EDITOR ~/.ssh/config"
|
||||||
alias dotfiles="cd $DOTFILES"
|
alias dotfiles="cd $DOTFILES"
|
||||||
alias i3c="$EDITOR $XDG_CONFIG_HOME/i3/config; systemctl --user reload i3"
|
alias i3c="$EDITOR $XDG_CONFIG_HOME/i3/config; systemctl --user reload i3"
|
||||||
alias polybarc="$EDITOR $XDG_CONFIG_HOME/polybar/config; systemctl --user restart polybar@i3bar"
|
alias polybarc="$EDITOR $XDG_CONFIG_HOME/polybar/config; systemctl --user reload polybar@i3bar"
|
||||||
|
|
||||||
alias sf=screenfetch
|
alias sf=screenfetch
|
||||||
alias nf=neofetch
|
alias nf=neofetch
|
||||||
|
@ -25,5 +25,4 @@ echo Xft.dpi: $dpi | xrdb -merge
|
|||||||
xrandr --dpi $dpi
|
xrandr --dpi $dpi
|
||||||
|
|
||||||
systemctl --user reload-or-restart xsettingsd
|
systemctl --user reload-or-restart xsettingsd
|
||||||
systemctl --user --no-block reload i3
|
systemctl --user --no-block reload i3 polybar@i3bar
|
||||||
systemctl --user --no-block restart polybar@i3bar dunst
|
|
||||||
|
Loading…
Reference in New Issue
Block a user