waybar update
This commit is contained in:
parent
7be2de3bbc
commit
e722a447a6
18 changed files with 97 additions and 256 deletions
|
|
@ -6,8 +6,13 @@
|
|||
// "width": 1280, // Waybar width
|
||||
"spacing": 8, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["hyprland/workspaces", "tray", "hyprland/window"],
|
||||
"modules-center": ["custom/spotify"],
|
||||
"modules-left": [
|
||||
"custom/os",
|
||||
"hyprland/workspaces",
|
||||
"tray",
|
||||
"hyprland/window",
|
||||
],
|
||||
"modules-center": ["mpris"],
|
||||
"modules-right": [
|
||||
"custom/swww",
|
||||
"wireplumber",
|
||||
|
|
@ -19,6 +24,10 @@
|
|||
"clock",
|
||||
"custom/swaync",
|
||||
],
|
||||
"custom/os": {
|
||||
"format": "",
|
||||
"on-click": "~/.config/rofi/scripts/powermenu_t1",
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format-activated": "On",
|
||||
|
|
@ -73,6 +82,7 @@
|
|||
"wireplumber": {
|
||||
"format": " {volume}%",
|
||||
"format-mute": " {volume}%",
|
||||
"on-click": "~/.config/rofi/applets/bin/volume.sh",
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
|
|
@ -83,16 +93,19 @@
|
|||
"format-disconnected": "",
|
||||
//"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
},
|
||||
"custom/spotify": {
|
||||
"format": "{}",
|
||||
"on-click": "playerctl --player=spotify play-pause",
|
||||
"exec": "python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify",
|
||||
"return-type": "json",
|
||||
"max-length": 40,
|
||||
"format-icons": {
|
||||
"spotify": " ",
|
||||
"default": "🎜 ",
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"player-icons": {
|
||||
"default": "▶",
|
||||
"mpv": "🎵",
|
||||
},
|
||||
"interval": 1,
|
||||
"status-icons": {
|
||||
"paused": "⏸",
|
||||
},
|
||||
"dynamic-len": 72,
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
"custom/swaync": {
|
||||
"format": "{icon}",
|
||||
|
|
@ -112,7 +125,7 @@
|
|||
"tooltip-format": "Change Wallpaper",
|
||||
"on-click": "pywal",
|
||||
"format-icons": {
|
||||
"default": " ",
|
||||
"default": "",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue