Set to background all polybar click actions

This commit is contained in:
Thomas Dehaeze 2020-04-10 16:37:42 +02:00
parent 1e3ca1e40d
commit 0d39bd69d6

View File

@ -355,8 +355,8 @@
type = custom/script
format-underline = ${colors.bg}
click-left = ~/.config/polybar/scripts/mail-open.sh
click-right = ~/.config/polybar/scripts/mail-refresh.sh
click-left = ~/.config/polybar/scripts/mail-open.sh >/dev/null 2>%1 &
click-right = ~/.config/polybar/scripts/mail-refresh.sh >/dev/null 2>%1 &
format = <label>
exec = ~/.config/polybar/scripts/mail-status.sh
interval = 2
@ -400,7 +400,7 @@
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
#+begin_src bash
$TERMINAL -e "tmux new-session -A -s neomutt neomutt" &
$TERMINAL -e "tmux new-session -A -s neomutt neomutt"
#+end_src
* Unread News
@ -409,8 +409,8 @@
type = custom/script
format-underline = ${colors.bg}
click-left = ~/.config/polybar/scripts/news-open.sh
click-right = ~/.config/polybar/scripts/news-refresh.sh &
click-left = ~/.config/polybar/scripts/news-open.sh >/dev/null 2>%1 &
click-right = ~/.config/polybar/scripts/news-refresh.sh >/dev/null 2>%1 &
format = <label>
exec = ~/.config/polybar/scripts/news-status.sh
interval = 60
@ -458,7 +458,7 @@
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
#+begin_src bash
$TERMINAL -e "tmux new-session -A -s newsboat newsboat" &
$TERMINAL -e "tmux new-session -A -s newsboat newsboat"
#+end_src
* Redshift
@ -467,7 +467,7 @@
type = custom/script
format-underline = ${colors.bg}
click-left = ~/.config/polybar/scripts/redshift-toggle.sh
click-left = ~/.config/polybar/scripts/redshift-toggle.sh >/dev/null 2>%1 &
format = <label>
exec = ~/.config/polybar/scripts/redshift-status.sh
interval = 2
@ -509,7 +509,7 @@
type = custom/script
format-underline = ${colors.bg}
click-left = ~/.config/polybar/scripts/nordvpn-toggle.sh
click-left = ~/.config/polybar/scripts/nordvpn-toggle.sh >/dev/null 2>%1 &
format = <label>
exec = ~/.config/polybar/scripts/nordvpn-status.sh
interval = 2
@ -560,8 +560,8 @@
type = custom/script
format-underline = ${colors.bg}
click-left = ~/.config/polybar/scripts/packages-update.sh
click-right = ~/.config/polybar/scripts/packages-refresh.sh
click-left = ~/.config/polybar/scripts/packages-update.sh >/dev/null 2>%1 &
click-right = ~/.config/polybar/scripts/packages-refresh.sh >/dev/null 2>%1 &
format = <label>
exec = ~/.config/polybar/scripts/packages-status.sh
interval = 600
@ -612,7 +612,7 @@
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
#+BEGIN_SRC bash
$TERMINAL -e "yay" &
$TERMINAL -e "yay"
#+END_SRC
* Dunst
@ -621,7 +621,7 @@
type = custom/script
format-underline = ${colors.bg}
click-left = ~/.config/polybar/scripts/dunst-toggle.sh
click-left = ~/.config/polybar/scripts/dunst-toggle.sh >/dev/null 2>%1 &
format = <label>
exec = ~/.config/polybar/scripts/dunst-status.sh
interval = 2
@ -674,8 +674,8 @@
type = custom/script
format-underline = ${colors.bg}
click-left = ~/.config/polybar/scripts/lockscreen-toggle.sh
click-right = ~/.local/bin/lockscreen
click-left = ~/.config/polybar/scripts/lockscreen-toggle.sh >/dev/null 2>%1 &
click-right = ~/.local/bin/lockscreen >/dev/null 2>%1 &
format = <label>
exec = ~/.config/polybar/scripts/lockscreen-status.sh
@ -753,7 +753,7 @@
type = custom/script
format-underline = ${colors.bg}
click-left = ~/.config/polybar/scripts/wireguard-toggle.sh
click-left = ~/.config/polybar/scripts/wireguard-toggle.sh >/dev/null 2>%1 &
format = <label>
exec = ~/.config/polybar/scripts/wireguard-status.sh
@ -806,7 +806,7 @@
[module/screenshot]
type = custom/text
content = ""
click-left = ~/.local/bin/screenshot
click-left = ~/.local/bin/screenshot >/dev/null 2>%1 &
#+END_SRC
* Scripts