aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/waybar
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-04-06 02:30:09 +0300
committerYaroslav <contact@yaroslavps.com>2020-04-06 02:30:09 +0300
commitcbfd974f652a12c601a95ea6d364549f45cb87e3 (patch)
tree06ad8bd90f653102065d4028d64a274f6d9bcd39 /dotfiles/.config/waybar
parente351037f1e0f48a2a1602a07d376980c9e595091 (diff)
downloadswayrice-cbfd974f652a12c601a95ea6d364549f45cb87e3.tar.gz
swayrice-cbfd974f652a12c601a95ea6d364549f45cb87e3.zip
improved script for pacman package download cron job; waybar improvements
Diffstat (limited to 'dotfiles/.config/waybar')
-rw-r--r--dotfiles/.config/waybar/config13
-rw-r--r--dotfiles/.config/waybar/style.css2
2 files changed, 15 insertions, 0 deletions
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config
index 6d5903b..a0f95ba 100644
--- a/dotfiles/.config/waybar/config
+++ b/dotfiles/.config/waybar/config
@@ -16,7 +16,9 @@
"modules-right": [
"custom/rec-status",
"custom/swaykbd",
+ "custom/ds4battery",
"backlight",
+ "custom/pac-status",
"custom/vpn-status",
"network",
"battery#bat0",
@@ -174,11 +176,22 @@
"interval": "once",
"exec": "barvpnstatus"
},
+ "custom/pac-status": {
+ "format": "<span color=\"#5b8277\"></span> {}",
+ "signal": 7,
+ "interval": "once",
+ "exec": "barpacstatus"
+ },
"custom/weather": {
"format": "{}",
"interval": 180,
"exec": "barweather"
},
+ "custom/ds4battery": {
+ "format": "🎮 {}",
+ "interval": 180,
+ "exec": "bards4battery"
+ },
"custom/swaykbd": {
"format": "{}",
"exec": "swaykbd",
diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css
index e066c6a..ce29c25 100644
--- a/dotfiles/.config/waybar/style.css
+++ b/dotfiles/.config/waybar/style.css
@@ -62,8 +62,10 @@ window#waybar {
#pulseaudio,
#temperature,
#custom-weather,
+#custom-ds4battery,
#custom-rec-status,
#custom-vpn-status,
+#custom-pac-status,
#custom-swaykbd {
padding: 0 6px;
}