Even better

This commit is contained in:
Thomas Forgione 2025-04-06 00:10:35 +02:00
parent 72b6a76d9a
commit 098905fbd8

View File

@ -1,114 +1,134 @@
{ {
"name": "float", "name": "float",
"layer": "top", "layer": "top",
"position": "bottom", "position": "bottom",
"height": 75, "height": 75,
"exclusive": false, "exclusive": false,
"passthrough": false, "passthrough": false,
"gtk-layer-shell": true, "gtk-layer-shell": true,
"margin-right": 10, "margin-right": 10,
"margin-bottom": 0, "margin-bottom": 0,
"margin-top" : 0, "margin-top" : 0,
"margin-left": 0, "margin-left": 0,
"margin-right": 0, "margin-right": 0,
"height" : 10, "height" : 10,
"modules-left": [ "modules-left": [
], ],
"modules-center": [ "modules-center": [
], ],
"modules-right": [ "modules-right": [
"hyprland/workspaces", "hyprland/workspaces",
"tray", "tray",
"battery", "battery",
"clock", "clock",
], ],
"hyprland/window": { "hyprland/window": {
"format": "{}", "format": "{}",
"max-length": 35, "max-length": 35,
"rewrite": { "rewrite": {
"": "Harsh" "": "Harsh"
}, },
"separate-outputs": true, "separate-outputs": true,
}, },
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{icon}", "format": "{icon}",
"on-click": "activate", "format-icons": {
"sort-by-number": true, "11": "1",
"persistent-workspaces": { "12": "2",
"DP-3": [11, 12, 13, 14, 15, 16, 17, 18, 19], "13": "3",
"DP-2": [21, 22, 23, 24, 25, 26, 27, 28, 29] "14": "4",
}, "15": "5",
}, "16": "6",
"clock": { "17": "7",
"format": "{:%d/%m/%Y %H:%M}", "18": "8",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "19": "9",
"format-alt": "{}", "21": "1",
"interval": 1 "22": "2",
}, "23": "3",
"battery": { "24": "4",
"states": { "25": "5",
"warning": 30, "26": "6",
"critical": 15 "27": "7",
}, "28": "8",
"format": "{capacity}% {icon}", "29": "9",
"format-full": "{icon} {capacity}%", },
"format-charging": " {capacity}%", "on-click": "activate",
"format-plugged": " {capacity}%", "sort-by-number": true,
"format-alt": "{time} {icon}", "persistent-workspaces": {
"format-icons": ["", "", "", "", ""] "DP-3": [11, 12, 13, 14, 15, 16, 17, 18, 19],
}, "DP-2": [21, 22, 23, 24, 25, 26, 27, 28, 29]
"pulseaudio#1": { },
"format": "{volume}% {icon}", },
"format-bluetooth": "{volume}% {icon} {format_source}", "clock": {
"format-bluetooth-muted": " {icon} {format_source}", "format": "{:%d/%m/%Y %H:%M}",
"format-muted": "", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-icons": { "format-alt": "{}",
"headphone": "", "interval": 1
"hands-free": "", },
"headset": "", "battery": {
"phone": "", "states": {
"portable": "", "warning": 30,
"car": "", "critical": 15
"default": ["", "", ""] },
}, "format": "{capacity}% {icon}",
"on-click-right": "pavucontrol", "format-full": "{icon} {capacity}%",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", "format-charging": " {capacity}%",
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+", "format-plugged": " {capacity}%",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" "format-alt": "{time} {icon}",
}, "format-icons": ["", "", "", "", ""]
"pulseaudio#2": { },
"format": "{format_source}", "pulseaudio#1": {
"format-bluetooth": "{volume}% {icon}", "format": "{volume}% {icon}",
"format-muted": "{format_source}", "format-bluetooth": "{volume}% {icon} {format_source}",
"format-source": "{volume}% ", "format-bluetooth-muted": " {icon} {format_source}",
"format-source-muted": "", "format-muted": "",
"format-icons": { "format-icons": {
"headphones": "", "headphone": "",
"handsfree": "", "hands-free": "",
"headset": "", "headset": "",
"phone": "", "phone": "",
"portable": "", "portable": "",
"car": "", "car": "",
"default": [ "default": ["", "", ""]
"", },
"", "on-click-right": "pavucontrol",
"" "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
] "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
}, "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
"on-click-right": "pavucontrol", },
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle", "pulseaudio#2": {
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+", "format": "{format_source}",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-" "format-bluetooth": "{volume}% {icon}",
}, "format-muted": "{format_source}",
"idle_inhibitor": { "format-source": "{volume}% ",
"format": "{icon}", "format-source-muted": "",
"format-icons": { "format-icons": {
"activated": "", "headphones": "",
"deactivated": "" "handsfree": "",
} "headset": "",
}, "phone": "",
"tray": { "portable": "",
"icon-size": 15, "car": "",
"spacing": 10 "default": [
} "",
"",
""
]
},
"on-click-right": "pavucontrol",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 15,
"spacing": 10
}
} }