Set to background all polybar click actions
This commit is contained in:
parent
1e3ca1e40d
commit
0d39bd69d6
@ -355,8 +355,8 @@
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-underline = ${colors.bg}
|
format-underline = ${colors.bg}
|
||||||
click-left = ~/.config/polybar/scripts/mail-open.sh
|
click-left = ~/.config/polybar/scripts/mail-open.sh >/dev/null 2>%1 &
|
||||||
click-right = ~/.config/polybar/scripts/mail-refresh.sh
|
click-right = ~/.config/polybar/scripts/mail-refresh.sh >/dev/null 2>%1 &
|
||||||
format = <label>
|
format = <label>
|
||||||
exec = ~/.config/polybar/scripts/mail-status.sh
|
exec = ~/.config/polybar/scripts/mail-status.sh
|
||||||
interval = 2
|
interval = 2
|
||||||
@ -400,7 +400,7 @@
|
|||||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||||
:END:
|
:END:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
$TERMINAL -e "tmux new-session -A -s neomutt neomutt" &
|
$TERMINAL -e "tmux new-session -A -s neomutt neomutt"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Unread News
|
* Unread News
|
||||||
@ -409,8 +409,8 @@
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-underline = ${colors.bg}
|
format-underline = ${colors.bg}
|
||||||
click-left = ~/.config/polybar/scripts/news-open.sh
|
click-left = ~/.config/polybar/scripts/news-open.sh >/dev/null 2>%1 &
|
||||||
click-right = ~/.config/polybar/scripts/news-refresh.sh &
|
click-right = ~/.config/polybar/scripts/news-refresh.sh >/dev/null 2>%1 &
|
||||||
format = <label>
|
format = <label>
|
||||||
exec = ~/.config/polybar/scripts/news-status.sh
|
exec = ~/.config/polybar/scripts/news-status.sh
|
||||||
interval = 60
|
interval = 60
|
||||||
@ -458,7 +458,7 @@
|
|||||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||||
:END:
|
:END:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
$TERMINAL -e "tmux new-session -A -s newsboat newsboat" &
|
$TERMINAL -e "tmux new-session -A -s newsboat newsboat"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Redshift
|
* Redshift
|
||||||
@ -467,7 +467,7 @@
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-underline = ${colors.bg}
|
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>
|
format = <label>
|
||||||
exec = ~/.config/polybar/scripts/redshift-status.sh
|
exec = ~/.config/polybar/scripts/redshift-status.sh
|
||||||
interval = 2
|
interval = 2
|
||||||
@ -496,7 +496,7 @@
|
|||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
if pgrep -x "redshift" >/dev/null; then
|
if pgrep -x "redshift" >/dev/null; then
|
||||||
killall redshift && \
|
killall redshift && \
|
||||||
dunstify --replace=36492 "Redshift 望" "Turned off";
|
dunstify --replace=36492 "Redshift 望" "Turned off";
|
||||||
else
|
else
|
||||||
nohup redshift > /dev/null 2>&1 &
|
nohup redshift > /dev/null 2>&1 &
|
||||||
dunstify --replace=36492 "Redshift 望" "Starting...";
|
dunstify --replace=36492 "Redshift 望" "Starting...";
|
||||||
@ -509,7 +509,7 @@
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-underline = ${colors.bg}
|
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>
|
format = <label>
|
||||||
exec = ~/.config/polybar/scripts/nordvpn-status.sh
|
exec = ~/.config/polybar/scripts/nordvpn-status.sh
|
||||||
interval = 2
|
interval = 2
|
||||||
@ -560,8 +560,8 @@
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-underline = ${colors.bg}
|
format-underline = ${colors.bg}
|
||||||
click-left = ~/.config/polybar/scripts/packages-update.sh
|
click-left = ~/.config/polybar/scripts/packages-update.sh >/dev/null 2>%1 &
|
||||||
click-right = ~/.config/polybar/scripts/packages-refresh.sh
|
click-right = ~/.config/polybar/scripts/packages-refresh.sh >/dev/null 2>%1 &
|
||||||
format = <label>
|
format = <label>
|
||||||
exec = ~/.config/polybar/scripts/packages-status.sh
|
exec = ~/.config/polybar/scripts/packages-status.sh
|
||||||
interval = 600
|
interval = 600
|
||||||
@ -612,7 +612,7 @@
|
|||||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||||
:END:
|
:END:
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
$TERMINAL -e "yay" &
|
$TERMINAL -e "yay"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Dunst
|
* Dunst
|
||||||
@ -621,7 +621,7 @@
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-underline = ${colors.bg}
|
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>
|
format = <label>
|
||||||
exec = ~/.config/polybar/scripts/dunst-status.sh
|
exec = ~/.config/polybar/scripts/dunst-status.sh
|
||||||
interval = 2
|
interval = 2
|
||||||
@ -674,8 +674,8 @@
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-underline = ${colors.bg}
|
format-underline = ${colors.bg}
|
||||||
click-left = ~/.config/polybar/scripts/lockscreen-toggle.sh
|
click-left = ~/.config/polybar/scripts/lockscreen-toggle.sh >/dev/null 2>%1 &
|
||||||
click-right = ~/.local/bin/lockscreen
|
click-right = ~/.local/bin/lockscreen >/dev/null 2>%1 &
|
||||||
format = <label>
|
format = <label>
|
||||||
exec = ~/.config/polybar/scripts/lockscreen-status.sh
|
exec = ~/.config/polybar/scripts/lockscreen-status.sh
|
||||||
|
|
||||||
@ -753,7 +753,7 @@
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-underline = ${colors.bg}
|
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>
|
format = <label>
|
||||||
exec = ~/.config/polybar/scripts/wireguard-status.sh
|
exec = ~/.config/polybar/scripts/wireguard-status.sh
|
||||||
|
|
||||||
@ -806,7 +806,7 @@
|
|||||||
[module/screenshot]
|
[module/screenshot]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = ""
|
content = ""
|
||||||
click-left = ~/.local/bin/screenshot
|
click-left = ~/.local/bin/screenshot >/dev/null 2>%1 &
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Scripts
|
* Scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user