update waybar modules

parent 867c8009
......@@ -21,11 +21,10 @@
"hyprland/submap",
],
"modules-center": [
"custom/media",
"custom/media-mini",
],
"modules-right": [
"idle_inhibitor",
"custom/theme",
"hyprland/language",
"group/volume",
"network",
......
{
"custom/media-mini": {
"hyprland/window": {
"format": "{title}",
"icon": "true"
},
"custom/media": {
"format": "{icon} {0}",
"return-type": "json",
"format-icons": {
"Playing": "",
"Paused": ""
},
"max-length": 30,
"exec": "playerctl -a metadata --format '{\"text\": \"{{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(artist)}} - {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"max-length": 50,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl next",
"on-scroll-down": "playerctl previous"
},
"custom/ddclight": {
"tooltip": false,
"format": "{icon}",
......
......@@ -2,20 +2,7 @@
"image#menu": {
"path": "/usr/share/pixmaps/ximperlinux.svg",
"size": 20,
"on-click": "pkill wofi || wofi --show drun -x 5 -y 10 --height 35% --width 20%"
},
"custom/theme": {
"tooltip": false,
"format": "{icon}",
"return-type": "json",
"format-icons": {
"dark": "󰽥",
"light": "󰖙"
},
"exec-if": "which wm-change-theme",
"exec": "wm-change-theme get-waybar",
"on-click": "wm-change-theme change",
"on-click": "pkill wofi || wofi --show drun -x 8 -y 10 --height 35% --width 25%"
},
"hyprland/workspaces": {
......@@ -31,28 +18,29 @@
}
},
"hyprland/window": {
"format": "{title}",
"icon": "true"
},
"tray": {
"icon-size": 18,
"icon-size": 15,
"show-passive-items": true,
"spacing": 10
},
"hyprland/submap": {
"format": "{}",
"on-click": "hyprctl dispatch submap reset",
"always-on": "true",
"default-submap": "reset",
},
"custom/media": {
"custom/media-mini": {
"format": "{icon} {0}",
"return-type": "json",
"format-icons": {
"Playing": "",
"Paused": ""
},
"max-length": 50,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"max-length": 30,
"exec": "playerctl -a metadata --format '{\"text\": \"{{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(artist)}} - {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click": "playerctl play-pause",
"on-scroll-up": "playerctl next",
"on-scroll-down": "playerctl previous"
......@@ -78,18 +66,11 @@
"on-scroll-down": "hyprctl switchxkblayout all prev",
},
"hyprland/submap": {
"format": "{}",
"on-click": "hyprctl dispatch submap reset",
"always-on": "true",
"default-submap": "reset",
},
"pulseaudio#volume": {
"scroll-step": 5,
"format": "{icon} {volume}%",
"format-bluetooth": " {icon} {volume}%",
"format-muted": " Мут",
"format-muted": " ",
"tooltip-format": "{desc}",
"format-icons": {
"headphone": " ",
......@@ -105,7 +86,7 @@
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume}%",
"format-source-muted": " Мут",
"format-source-muted": " ",
"on-click": "hyprctl dispatch exec '[size 530 350; move 100%-550 4%]' pwvucontrol",
"on-click-right": "wpctl set-mute @DEFAULT_SOURCE@ toggle",
"on-scroll-up": "wpctl set-volume @DEFAULT_SOURCE@ 10%+ -l 1.0",
......@@ -123,10 +104,10 @@
"network": {
"tooltip": true,
"format-wifi": " {signalStrength}%",
"format-wifi": " ",
"rotate": 0,
"format-ethernet": "󰈀 {signalStrength}%",
"format-linked": "󰈀 {ifname} (No IP)",
"format-ethernet": "󰈀",
"format-linked": "󰈀 (No IP)",
"format-disconnected": "󰖪 ",
"tooltip-format-disconnected": "Нет соединения",
"format-alt": "<span foreground='#90ceaa'> {bandwidthDownBytes}</span> <span foreground='#dd6777'>  {bandwidthUpBytes}</span>",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment