major rework of the entire layouts that I did over the weekend, trying to simplify the setup and make it more universal across devices
This commit is contained in:
parent
36889e403d
commit
9ab2e7ea91
4 changed files with 133 additions and 100 deletions
|
@ -1,13 +1,56 @@
|
|||
[{
|
||||
"output": "DP-1",
|
||||
"layer": "top",
|
||||
"modules-left": ["hyprland/window"],
|
||||
"modules-center": ["hyprland/mode"],
|
||||
"hyprland/window": {
|
||||
"format": "<span color=\"#f8f8f2\">{title}</span> ",
|
||||
"max-length": 60,
|
||||
"icon": true,
|
||||
"icon-size": 20,
|
||||
"all-outputs" : true,
|
||||
},
|
||||
}, {
|
||||
"output": "DP-2",
|
||||
"layer": "top",
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/mode"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
"modules-right": ["mpris"],
|
||||
|
||||
"modules-center": ["custom/gpu-usage", "cpu", "memory", "group/disks", "temperature", "clock", "custom/weather", "idle_inhibitor", "custom/pacman", "group/networks", "bluetooth", "group/audio-player"],
|
||||
/* "modules-right": ["tray", "custom/scratchpad-indicator", "pulseaudio",], */
|
||||
"modules-right": ["group/taskbar", "group/group-power"],
|
||||
|
||||
"hyprland/mode": {
|
||||
"format": " {}"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"11": "",
|
||||
"12": "",
|
||||
},
|
||||
"sort-by-number": true
|
||||
},
|
||||
"group/audio-player": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"mpris",
|
||||
"cava"
|
||||
]
|
||||
},
|
||||
"mpris": {
|
||||
"format": "<span color=\"#bd93f9\">{player_icon}</span> <span color=\"#f8f8f2\">{dynamic}</span>",
|
||||
"format-paused": "<span color=\"#bd93f9\">{status_icon}</span> <span color=\"#f8f8f2\">{dynamic}</span>",
|
||||
"format": "<span color=\"#bd93f9\">{player_icon}</span> <span color=\"#f8f8f2\">Playing </span>",
|
||||
"format-paused": "<span color=\"#bd93f9\">{status_icon}</span> <span color=\"#f8f8f2\">Paused </span>",
|
||||
"tooltip-format": " {artist}: {title} ( {album})",
|
||||
"interval": 1,
|
||||
"album-len": 0,
|
||||
|
@ -18,51 +61,29 @@
|
|||
"status-icons": {
|
||||
"paused": "",
|
||||
},
|
||||
"ignored-players": ["firefox"]
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "<span color=\"#f8f8f2\">{title}</span> ",
|
||||
"max-length": 60,
|
||||
"icon": true,
|
||||
"icon-size": 20,
|
||||
"all-outputs" : true,
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
},
|
||||
"sort-by-number": true
|
||||
},
|
||||
}, {
|
||||
"output": "DP-2",
|
||||
"layer": "top",
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/mode"],
|
||||
"modules-center": ["custom/gpu-usage", "cpu", "memory", "temperature", "network", "custom/vpn", "bluetooth", "clock", "custom/weather", "idle_inhibitor", "custom/pacman", "disk", "disk#disk2", "disk#disk3", "disk#disk4", "disk#disk5"],
|
||||
/* "modules-right": ["tray", "custom/scratchpad-indicator", "pulseaudio",], */
|
||||
"modules-right": ["tray", "pulseaudio", "group/group-power"],
|
||||
|
||||
"hyprland/mode": {
|
||||
"format": " {}"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"7": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"11": "",
|
||||
"12": "",
|
||||
},
|
||||
"sort-by-number": true
|
||||
"cava": {
|
||||
"cava_config": "/home/peter/.config/cava/config",
|
||||
"framerate": 240,
|
||||
"autosens": 1,
|
||||
"bars": 6,
|
||||
"lower_cutoff_freq": 50,
|
||||
"higher_cutoff_freq": 10000,
|
||||
"method": "pipewire",
|
||||
"source": "auto",
|
||||
"stereo": true,
|
||||
"reverse": false,
|
||||
"bar_delimiter": 32,
|
||||
"monstercat": false,
|
||||
"waves": false,
|
||||
"noise_reduction": 0.77,
|
||||
"input_delay": 2,
|
||||
"format-icons" : ["<small>▁</small>", "<small>▂</small>", "<small>▃</small>", "<small>▄</small>", "<small>▅</small>", "<small>▆</small>", "<small>▇</small>", "<small>█</small>" ],
|
||||
"actions": {
|
||||
"on-click-right": "mode"
|
||||
}
|
||||
},
|
||||
"custom/pacman": {
|
||||
"format": "<span color=\"#8BE9FD\"> </span>{}",
|
||||
|
@ -101,6 +122,13 @@
|
|||
"tooltip": false,
|
||||
"on-click": "shutdown -h now"
|
||||
},
|
||||
"group/networks": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"network",
|
||||
"custom/vpn",
|
||||
]
|
||||
},
|
||||
"network": {
|
||||
"interface": "enp7s0",
|
||||
"format": "{ifname}",
|
||||
|
@ -122,6 +150,13 @@
|
|||
},
|
||||
"on-click": "toggleRemote"
|
||||
},
|
||||
"group/taskbar": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"tray",
|
||||
"pulseaudio"
|
||||
]
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 6
|
||||
|
@ -150,6 +185,21 @@
|
|||
"format": "<span color=\"#f1fa8c\"></span> {temperatureC}°C",
|
||||
"tooltip": false,
|
||||
},
|
||||
"group/disks": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"transition-left-to-right": true,
|
||||
"click-to-reveal": true,
|
||||
},
|
||||
"modules": [
|
||||
"disk",
|
||||
"disk#disk2",
|
||||
"disk#disk3",
|
||||
"disk#disk4",
|
||||
"disk#disk5"
|
||||
]
|
||||
},
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": "<span color=\"#8694c0\"></span><span color=\"#ffb86c\"> </span>/: {percentage_used}%",
|
||||
|
@ -206,7 +256,7 @@
|
|||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
|
||||
},
|
||||
"custom/vpn": {
|
||||
"format": "<span color=\"#ff5555\"></span> VPN",
|
||||
"format": "<span color=\"#ff5555\"> </span>",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Connected",
|
||||
"exec": "echo '{\"class\": \"connected\"}'",
|
||||
|
@ -224,7 +274,7 @@
|
|||
// "format-alt": "{alt}",
|
||||
},
|
||||
"custom/gpu-usage": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon2/device/gpu_busy_percent",
|
||||
"exec": "cat /sys/class/hwmon/hwmon1/device/gpu_busy_percent",
|
||||
"format": "<span color=\"#8694c0\"></span><span color=\"#bd93f9\"> </span>{}%",
|
||||
"return-type": "",
|
||||
"interval": 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue