mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
[sway/tray] remove QSyncthingTray & use native syncthing with i3status
This commit is contained in:
parent
887c57e5f7
commit
1378145a54
2 changed files with 8 additions and 1 deletions
|
@ -34,7 +34,7 @@ exec swayidle -w \
|
|||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep '~/.dotfiles/sway/lock.sh'
|
||||
exec mako
|
||||
exec sleep 2 && QSyncthingTray
|
||||
exec syncthing -no-browser
|
||||
#exec nm-applet --indicator
|
||||
#exec blueman-applet
|
||||
exec telegram-desktop -startintray
|
||||
|
|
|
@ -62,3 +62,10 @@ device_kind = "source"
|
|||
block = "time"
|
||||
interval = 1
|
||||
format = "%a %F %T"
|
||||
|
||||
[[block]]
|
||||
block = "custom"
|
||||
command = "if pgrep -x \"syncthing\" > /dev/null; then echo '{\"icon\":\"\",\"state\":\"Info\", \"text\": \"\"}'; else echo '{\"icon\":\"\",\"state\":\"Warning\", \"text\": \"\"}'; fi"
|
||||
json = true
|
||||
on_click = "xdg-open http://localhost:8384"
|
||||
interval = 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue