From f56ac10f6a11f57d1db6c78fd9d61e75708356a2 Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Thu, 25 Feb 2021 09:38:16 +0100 Subject: [PATCH] Updated polybar-scripts. --- .../polybar/polybar-scripts/README.md | 98 +++++-- dot_dotfiles/polybar/polybar-scripts/build.sh | 26 -- .../polybar/polybar-scripts/dot_travis.yml | 13 - .../battery-combined-shell.sh | 26 +- .../battery-combined-tlp/README.md | 2 +- .../battery-combined-tlp.sh | 2 +- .../battery-combined-udev/README.md | 2 - .../battery-combined-udev.sh | 28 +- .../battery-cyberpower/README.md | 6 +- .../easteregg-pornhub/README.md | 44 +++ .../easteregg-pornhub/screenshots/1.png | Bin 0 -> 1435 bytes .../inbox-imap-python/README.md | 20 -- .../inbox-imap-python/inbox-imap-python.py | 9 - .../inbox-imap-pythongpg/README.md | 29 ++ .../inbox-imap-pythongpg/inbox-imap-python.py | 14 + .../screenshots/1.png | Bin .../inbox-imap-shellpass/README.md | 22 ++ .../inbox-imap-shellpass.sh | 19 ++ .../polybar-scripts/inbox-reddit/README.md | 23 -- .../inbox-reddit/inbox-reddit.sh | 15 -- .../info-airqualityindex/README.md | 30 +++ .../info-airqualityindex.sh | 41 +++ .../info-airqualityindex/screenshots/1.png | Bin 0 -> 1193 bytes .../polybar-scripts/info-docker/README.md | 26 ++ .../info-docker/info-docker.sh | 9 + .../info-docker/screenshots/1.png | Bin 0 -> 626 bytes .../polybar-scripts/info-dualshock4/README.md | 20 ++ .../info-dualshock4/info-dualshock4.sh | 5 + .../info-dualshock4/screenshots/1.png | Bin 0 -> 4104 bytes .../polybar-scripts/info-ethermine/README.md | 18 ++ .../info-ethermine/info-ethermine.py | 12 + .../polybar-scripts/info-eyestrain/README.md | 15 ++ .../info-eyestrain/info-eyestrain.sh | 10 + .../info-gitlab-pipelines/README.md | 25 ++ .../info-gitlab-pipelines/gitlab-pipelines.sh | 23 ++ .../info-gitlab-pipelines/screenshots/1.png | Bin 0 -> 602 bytes .../polybar-scripts/info-hackspeed/README.md | 2 +- ...le_info-hackspeed.sh => info-hackspeed.sh} | 7 +- .../polybar-scripts/info-hexdate/README.md | 15 ++ .../info-hexdate/info-hexdate.sh | 11 + .../info-hexdate/screenshots/1.png | Bin 0 -> 1145 bytes .../info-hlwm-workspaces/README.md | 27 ++ .../info-hlwm-workspaces.sh | 46 ++++ .../info-hlwm-workspaces/screenshots/1.png | Bin 0 -> 2181 bytes .../info-softwarecounter.py | 2 +- .../info-ssh-sessions/info-ssh-sessions.sh | 2 +- .../info-taskspooler/README.md | 28 ++ .../info-taskspooler/info-taskspooler.sh | 27 ++ .../info-taskspooler/screenshots/1.png | Bin 0 -> 3377 bytes .../info-tmux-sessions/README.md | 16 ++ .../info-tmux-sessions/info-tmux-sessions.sh | 21 ++ .../info-tmux-sessions/screenshots/1.png | Bin 0 -> 7050 bytes .../info-tmux-sessions/screenshots/2.png | Bin 0 -> 2280 bytes .../polybar-scripts/info-trash/README.md | 2 +- .../info-twitch-countdown/README.md | 37 --- .../info-twitch-countdown.sh | 68 ----- .../info-twitch-countdown/screenshots/1.png | Bin 3988 -> 0 bytes .../info-twitch-countdown/screenshots/2.png | Bin 3492 -> 0 bytes .../info-usbtoserial/95-usbtoserial.rules | 4 + .../info-usbtoserial/README.md | 20 ++ .../info-usbtoserial/info-usbtoserial.sh | 44 +++ .../info-wifionice/info-wifionice.sh | 54 ++-- .../polybar-scripts/info-wmname/README.md | 2 +- .../info-wmname/info-wmname.sh | 3 +- .../polybar-scripts/info-xampp/README.md | 2 +- .../polybar-scripts/info-xampp/info-xampp.sh | 2 +- .../isactive-bluetooth/README.md | 13 - .../isactive-bluetooth/isactive-bluetooth.sh | 7 - .../isrunning-claudius/README.md | 2 +- .../isrunning-compton/README.md | 2 +- .../isrunning-dropbox/README.md | 2 +- .../isrunning-offlineimap/README.md | 2 +- .../isrunning-service/README.md | 18 ++ .../isrunning-service/isrunning-service.sh | 11 + .../network-ipinfo.io/README.md | 26 ++ .../executable_network-ipinfo.io.sh | 12 + .../network-ipinfo.io/screenshots/1.png | Bin 0 -> 2046 bytes .../polybar-scripts/network-localip/README.md | 15 ++ .../network-localip/network-localip.sh | 6 + .../network-localip/screenshots/1.png | Bin 0 -> 1722 bytes .../network-networkmanager/90-polybar | 10 + .../network-networkmanager/README.md | 20 ++ .../network-networkmanager.sh | 86 ++++++ .../network-publicip/README.md | 20 ++ .../network-publicip/info-publicip.sh | 3 + .../network-publicip/screenshots/1.png | Bin 0 -> 2340 bytes .../polybar-scripts/network-traffic/README.md | 25 ++ .../network-traffic/network-traffic.sh | 61 +++++ .../news-archlinux/news-archlinux.py | 13 +- .../notification-chess/notification-chess.sh | 4 +- .../notification-github.sh | 3 +- .../notification-reddit/README.md | 28 ++ .../notification-reddit.sh | 12 + .../screenshots/1.png | Bin .../notification-spacex/README.md | 21 ++ .../notification-spacex.sh | 17 ++ .../notification-spacex/screenshots/1.png | Bin 0 -> 1756 bytes .../notification-xkcd/README.md | 26 ++ .../executable_notification-xkcd.py | 59 ++++ .../notification-xkcd/screenshots/1.png | Bin 0 -> 5407 bytes .../notification-xkcd/screenshots/2.png | Bin 0 -> 5482 bytes .../openvpn-isrunning/README.md | 15 -- .../openvpn-isrunning/isrunning-openvpn.sh | 7 - .../openweathermap-detailed/README.md | 6 +- .../openweathermap-detailed.sh | 24 +- .../openweathermap-forecast/README.md | 4 +- .../openweathermap-forecast.sh | 23 +- .../openweathermap-fullfeatured/README.md | 6 +- .../openweathermap-fullfeatured.sh | 23 +- .../openweathermap-simple/README.md | 6 +- .../openweathermap-simple.sh | 24 +- .../polybar-scripts/player-cmus/README.md | 9 +- .../player-cmus/executable_player-cmus.sh | 42 +++ .../player-cmus/player-cmus.sh | 16 -- .../player-cmus/screenshots/1.png | Bin 414 -> 4535 bytes .../polybar-scripts/player-moc/README.md | 6 +- .../player-mpris-simple/README.md | 6 +- .../player-mpris-tail/README.md | 53 ++-- .../executable_player-mpris-tail.py | 251 +++++++++++++----- .../polybar-scripts/popup-calendar/README.md | 13 +- .../popup-calendar/popup-calendar.sh | 52 ++-- .../pulseaudio-microphone/README.md | 16 ++ .../pulseaudio-microphone.sh | 41 +++ .../polybar-scripts/pulseaudio-rofi/README.md | 38 --- .../pulseaudio-rofi/pulseaudio-rofi.sh | 125 --------- .../pulseaudio-rofi/screenshots/1.png | Bin 1108 -> 0 bytes .../pulseaudio-rofi/screenshots/2.png | Bin 44380 -> 0 bytes .../polybar-scripts/pulseaudio-tail/README.md | 6 +- .../pulseaudio-tail/pulseaudio-tail.sh | 26 +- .../system-ati-radeontop/README.md | 20 ++ .../system-ati-radeontop/screenshots/1.png | Bin 0 -> 895 bytes .../system-ati-radeontop.sh | 3 + .../system-bluetooth-bluetoothctl/README.md | 28 ++ .../screenshots/1.png | Bin 0 -> 5932 bytes .../system-bluetooth-bluetoothctl.sh | 60 +++++ .../system-cpu-frequency/README.md | 11 +- .../system-cpu-frequency.sh | 10 + .../system-cpu-loadavg.sh | 3 - .../polybar-scripts/system-eprivacy/README.md | 30 +++ .../system-eprivacy/screenshots/1.png | Bin 0 -> 1265 bytes .../system-eprivacy/system-eprivacy.sh | 39 +++ .../system-fan-speed/system-fan-speed.sh | 2 +- .../system-gpu-intel/README.md | 2 +- .../system-gpu-optimus/README.md | 25 ++ .../system-gpu-optimus/screenshots/1.png | Bin 0 -> 2031 bytes .../system-gpu-optimus/system-gpu-optimus.sh | 53 ++++ .../system-nvidia-bbswitch/README.md | 2 +- .../system-thinklight/README.md | 15 ++ .../system-thinklight/info-thinklight.sh | 7 + .../system-thinklight/screenshots/1.png | Bin 0 -> 3596 bytes .../system-usb-mount/README.md | 4 +- .../system-usb-udev/95-usb.rule | 4 - .../system-usb-udev/95-usb.rules | 4 + .../polybar-scripts/system-usb-udev/README.md | 6 +- .../system-usb-udev/system-usb-udev.sh | 12 +- .../polybar-scripts/ticker-bcheur/README.md | 19 -- .../ticker-bcheur/ticker-bcheur.sh | 6 - .../polybar-scripts/ticker-btceur/README.md | 21 -- .../ticker-btceur/ticker-btceur.sh | 6 - .../polybar-scripts/ticker-crypto/README.md | 21 ++ .../screenshots/1.png | Bin .../ticker-crypto/ticker-crypto.sh | 8 + .../polybar-scripts/ticker-etheur/README.md | 19 -- .../ticker-etheur/ticker-etheur.sh | 6 - .../polybar-scripts/ticker-forex/README.md | 19 ++ .../ticker-forex/ticker-forex.sh | 12 + .../polybar-scripts/updates-apt/README.md | 13 + .../updates-apt/updates-apt.sh | 9 + .../updates-arch-combined/README.md | 26 -- .../polybar-scripts/updates-arch/README.md | 18 -- .../README.md | 8 +- .../updates-aurhelper.sh} | 4 +- .../polybar-scripts/updates-dnf/README.md | 23 ++ .../updates-dnf/screenshots/1.png | Bin 0 -> 1969 bytes .../updates-dnf/updates-dnf.sh | 9 + .../polybar-scripts/updates-flatpak/README.md | 13 + .../updates-flatpak/updates-flatpak.sh | 9 + .../polybar-scripts/updates-fwupd/README.md | 18 ++ .../updates-fwupd/updates-fwupdmgr.sh | 11 + .../updates-pacman-aurhelper/README.md | 26 ++ .../screenshots/1.png | Bin .../updates-pacman-aurhelper.sh} | 4 +- .../polybar-scripts/updates-pacman/README.md | 18 ++ .../updates-pacman.sh} | 2 +- .../polybar-scripts/updates-xbps/README.md | 13 + .../updates-xbps/updates-xbps.sh | 9 + .../vpn-anyconnect-status/README.md | 28 ++ .../vpn-anyconnect-status/screenshots/1.png | Bin 0 -> 1996 bytes .../vpn-anyconnect-status/screenshots/2.png | Bin 0 -> 2337 bytes .../vpn-anyconnect-status.sh | 9 + .../vpn-expressvpn-status/README.md | 24 ++ .../vpn-expressvpn-status/screenshots/1.png | Bin 0 -> 883 bytes .../vpn-expressvpn-status/screenshots/2.png | Bin 0 -> 1268 bytes .../vpn-expressvpn-status.sh | 28 ++ .../vpn-networkmanager-status/README.md | 15 ++ .../screenshots/1.png | Bin 0 -> 4782 bytes .../vpn-networkmanager-status.sh | 9 + .../vpn-nordvpn-status/README.md | 16 ++ .../vpn-nordvpn-status/screenshots/1.png | Bin 0 -> 757 bytes .../vpn-nordvpn-status/screenshots/2.png | Bin 0 -> 806 bytes .../vpn-nordvpn-status/vpn-nordvpn-status.sh | 9 + .../vpn-openvpn-isrunning/README.md | 15 ++ .../screenshots/1.png | Bin .../vpn-openvpn-isrunning.sh | 9 + .../README.md | 10 +- .../screenshots/1.png | Bin .../screenshots/2.png | Bin .../vpn-openvpn-status.sh} | 0 .../vpn-wireguard-wg/README.md | 26 ++ .../vpn-wireguard-wg/screenshots/1.png | Bin 0 -> 1482 bytes .../vpn-wireguard-wg/screenshots/2.png | Bin 0 -> 1933 bytes .../vpn-wireguard-wg/vpn-wireguard-wg.sh | 37 +++ 212 files changed, 2518 insertions(+), 863 deletions(-) delete mode 100644 dot_dotfiles/polybar/polybar-scripts/build.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/dot_travis.yml create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/easteregg-pornhub/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/easteregg-pornhub/screenshots/1.png delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/inbox-imap-python/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/inbox-imap-python/inbox-imap-python.py create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/inbox-imap-pythongpg/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/inbox-imap-pythongpg/inbox-imap-python.py rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{inbox-imap-python => inbox-imap-pythongpg}/screenshots/1.png (100%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/inbox-imap-shellpass/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/inbox-imap-shellpass/inbox-imap-shellpass.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/inbox-reddit/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/inbox-reddit/inbox-reddit.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-airqualityindex/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-airqualityindex/info-airqualityindex.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-airqualityindex/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-docker/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-docker/info-docker.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-docker/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-dualshock4/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-dualshock4/info-dualshock4.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-dualshock4/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-ethermine/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-ethermine/info-ethermine.py create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-eyestrain/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-eyestrain/info-eyestrain.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-gitlab-pipelines/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-gitlab-pipelines/gitlab-pipelines.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-gitlab-pipelines/screenshots/1.png rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-hackspeed/{executable_info-hackspeed.sh => info-hackspeed.sh} (81%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-hexdate/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-hexdate/info-hexdate.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-hexdate/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-hlwm-workspaces/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-hlwm-workspaces/info-hlwm-workspaces.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-hlwm-workspaces/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-taskspooler/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-taskspooler/info-taskspooler.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-taskspooler/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-tmux-sessions/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-tmux-sessions/info-tmux-sessions.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-tmux-sessions/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-tmux-sessions/screenshots/2.png delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-twitch-countdown/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-twitch-countdown/info-twitch-countdown.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-twitch-countdown/screenshots/1.png delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-twitch-countdown/screenshots/2.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-usbtoserial/95-usbtoserial.rules create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-usbtoserial/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/info-usbtoserial/info-usbtoserial.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/isactive-bluetooth/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/isactive-bluetooth/isactive-bluetooth.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/isrunning-service/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/isrunning-service/isrunning-service.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-ipinfo.io/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-ipinfo.io/executable_network-ipinfo.io.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-ipinfo.io/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-localip/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-localip/network-localip.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-localip/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-networkmanager/90-polybar create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-networkmanager/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-networkmanager/network-networkmanager.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-publicip/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-publicip/info-publicip.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-publicip/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-traffic/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-traffic/network-traffic.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-reddit/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-reddit/notification-reddit.sh rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{inbox-reddit => notification-reddit}/screenshots/1.png (100%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-spacex/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-spacex/notification-spacex.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-spacex/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-xkcd/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-xkcd/executable_notification-xkcd.py create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-xkcd/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/notification-xkcd/screenshots/2.png delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/openvpn-isrunning/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/openvpn-isrunning/isrunning-openvpn.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/player-cmus/executable_player-cmus.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/player-cmus/player-cmus.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/pulseaudio-microphone/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/pulseaudio-microphone/pulseaudio-microphone.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/pulseaudio-rofi/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/pulseaudio-rofi/pulseaudio-rofi.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/pulseaudio-rofi/screenshots/1.png delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/pulseaudio-rofi/screenshots/2.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-ati-radeontop/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-ati-radeontop/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-ati-radeontop/system-ati-radeontop.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-bluetooth-bluetoothctl/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-bluetooth-bluetoothctl/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-bluetooth-bluetoothctl/system-bluetooth-bluetoothctl.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-cpu-frequency/system-cpu-frequency.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-cpu-frequency/system-cpu-loadavg.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-eprivacy/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-eprivacy/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-eprivacy/system-eprivacy.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-gpu-optimus/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-gpu-optimus/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-gpu-optimus/system-gpu-optimus.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-thinklight/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-thinklight/info-thinklight.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-thinklight/screenshots/1.png delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-usb-udev/95-usb.rule create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-usb-udev/95-usb.rules delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-bcheur/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-bcheur/ticker-bcheur.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-btceur/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-btceur/ticker-btceur.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-crypto/README.md rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{ticker-btceur => ticker-crypto}/screenshots/1.png (100%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-crypto/ticker-crypto.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-etheur/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-etheur/ticker-etheur.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-forex/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/ticker-forex/ticker-forex.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-apt/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-apt/updates-apt.sh delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-arch-combined/README.md delete mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-arch/README.md rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{updates-arch-aur => updates-aurhelper}/README.md (51%) rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{updates-arch-aur/updates-arch-aur.sh => updates-aurhelper/updates-aurhelper.sh} (54%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-dnf/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-dnf/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-dnf/updates-dnf.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-flatpak/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-flatpak/updates-flatpak.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-fwupd/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-fwupd/updates-fwupdmgr.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-pacman-aurhelper/README.md rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{updates-arch-combined => updates-pacman-aurhelper}/screenshots/1.png (100%) rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{updates-arch-combined/updates-arch-combined.sh => updates-pacman-aurhelper/updates-pacman-aurhelper.sh} (65%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-pacman/README.md rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{updates-arch/executable_updates-arch.sh => updates-pacman/updates-pacman.sh} (86%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-xbps/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/updates-xbps/updates-xbps.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-anyconnect-status/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-anyconnect-status/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-anyconnect-status/screenshots/2.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-anyconnect-status/vpn-anyconnect-status.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-expressvpn-status/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-expressvpn-status/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-expressvpn-status/screenshots/2.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-expressvpn-status/vpn-expressvpn-status.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-networkmanager-status/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-networkmanager-status/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-networkmanager-status/vpn-networkmanager-status.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-nordvpn-status/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-nordvpn-status/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-nordvpn-status/screenshots/2.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-nordvpn-status/vpn-nordvpn-status.sh create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-openvpn-isrunning/README.md rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{openvpn-isrunning => vpn-openvpn-isrunning}/screenshots/1.png (100%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-openvpn-isrunning/vpn-openvpn-isrunning.sh rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{openvpn-status => vpn-openvpn-status}/README.md (70%) rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{openvpn-status => vpn-openvpn-status}/screenshots/1.png (100%) rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{openvpn-status => vpn-openvpn-status}/screenshots/2.png (100%) rename dot_dotfiles/polybar/polybar-scripts/polybar-scripts/{openvpn-status/executable_openvpn-status.sh => vpn-openvpn-status/vpn-openvpn-status.sh} (100%) create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-wireguard-wg/README.md create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-wireguard-wg/screenshots/1.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-wireguard-wg/screenshots/2.png create mode 100644 dot_dotfiles/polybar/polybar-scripts/polybar-scripts/vpn-wireguard-wg/vpn-wireguard-wg.sh diff --git a/dot_dotfiles/polybar/polybar-scripts/README.md b/dot_dotfiles/polybar/polybar-scripts/README.md index 3cedefb..e88ed1e 100644 --- a/dot_dotfiles/polybar/polybar-scripts/README.md +++ b/dot_dotfiles/polybar/polybar-scripts/README.md @@ -1,8 +1,8 @@ # polybar-scripts -[![Build Status](https://travis-ci.org/x70b1/polybar-scripts.svg?branch=master)](https://travis-ci.org/x70b1/polybar-scripts) -[![GitHub contributors](https://img.shields.io/github/contributors/x70b1/polybar-scripts.svg)](https://github.com/x70b1/polybar-scripts/graphs/contributors) -[![license](https://img.shields.io/github/license/x70b1/polybar-scripts.svg)](https://github.com/x70b1/polybar-scripts/blob/master/LICENSE) +[![Codecheck](https://github.com/polybar/polybar-scripts/workflows/Codecheck/badge.svg?branch=master)](https://github.com/polybar/polybar-scripts/actions) +[![GitHub contributors](https://img.shields.io/github/contributors/polybar/polybar-scripts.svg)](https://github.com/polybar/polybar-scripts/graphs/contributors) +[![license](https://img.shields.io/github/license/polybar/polybar-scripts.svg)](https://github.com/polybar/polybar-scripts/blob/master/LICENSE) This is a community project. We write and collect scripts for Polybar! @@ -17,25 +17,39 @@ Your script isn't here yet? You have ideas to extend the scripts or descriptions Is this your first time here? You should definitely take a look at these scripts: -* [battery-combined-udev](polybar-scripts/battery-combined-udev) * [openweathermap-fullfeatured](polybar-scripts/openweathermap-fullfeatured) * [player-mpris-tail](polybar-scripts/player-mpris-tail) -* [pulseaudio-tail](polybar-scripts/pulseaudio-tail) +* [battery-combined-udev](polybar-scripts/battery-combined-udev) +* [system-bluetooth-bluetoothctl](polybar-scripts/system-bluetooth-bluetoothctl) +* [notification-reddit](polybar-scripts/notification-reddit) +* [inbox-imap-shellnetrc](polybar-scripts/inbox-imap-shellnetrc) +* [isrunning-service](polybar-scripts/isrunning-service) * [system-usb-udev](polybar-scripts/system-usb-udev) -* [updates-arch-combined](polybar-scripts/updates-arch-combined) +* [updates-pacman-aurhelper](polybar-scripts/updates-pacman-aurhelper) * [info-hackspeed](polybar-scripts/info-hackspeed) +## Setup + +* Save the script of your choice somewhere at `~/.config/polybar/`. +* Don't forget to make the script executable: `chmod +x ~/.config/polybar/script.sh`. +* Copy the module settings into your configuration file. +* Replace the appropriate icon strings in the script (e.g. replace `#1` with `🎉`). + + ## all colors are beautiful -[![updates-arch-combined](polybar-scripts/updates-arch-combined/screenshots/1.png)](polybar-scripts/updates-arch-combined/) +[![updates-pacman-aurhelper](polybar-scripts/updates-pacman-aurhelper/screenshots/1.png)](polybar-scripts/updates-pacman-aurhelper/) [![system-cpu-temppercore](polybar-scripts/system-cpu-temppercore/screenshots/1.png)](polybar-scripts/system-cpu-temppercore/) [![notification-chess](polybar-scripts/notification-chess/screenshots/1.png)](polybar-scripts/notification-chess/) -[![inbox-reddit](polybar-scripts/inbox-reddit/screenshots/1.png)](polybar-scripts/inbox-reddit/) -[![openvpn-isrunning](polybar-scripts/openvpn-isrunning/screenshots/1.png)](polybar-scripts/openvpn-isrunning/) -[![inbox-imap-python](polybar-scripts/inbox-imap-python/screenshots/1.png)](polybar-scripts/inbox-imap-python/) +[![notification-reddit](polybar-scripts/notification-reddit/screenshots/1.png)](polybar-scripts/notification-reddit/) +[![vpn-openvpn-isrunning](polybar-scripts/vpn-openvpn-isrunning/screenshots/1.png)](polybar-scripts/vpn-openvpn-isrunning/) +[![inbox-imap-pythongpg](polybar-scripts/inbox-imap-pythongpg/screenshots/1.png)](polybar-scripts/inbox-imap-pythongpg/) [![openweathermap-fullfeatured](polybar-scripts/openweathermap-fullfeatured/screenshots/1.png)](polybar-scripts/openweathermap-fullfeatured/) -[![ticker-btceur](polybar-scripts/ticker-btceur/screenshots/1.png)](polybar-scripts/ticker-btceur/) +[![ticker-crypto](polybar-scripts/ticker-crypto/screenshots/1.png)](polybar-scripts/ticker-crypto/) +[![info-docker](polybar-scripts/info-docker/screenshots/1.png)](polybar-scripts/info-docker/) +[![easteregg-pornhub](polybar-scripts/easteregg-pornhub/screenshots/1.png)](polybar-scripts/easteregg-pornhub/) +[![info-airqualityindex](polybar-scripts/info-airqualityindex/screenshots/1.png)](polybar-scripts/info-airqualityindex/) [![player-mpris-simple](polybar-scripts/player-mpris-simple/screenshots/1.png)](polybar-scripts/player-mpris-simple/) [![battery-combined-tlp](polybar-scripts/battery-combined-tlp/screenshots/1.png)](polybar-scripts/battery-combined-tlp/) [![info-projecthamster](polybar-scripts/info-projecthamster/screenshots/1.png)](polybar-scripts/info-projecthamster/) @@ -47,33 +61,65 @@ Is this your first time here? You should definitely take a look at these scripts [![openweathermap-detailed](polybar-scripts/openweathermap-detailed/screenshots/1.png)](polybar-scripts/openweathermap-detailed/) [![info-hackspeed](polybar-scripts/info-hackspeed/screenshots/1.png)](polybar-scripts/info-hackspeed/) [![info-xampp](polybar-scripts/info-xampp/screenshots/1.png)](polybar-scripts/info-xampp/) +[![info-taskspooler](polybar-scripts/info-taskspooler/screenshots/1.png)](polybar-scripts/info-taskspooler/) +[![network-publicip](polybar-scripts/network-publicip/screenshots/1.png)](polybar-scripts/network-publicip/) +[![system-thinklight](polybar-scripts/system-thinklight/screenshots/1.png)](polybar-scripts/system-thinklight/) [![player-mpris-tail](polybar-scripts/player-mpris-tail/screenshots/1.png)](polybar-scripts/player-mpris-tail/) [![info-redshift-temp](polybar-scripts/info-redshift-temp/screenshots/1.png)](polybar-scripts/info-redshift-temp/) [![info-trash](polybar-scripts/info-trash/screenshots/1.png)](polybar-scripts/info-trash/) -[![pulseaudio-rofi](polybar-scripts/pulseaudio-rofi/screenshots/1.png)](polybar-scripts/pulseaudio-rofi/) -[![pulseaudio-rofi](polybar-scripts/info-softwarecounter/screenshots/1.png)](polybar-scripts/info-softwarecounter/) -[![info-twitch-countdown](polybar-scripts/info-twitch-countdown/screenshots/1.png)](polybar-scripts/info-twitch-countdown/) -[![info-twitch-countdown](polybar-scripts/info-twitch-countdown/screenshots/2.png)](polybar-scripts/info-twitch-countdown/) +[![vpn-wireguard-wg](polybar-scripts/vpn-wireguard-wg/screenshots/1.png)](polybar-scripts/vpn-wireguard-wg/) +[![vpn-wireguard-wg](polybar-scripts/vpn-wireguard-wg/screenshots/2.png)](polybar-scripts/vpn-wireguard-wg/) +[![info-softwarecounter](polybar-scripts/info-softwarecounter/screenshots/1.png)](polybar-scripts/info-softwarecounter/) +[![vpn-anyconnect-status](polybar-scripts/vpn-anyconnect-status/screenshots/1.png)](polybar-scripts/vpn-anyconnect-status/) +[![player-cmus](polybar-scripts/player-cmus/screenshots/1.png)](polybar-scripts/player-cmus/) [![info-todotxt](polybar-scripts/info-todotxt/screenshots/1.png)](polybar-scripts/info-todotxt/) +[![vpn-networkmanager-status](polybar-scripts/vpn-networkmanager-status/screenshots/1.png)](polybar-scripts/vpn-networkmanager-status/) [![info-wifionice](polybar-scripts/info-wifionice/screenshots/1.png)](polybar-scripts/info-wifionice/) +[![network-localip](polybar-scripts/network-localip/screenshots/1.png)](polybar-scripts/network-localip/) +[![updates-dnf](polybar-scripts/updates-dnf/screenshots/1.png)](polybar-scripts/updates-dnf/) +[![system-eprivacy](polybar-scripts/system-eprivacy/screenshots/1.png)](polybar-scripts/system-eprivacy/) +[![network-ipinfo.io](polybar-scripts/network-ipinfo.io/screenshots/1.png)](polybar-scripts/network-ipinfo.io/) +[![system-gpu-optimus](polybar-scripts/system-gpu-optimus/screenshots/1.png)](polybar-scripts/system-gpu-optimus/) +[![info-tmux-sessions](polybar-scripts/info-tmux-sessions/screenshots/1.png)](polybar-scripts/info-tmux-sessions/) +[![info-hlwm-workspaces](polybar-scripts/info-hlwm-workspaces/screenshots/1.png)](polybar-scripts/info-hlwm-workspaces/) +[![info-hexdate](polybar-scripts/info-hexdate/screenshots/1.png)](polybar-scripts/info-hexdate/) +[![notification-spacex](polybar-scripts/notification-spacex/screenshots/1.png)](polybar-scripts/notification-spacex/) ## See also these other user repositories: * [vyachkonovalov/polybar-gmail](https://github.com/vyachkonovalov/polybar-gmail): A Polybar module to show unread messages from Gmail +* [vyachkonovalov/bar-protonmail](https://github.com/vyachkonovalov/bar-protonmail): A Waybar/Polybar module for ProtonMail * [0nse/now_playing](https://github.com/0nse/now_playing): Output the currently scrobbling song -* [dakuten/taskwarrior-polybar](https://github.com/dakuten/taskwarrior-polybar): merely just a script showing the most urgent task and allowing it to be marked done -* [quelotic/polybarModules](https://github.com/quelotic/polybarModules): scripts for mail and caffeine +* [DRKblade/polybar-warrior](https://github.com/DRKblade/polybar-warrior): A script to browse through your tasks and mark them as done. +* [dakuten/taskwarrior-polybar](https://github.com/dakuten/taskwarrior-polybar): Merely just a script showing the most urgent task and allowing it to be marked done +* [quelotic/polybarModules](https://github.com/quelotic/polybarModules): Scripts for mail and caffeine * [vyp/scripts](https://github.com/vyp/scripts): A script to show focused, occupied, free and urgent herbstluftwm tags in polybar * [willHol/polybar-crypto](https://github.com/willHol/polybar-crypto): A polybar script that displays the price of crypto-currencies * [DanaruDev/UnseenMail](https://framagit.org/DanaruDev/UnseenMail): Polybar Python script for viewing unread email from multi accounts * [drdeimos/polybar_another_battery](https://github.com/drdeimos/polybar_another_battery): Simple battery charge level watcher with notifications (libnotify) -* [zemmsoares/polynews](https://github.com/zemmsoares/polynews): read news on your polybar - - -## Setup - -* Save the script of your choice somewhere at `~/.config/polybar/`. -* Don't forget to make the script executable: `chmod +x ~/.config/polybar/script.sh`. -* Copy the module settings into your configuration file. -* Replace the appropriate icon strings in the script (e.g. replace `#1` with `🎉`). +* [zemmsoares/polynews](https://github.com/zemmsoares/polynews): Read news on your polybar +* [nivit/polybar-module-earthquake](https://github.com/nivit/polybar-module-earthquake): Polybar module for showing the latest seismic event on Earth +* [nivit/polybar-module-news](https://github.com/nivit/polybar-module-news): This polybar module displays RSS/Atom feeds +* [HackeSta/polybar-kdeconnect](https://github.com/HackeSta/polybar-kdeconnect): KDEConnect module for Polybar +* [zemmsoares/polybar-node-version](https://github.com/zemmsoares/polybar-node-version): Script to check Node.js version +* [Jvanrhijn/polybar-spotify](https://github.com/Jvanrhijn/polybar-spotify): Shows the current song playing on Spotify +* [HackeSta/polybar-browsermediacontrol](https://github.com/HackeSta/polybar-browsermediacontrol): Browser Media Control module for Polybar +* [dietervanhoof/polybar-spotify-controls](https://github.com/dietervanhoof/polybar-spotify-controls): Set of modules provides controls for spotify +* [mihirlad55/polybar-spotify-module](https://github.com/mihirlad55/polybar-spotify-module): Lightweight programs to integrate spotify into polybar +* [unode/polypomo](https://github.com/unode/polypomo): Minimalist pomodoro style timer +* [marioortizmanero/polybar-pulseaudio-control](https://github.com/marioortizmanero/polybar-pulseaudio-control): A feature-full polybar module to control pulseaudio +* [budlabs/polify](https://github.com/budlabs/polify): A utility that makes it easier to manage and work with polybars IPC-modules +* [VineshReddy/polybar-redshift](https://github.com/VineshReddy/polybar-redshift): Change, display temperature and open/close Redshift +* [gitlab.com/indeedwatson/polybar_twitch](https://gitlab.com/indeedwatson/polybar_twitch): Display live Twitch channels +* [jbirnick/polybar-timer](https://github.com/jbirnick/polybar-timer): Simple & customizable timer (can be used for pomodoro tracking). +* [zack-ashen/polystock](https://github.com/zack-ashen/polystock): Simple stock ticker displayer for displaying stock prices. +* [Hackesta/polybar-qbittorrent](https://github.com/HackeSta/polybar-qbittorrent): qBittorrent Module for Polybar +* [jbirnick/polybar-todoist](https://github.com/jbirnick/polybar-todoist): Displays amount of Todoist tasks of each priority. +* [PrayagS/polybar-spotify](https://github.com/PrayagS/polybar-spotify): Spotify status and controls module for Polybar with text scrolling +* [Hackesta/polybar-speedtest](https://github.com/HackeSta/polybar-speedtest): speedtest.net Module for Polybar +* [MaxdSre/mpris-player-control](https://github.com/MaxdSre/mpris-player-control): Control player via MPRIS D-Bus interface +* [maksmeshkov/toggl_polybar](https://github.com/maksmeshkov/toggl_polybar): Information about current running task for toggl.com time tracker users +* [shervinsahba/polybar-vpn-controller](https://github.com/shervinsahba/polybar-vpn-controller): VPN controller (toggle VPN, display location or IP, choose location via rofi menu, copy IP to clipboard) +* [madhat2r/polybar-i3-window](https://github.com/madhat2r/polybar-i3-window): A Polybar module to show i3 window title that can handle multi-monitors +* [sTiKyt/polybar-onlinestatus](https://github.com/sTiKyt/polybar-onlinestatus): Indicator of your internet connection diff --git a/dot_dotfiles/polybar/polybar-scripts/build.sh b/dot_dotfiles/polybar/polybar-scripts/build.sh deleted file mode 100644 index 4b3478b..0000000 --- a/dot_dotfiles/polybar/polybar-scripts/build.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -error_count=0 -scripts="polybar-scripts/*/*.sh" - -for file in $scripts; do - - # Exceptions - if [ "$file" = "polybar-scripts/info-hackspeed/info-hackspeed.sh" ]; then - shellcheck --exclude=SC2016,SC2059 "$file" - if [ $? -ne 0 ]; then - error_count=$((error_count+1)) - fi - else - shellcheck "$file" - if [ $? -ne 0 ]; then - error_count=$((error_count+1)) - fi - fi -done - -if [ $error_count -eq 0 ]; then - exit 0 -else - exit 1 -fi diff --git a/dot_dotfiles/polybar/polybar-scripts/dot_travis.yml b/dot_dotfiles/polybar/polybar-scripts/dot_travis.yml deleted file mode 100644 index d3a7817..0000000 --- a/dot_dotfiles/polybar/polybar-scripts/dot_travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: c - -install: - - scversion="stable" - - wget "https://storage.googleapis.com/shellcheck/shellcheck-$scversion.linux.x86_64.tar.xz" - - tar --xz -xvf "shellcheck-$scversion.linux.x86_64.tar.xz" - - shellcheck() { "shellcheck-$scversion/shellcheck" "$@"; } - -before_script: - - shellcheck --version - -script: - - source ${TRAVIS_BUILD_DIR}/build.sh diff --git a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-shell/battery-combined-shell.sh b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-shell/battery-combined-shell.sh index 9ded8cc..9466ce2 100644 --- a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-shell/battery-combined-shell.sh +++ b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-shell/battery-combined-shell.sh @@ -1,8 +1,8 @@ #!/bin/sh -path_ac="/sys/class/power_supply/AC" -path_battery_0="/sys/class/power_supply/BAT0" -path_battery_1="/sys/class/power_supply/BAT1" +PATH_AC="/sys/class/power_supply/AC" +PATH_BATTERY_0="/sys/class/power_supply/BAT0" +PATH_BATTERY_1="/sys/class/power_supply/BAT1" ac=0 battery_level_0=0 @@ -10,24 +10,24 @@ battery_level_1=0 battery_max_0=0 battery_max_1=0 -if [ -f "$path_ac/online" ]; then - ac=$(cat "$path_ac/online") +if [ -f "$PATH_AC/online" ]; then + ac=$(cat "$PATH_AC/online") fi -if [ -f "$path_battery_0/energy_now" ]; then - battery_level_0=$(cat "$path_battery_0/energy_now") +if [ -f "$PATH_BATTERY_0/energy_now" ]; then + battery_level_0=$(cat "$PATH_BATTERY_0/energy_now") fi -if [ -f "$path_battery_0/energy_full" ]; then - battery_max_0=$(cat "$path_battery_0/energy_full") +if [ -f "$PATH_BATTERY_0/energy_full" ]; then + battery_max_0=$(cat "$PATH_BATTERY_0/energy_full") fi -if [ -f "$path_battery_1/energy_now" ]; then - battery_level_1=$(cat "$path_battery_1/energy_now") +if [ -f "$PATH_BATTERY_1/energy_now" ]; then + battery_level_1=$(cat "$PATH_BATTERY_1/energy_now") fi -if [ -f "$path_battery_1/energy_full" ]; then - battery_max_1=$(cat "$path_battery_1/energy_full") +if [ -f "$PATH_BATTERY_1/energy_full" ]; then + battery_max_1=$(cat "$PATH_BATTERY_1/energy_full") fi battery_level=$(("$battery_level_0 + $battery_level_1")) diff --git a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/README.md b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/README.md index 86c3654..0a11598 100644 --- a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/README.md +++ b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/README.md @@ -14,7 +14,7 @@ It uses TLP and requires root privileges. Note that the icon doesn't change. ## Configuration -You may need to add `tlp-stat` command to the `/etc/sudoers` NOPASSWD of your user: +You have to add the `tlp-stat` command to the `/etc/sudoers` NOPASSWD of your user: ```ini user ALL=(ALL) NOPASSWD: /usr/bin/tlp-stat diff --git a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/battery-combined-tlp.sh b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/battery-combined-tlp.sh index abb3583..2e18b11 100644 --- a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/battery-combined-tlp.sh +++ b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/battery-combined-tlp.sh @@ -1,5 +1,5 @@ #!/bin/sh -battery=$(sudo tlp-stat -b | tail -2 | head -n 1 | tr -d -c "[:digit:],.") +battery=$(sudo tlp-stat -b | tac | grep -m 1 "Charge" | tr -d -c "[:digit:],.") echo "# $battery %" diff --git a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/README.md b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/README.md index dca10e6..0fbc0ec 100644 --- a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/README.md +++ b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/README.md @@ -11,8 +11,6 @@ This script is able to display power supply changes in real time. For this udev Copy `95-battery.rules` to `/etc/udev/rules.d/95-battery.rules`. Make sure that the paths in the file have been modified properly. -Also change the file path in line `#65`. - ## Module diff --git a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/battery-combined-udev.sh b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/battery-combined-udev.sh index fe869a2..2ad7a7c 100644 --- a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/battery-combined-udev.sh +++ b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/battery-combined-udev.sh @@ -1,9 +1,9 @@ #!/bin/sh battery_print() { - path_ac="/sys/class/power_supply/AC" - path_battery_0="/sys/class/power_supply/BAT0" - path_battery_1="/sys/class/power_supply/BAT1" + PATH_AC="/sys/class/power_supply/AC" + PATH_BATTERY_0="/sys/class/power_supply/BAT0" + PATH_BATTERY_1="/sys/class/power_supply/BAT1" ac=0 battery_level_0=0 @@ -11,24 +11,24 @@ battery_print() { battery_max_0=0 battery_max_1=0 - if [ -f "$path_ac/online" ]; then - ac=$(cat "$path_ac/online") + if [ -f "$PATH_AC/online" ]; then + ac=$(cat "$PATH_AC/online") fi - if [ -f "$path_battery_0/energy_now" ]; then - battery_level_0=$(cat "$path_battery_0/energy_now") + if [ -f "$PATH_BATTERY_0/energy_now" ]; then + battery_level_0=$(cat "$PATH_BATTERY_0/energy_now") fi - if [ -f "$path_battery_0/energy_full" ]; then - battery_max_0=$(cat "$path_battery_0/energy_full") + if [ -f "$PATH_BATTERY_0/energy_full" ]; then + battery_max_0=$(cat "$PATH_BATTERY_0/energy_full") fi - if [ -f "$path_battery_1/energy_now" ]; then - battery_level_1=$(cat "$path_battery_1/energy_now") + if [ -f "$PATH_BATTERY_1/energy_now" ]; then + battery_level_1=$(cat "$PATH_BATTERY_1/energy_now") fi - if [ -f "$path_battery_1/energy_full" ]; then - battery_max_1=$(cat "$path_battery_1/energy_full") + if [ -f "$PATH_BATTERY_1/energy_full" ]; then + battery_max_1=$(cat "$PATH_BATTERY_1/energy_full") fi battery_level=$(("$battery_level_0 + $battery_level_1")) @@ -62,7 +62,7 @@ battery_print() { fi } -path_pid="/home/user/.config/polybar/battery-combined-udev.pid" +path_pid="/tmp/polybar-battery-combined-udev.pid" case "$1" in --update) diff --git a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-cyberpower/README.md b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-cyberpower/README.md index f3d5f2d..d02b2e7 100644 --- a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-cyberpower/README.md +++ b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/battery-cyberpower/README.md @@ -12,7 +12,11 @@ This script is able to display power supply changes in real time. ## Configuration -It requires access to run `pwrstat` as root, so you may need to adjust your system to allow this (for example `sudo`). +You have to add the `pwrstat` command to the `/etc/sudoers` NOPASSWD of your user: + +```ini +user ALL=(ALL) NOPASSWD: /usr/bin/pwrstat +``` ## Module diff --git a/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/easteregg-pornhub/README.md b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/easteregg-pornhub/README.md new file mode 100644 index 0000000..05c0776 --- /dev/null +++ b/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/easteregg-pornhub/README.md @@ -0,0 +1,44 @@ +# Script: easteregg-pornhub + +A script that shows a button and opens a random video at a large porn website. + +![easteregg-pornhub](screenshots/1.png) + + +## Configuration + +Set your browser at the `click-left` option in your module. + +You should also enable the overline and underline option in your polybar. + +```ini +[bar/barname] + +overline-size = 5 +underline-size = 4 +``` + + +## Module + +```ini +[module/easteregg-pornhub] +type = custom/script +exec = echo " hub " +interval = 3600 +click-left = "firefox --private-window https://pornhub.com/random" & + +format =