aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-07-29 03:42:18 +0300
committerawy <awy@awy.one>2025-07-29 03:42:18 +0300
commitef6dff4cce15186a66ba34cdd7bd39958ebf7f58 (patch)
treefcfa61164ca6e79c900b5d11f6afc6b46aaccb84 /.config/waybar
downloadhyprdots-ef6dff4cce15186a66ba34cdd7bd39958ebf7f58.tar.gz
first commit
Diffstat (limited to '.config/waybar')
l---------.config/waybar/config1
-rw-r--r--.config/waybar/config.json223
-rw-r--r--.config/waybar/style.css98
3 files changed, 322 insertions, 0 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
new file mode 120000
index 0000000..0cffcb3
--- /dev/null
+++ b/.config/waybar/config
@@ -0,0 +1 @@
+config.json \ No newline at end of file
diff --git a/.config/waybar/config.json b/.config/waybar/config.json
new file mode 100644
index 0000000..581d763
--- /dev/null
+++ b/.config/waybar/config.json
@@ -0,0 +1,223 @@
+{
+ "layer": "top",
+ "position": "top",
+ "output": "DP-2",
+ "reload_style_on_change": true,
+ "modules-left": [
+ "hyprland/workspaces",
+ "custom/vanity",
+ "hyprland/window"
+ ],
+ "modules-right": [
+ "custom/recording",
+ "custom/tasks",
+ "custom/music",
+ "custom/packages",
+ "custom/news",
+ "custom/torrent",
+ "custom/memory",
+ "custom/forecast",
+ "custom/mailbox",
+ "custom/nettraf",
+ "custom/microphone",
+ "custom/volume",
+ "custom/clock",
+ "custom/internet",
+ "tray"
+ ],
+
+ "hyprland/workspaces": {
+ "disable-scroll": true,
+ "all-outputs": true,
+ "on-click": "activate",
+ "format": "{icon}"
+ },
+
+ "custom/vanity" : {
+ "tooltip": false,
+ "format": "[]="
+ },
+
+ "custom/recording" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 9,
+ "exec" : "cat /tmp/recordingicon 2> /dev/null"
+ },
+
+ "custom/tasks" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 26,
+ "interval": 10,
+ "exec" : "sb-tasks",
+ "on-click": "BLOCK_BUTTON=1 sb-tasks",
+ "on-click-right": "BLOCK_BUTTON=3 sb-tasks",
+ "on-click-middle": "BLOCK_BUTTON=3 sb-tasks",
+ "on-click-backward": "BLOCK_BUTTON=3 sb-tasks"
+ },
+
+ "custom/music" : {
+ "tooltip": false,
+ "escape": true,
+ "format": "{}",
+ "signal": 11,
+ "exec" : "sb-music",
+ "on-click": "BLOCK_BUTTON=1 sb-music",
+ "on-click-right": "BLOCK_BUTTON=3 sb-music",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-music",
+ "on-scroll-up": "BLOCK_BUTTON=4 sb-music",
+ "on-scroll-down": "BLOCK_BUTTON=5 sb-music",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-music"
+ },
+
+ "custom/packages" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 8,
+ "exec" : "sb-pacpackages",
+ "on-click": "BLOCK_BUTTON=1 sb-pacpackages",
+ "on-click-right": "BLOCK_BUTTON=3 sb-pacpackages",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-pacpackages",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-pacpackages"
+ },
+
+ "custom/news" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 6,
+ "exec" : "sb-news",
+ "on-click": "BLOCK_BUTTON=1 sb-news; pkill -RTMIN+6 waybar",
+ "on-click-right": "BLOCK_BUTTON=3 sb-news 3",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-news 2",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-news 8"
+ },
+
+ "custom/torrent" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 7,
+ "interval": 20,
+ "exec" : "sb-torrent",
+ "on-click": "BLOCK_BUTTON=1 sb-torrent",
+ "on-click-right": "BLOCK_BUTTON=3 sb-torrent",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-torrent",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-torrent"
+ },
+
+ "custom/memory" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 14,
+ "exec" : "sb-memory",
+ "interval": 10,
+ "on-click": "BLOCK_BUTTON=1 sb-memory",
+ "on-click-right": "BLOCK_BUTTON=3 sb-memory",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-memory",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-memory"
+ },
+
+ "custom/doppler" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 13,
+ "interval": 650,
+ "exec" : "sb-doppler",
+ "on-click": "BLOCK_BUTTON=1 sb-doppler",
+ "on-click-right": "BLOCK_BUTTON=3 sb-doppler",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-doppler",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-doppler"
+ },
+
+ "custom/forecast" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 5,
+ "exec" : "sb-forecast",
+ "interval" : 18000,
+ "on-click": "BLOCK_BUTTON=1 sb-forecast",
+ "on-click-right": "BLOCK_BUTTON=3 sb-forecast",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-forecast",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-forecast"
+ },
+
+ "custom/mailbox" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 12,
+ "exec" : "sb-mailbox",
+ "interval" : 180,
+ "on-click": "BLOCK_BUTTON=1 sb-mailbox",
+ "on-click-right": "BLOCK_BUTTON=3 sb-mailbox",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-mailbox",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-mailbox"
+ },
+
+ "custom/nettraf" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 16,
+ "exec" : "sb-nettraf",
+ "interval" : 1,
+ "on-click": "BLOCK_BUTTON=1 sb-nettraf",
+ "on-click-right": "BLOCK_BUTTON=3 sb-nettraf",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-nettraf"
+ },
+
+ "custom/microphone" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 23,
+ "exec" : "sb-microphone",
+ "interval": 10,
+ "on-click": "BLOCK_BUTTON=1 sb-microphone",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-microphone",
+ "on-scroll-up": "BLOCK_BUTTON=4 sb-microphone",
+ "on-scroll-down": "BLOCK_BUTTON=5 sb-microphone",
+ "on-click-right": "BLOCK_BUTTON=3 sb-microphone",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-microphone"
+ },
+
+ "custom/volume" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 10,
+ "exec" : "sb-volume",
+ "interval": 10,
+ "on-click": "BLOCK_BUTTON=1 sb-volume",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-volume",
+ "on-scroll-up": "BLOCK_BUTTON=4 sb-volume",
+ "on-scroll-down": "BLOCK_BUTTON=5 sb-volume",
+ "on-click-right": "BLOCK_BUTTON=3 sb-volume",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-volume"
+ },
+
+ "custom/clock" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 1,
+ "exec" : "sb-clock",
+ "interval" : 1,
+ "on-click": "BLOCK_BUTTON=1 sb-clock",
+ "on-click-middle": "BLOCK_BUTTON=2 sb-clock",
+ "on-click-right": "BLOCK_BUTTON=3 sb-clock",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-clock"
+ },
+
+ "custom/internet" : {
+ "tooltip": false,
+ "format": "{}",
+ "signal": 4,
+ "exec" : "sb-internet",
+ "interval": 10,
+ "on-click": "BLOCK_BUTTON=1 sb-internet; pkill -RTMIN+4 waybar",
+ "on-click-right": "BLOCK_BUTTON=3 sb-internet; pkill -RTMIN+4 waybar",
+ "on-click-middle": "pkill -RTMIN+4 waybar",
+ "on-click-backward": "BLOCK_BUTTON=8 sb-internet"
+ },
+
+ "tray" : {
+ "icon-size": 18,
+ "spacing": 10
+ }
+}
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
new file mode 100644
index 0000000..ff119b0
--- /dev/null
+++ b/.config/waybar/style.css
@@ -0,0 +1,98 @@
+* {
+ font-family: "monospace";
+ min-height: 0;
+ font-size: 100%;
+}
+
+window#waybar {
+ background-color: #005577;
+}
+
+#window {
+ background-color: #005577;
+ padding-left: 10px;
+}
+
+#custom-vanity {
+ padding-left: 5px;
+ padding-right: 10px;
+}
+
+#taskbar button,
+#workspaces button {
+ color: #bbb;
+ background-color: #222;
+ border-radius: 0px;
+}
+
+#taskbar button.active,
+#workspaces button.active {
+ color: #eee;
+ background-color: #005577;
+}
+
+#workspaces button.urgent {
+ color: #fb4934;
+}
+
+.modules-left, .modules-right {
+ background: #222;
+ color: #bbb;
+}
+
+.modules-right {
+ padding-left: 10px;
+}
+
+#window {
+ color: #fff;
+}
+
+#custom-music {
+ padding-right: 10px;
+}
+
+#custom-packages {
+ padding-right: 10px;
+}
+
+#custom-news {
+ padding-right: 10px;
+}
+
+#custom-memory {
+ padding-right: 10px;
+}
+
+#custom-forecast {
+ padding-right: 10px;
+}
+
+#custom-mailbox {
+ padding-right: 10px;
+}
+
+#custom-nettraf {
+ min-width: 120px;
+ padding-right: 10px;
+}
+
+#custom-microphone {
+ padding-right: 10px;
+}
+
+#custom-volume {
+ padding-right: 10px;
+}
+
+#custom-clock {
+ padding-right: 10px;
+}
+
+#custom-internet {
+ padding-right: 10px;
+}
+
+#tray {
+ padding-right: 10px;
+}