add swww and pywal
This commit is contained in:
parent
076fe3ab81
commit
7798e8360c
19 changed files with 604 additions and 51 deletions
|
|
@ -2,9 +2,9 @@
|
|||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
"height": 36, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
"spacing": 8, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
|
|
@ -14,13 +14,15 @@
|
|||
"custom/spotify"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/swww",
|
||||
"wireplumber",
|
||||
"network",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature",
|
||||
"idle_inhibitor",
|
||||
"clock"
|
||||
"clock",
|
||||
"custom/swaync"
|
||||
],
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
|
|
@ -30,7 +32,7 @@
|
|||
}
|
||||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"icon-size": 18,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
|
|
@ -69,13 +71,35 @@
|
|||
},
|
||||
"custom/spotify": {
|
||||
"format": "{}",
|
||||
"on-click": "playerctl play-pause",
|
||||
"exec": "/usr/bin/python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify",
|
||||
"return-type": "json",
|
||||
"max-length": 40,
|
||||
"format-icons": {
|
||||
"spotify": "",
|
||||
"default": "🎜"
|
||||
},
|
||||
"exec": "/usr/bin/python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify" // Filter player based on name
|
||||
"spotify": " ",
|
||||
"default": "🎜 "
|
||||
}
|
||||
},
|
||||
"custom/swaync": {
|
||||
"format": "{icon}",
|
||||
"exec": "swaync-client -swb",
|
||||
"return-type": "json",
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><small><sup>⬤</sup></small></span>",
|
||||
"none": " ",
|
||||
"dnd-notification": "<span foreground='red'><small><sup>⬤</sup></small></span>",
|
||||
"dnd-none": " "
|
||||
}
|
||||
},
|
||||
"custom/swww": {
|
||||
"format": "{icon}",
|
||||
"tooltip": false,
|
||||
"tooltip-format": "Change Wallpaper",
|
||||
"on-click": "bash ~/.config/waybar/modules/switch-wallpaper.sh &",
|
||||
"format-icons": {
|
||||
"default": " "
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue