aboutsummaryrefslogtreecommitdiffstats
path: root/config/waybar/modules
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-10-28 09:50:32 +0900
committerGitHub <noreply@github.com>2023-10-28 09:50:32 +0900
commit12d7511b2eb890b2664fb37680d346a69b58030b (patch)
treed032bde6947c2b0727f76f2e2682a94348f6332f /config/waybar/modules
parent3bc9ac45014b0c57895f220421014ac79865ffc6 (diff)
parent933a0ce37e8d41b25732d76aff548e349405abd2 (diff)
Merge pull request #2 from JaKooLit/development
waybar simple 2 layout addition and cleaned up helpfile
Diffstat (limited to 'config/waybar/modules')
-rw-r--r--config/waybar/modules82
1 files changed, 46 insertions, 36 deletions
diff --git a/config/waybar/modules b/config/waybar/modules
index 99cb60d0..7ec2b2a3 100644
--- a/config/waybar/modules
+++ b/config/waybar/modules
@@ -3,8 +3,11 @@
"interval": 2,
"align": 0,
"rotate": 0,
- "format": "{icon} {percent}%",
- "format-icons": ["󰃞", "󰃟", "󰃠"],
+ //"format": "{icon} {percent}%",
+ //"format-icons": ["󰃞", "󰃟", "󰃠"],
+ "format": "{icon}",
+ "format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"],
+ "tooltip-format": "{percent}%",
"icon-size": 10,
"on-click": "",
"on-click-middle": "",
@@ -75,8 +78,9 @@
},
"clock": {
+ "interval": 1,
//"format": " {:%I:%M %p}",
- "format": " {:%H:%M}",
+ "format": " {:%H:%M:%S}",
"format-alt": " {:%H:%M  %Y, %d %B, %A}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
@@ -164,7 +168,20 @@
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
},
-
+
+"hyprland/workspaces#2": {
+ "format": "{icon}",
+ "on-click": "activate",
+ "on-scroll-up": "hyprctl dispatch workspace e+1",
+ "on-scroll-down": "hyprctl dispatch workspace e-1",
+ "format-icons": {
+ "active": "",
+ "default": "",
+ },
+ "active-only": false,
+ "all-outputs": true
+},
+
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
@@ -198,21 +215,22 @@
"network": {
"format": "{ifname}",
- "format-wifi": " {signalStrength}%",
- "format-ethernet": "󰈁 Wired",
- "format-disconnected": "", //An empty format will hide the module.
+ "format-wifi": "{icon}",
+ "format-ethernet": "󰌘",
+ "format-disconnected": "󰌙",
"tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}",
"format-linked": "󰈁 {ifname} (No IP)",
- "tooltip-format-wifi": "{essid}  ({signalStrength}%)",
- "tooltip-format-ethernet": "{ifname} 󰈁",
- "tooltip-format-disconnected": "󰈂 Disconnected",
+ "tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
+ "tooltip-format-ethernet": "{ifname} 󰌘",
+ "tooltip-format-disconnected": "󰌙 Disconnected",
"max-length": 50,
+ "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
},
"pulseaudio": {
- "format": "{icon} {volume} %",
+ "format": "{icon}",
"format-bluetooth": "{icon}  {volume} %",
- "format-muted": "",
+ "format-muted": "󰖁",
"format-icons": {
"headphone": "",
"hands-free": "",
@@ -233,7 +251,7 @@
"pulseaudio#microphone": {
"format": "{format_source}",
- "format-source": " {volume} %",
+ "format-source": " {volume}%",
"format-source-muted": "",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic",
"on-click-right": "pavucontrol -t 4",
@@ -315,6 +333,16 @@
"on-click-right": "$HOME/.config/hypr/scripts/ChangeLayoutMenu.sh",
"on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh swaybg",
},
+
+"custom/playerctl": {
+ "format": "<span>{}</span>",
+ "return-type": "json",
+ "max-length": 35,
+ "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} ~ {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
+ "on-click-middle": "playerctl play-pause",
+ "on-click": "playerctl previous",
+ "on-click-right": "playerctl next"
+},
"custom/power": {
"format": "⏻ ",
@@ -372,7 +400,10 @@
"align": 0,
"rotate": 0,
"format": "{icon}",
- "format-icons": ["󰃞", "󰃟", "󰃠"],
+ "format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"],
+ "tooltip-format": "{percent}%",
+ "icon-size": 10,
+ "on-update": "",
"icon-size": 10,
"on-click": "",
"on-click-middle": "",
@@ -384,7 +415,7 @@
},
"clock#vertical": {
- "format": "{:\n%H\n%M\n\n \n%d\n%m\n%y}",
+ "format": "{:\n%H\n%M\n%S\n\n \n%d\n%m\n%y}",
"interval": 1,
//"format": "{:\n%I\n%M\n%p\n\n \n%d\n%m\n%y}",
"tooltip": true,
@@ -413,27 +444,6 @@
"on-click-right": "foot --title btop sh -c 'btop'",
},
-"pulseaudio#vertical": {
- "format": "{icon}",
- "format-bluetooth": "\n{icon}",
- "format-bluetooth-muted": "\n󰖁",
- "format-muted": "󰖁",
- "format-icons": {
- "headphone": "󰋋",
- "hands-free": "󰋋",
- "headset": "󰋋",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", "󰕾", ""],
- },
- "on-click-right": "pavucontrol",
- "on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
- "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
- "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
- "tooltip": true,
-},
-
"pulseaudio#microphone_vertical": {
"format": "{format_source}",
"format-source": "󰍬",
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage