rework workspaces and few other things
This commit is contained in:
parent
9c5f7c94bc
commit
27b73500a6
3 changed files with 149 additions and 164 deletions
|
|
@ -1,109 +1,20 @@
|
|||
[{
|
||||
"output": "DP-2",
|
||||
"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-1",
|
||||
"layer": "top",
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/mode"],
|
||||
"modules-center": ["group/statistics", "group/status", "temperature", "custom/pacman", "group/networks", "bluetooth", "group/audio-player"],
|
||||
/* "modules-right": ["tray", "custom/scratchpad-indicator", "pulseaudio",], */
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["hyprland/mode", ],
|
||||
"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": {
|
||||
"group/taskbar": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"group/playing",
|
||||
]
|
||||
},
|
||||
"group/playing": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"children-class": "not-power",
|
||||
"transition-left-to-right": true,
|
||||
},
|
||||
"modules": [
|
||||
"mpris",
|
||||
"mpris#2"
|
||||
"tray",
|
||||
"pulseaudio"
|
||||
]
|
||||
},
|
||||
"mpris": {
|
||||
"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,
|
||||
"on-click": "exec ~/.bin/sh/dunstaudio.sh play_pause",
|
||||
"on-click-right": "exec ~/.bin/sh/dunstaudio.sh next_track",
|
||||
"on-click-middle": "exec ~/.bin/sh/dunstaudio.sh prev_track",
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
"mpv": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": "",
|
||||
},
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
"mpris#2": {
|
||||
"format": "<span color=\"#8be9fd\"> </span><span color=\"#f8f8f2\">{title} </span><span color=\"#ff79c6\"> </span><span color=\"#f8f8f2\">{artist} <small>({position}/{length}) </small></span>",
|
||||
"format-paused": "<span color=\"#8be9fd\"> </span><span color=\"#f8f8f2\">{title} </span><span color=\"#ff79c6\"> </span><span color=\"#f8f8f2\">{artist} <small>({position}/{length}) </small></span>",
|
||||
"tooltip-format": " {artist}: {title} ( {album})",
|
||||
"interval": 1,
|
||||
"album-len": 0,
|
||||
"on-click": "exec ~/.bin/sh/dunstaudio.sh play_pause",
|
||||
"on-click-right": "exec ~/.bin/sh/dunstaudio.sh next_track",
|
||||
"on-click-middle": "exec ~/.bin/sh/dunstaudio.sh prev_track",
|
||||
},
|
||||
"group/statistics": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"custom/gpu-usage",
|
||||
"cpu",
|
||||
"memory",
|
||||
"group/disks"
|
||||
]
|
||||
},
|
||||
"custom/pacman": {
|
||||
"format": "<span color=\"#8BE9FD\"> </span>{}",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Available updates",
|
||||
"interval": 60,
|
||||
"exec": "checkupdates | wc -l",
|
||||
"exec-if": "exit 0",
|
||||
"signal": 8
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 6
|
||||
},
|
||||
"group/group-power": {
|
||||
"orientation": "inherit",
|
||||
|
|
@ -133,6 +44,110 @@
|
|||
"tooltip": false,
|
||||
"on-click": "shutdown -h now"
|
||||
},
|
||||
"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
|
||||
},
|
||||
}, {
|
||||
"output": "DP-1",
|
||||
"layer": "top",
|
||||
"modules-left": ["hyprland/mode", "hyprland/window"],
|
||||
"modules-center": ["group/statistics", "group/status", "temperature", "custom/pacman", "group/networks", "bluetooth"],
|
||||
"modules-right": ["group/audio-player"],
|
||||
/* "modules-right": ["tray", "custom/scratchpad-indicator", "pulseaudio",], */
|
||||
"hyprland/mode": {
|
||||
"format": " {}"
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "<span color=\"#f8f8f2\">{title}</span> ",
|
||||
"max-length": 60,
|
||||
"icon": true,
|
||||
"icon-size": 20,
|
||||
"all-outputs" : true,
|
||||
},
|
||||
|
||||
"group/audio-player": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"group/playing",
|
||||
]
|
||||
},
|
||||
"group/playing": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"children-class": "not-power",
|
||||
"transition-left-to-right": true,
|
||||
},
|
||||
"modules": [
|
||||
"mpris",
|
||||
"mpris#2"
|
||||
]
|
||||
},
|
||||
"mpris": {
|
||||
"format": "<span color=\"#bd93f9\">{player_icon}</span> <span color=\"#f8f8f2\">Playing now</span> ",
|
||||
"format-paused": "<span color=\"#bd93f9\">{status_icon}</span> <span color=\"#f8f8f2\">Paused </span> ",
|
||||
"tooltip-format": " {artist}: {title} ( {album})",
|
||||
"interval": 1,
|
||||
"album-len": 0,
|
||||
"on-click": "exec ~/.bin/sh/dunstaudio.sh play_pause",
|
||||
"on-click-right": "exec ~/.bin/sh/dunstaudio.sh next_track",
|
||||
"on-click-middle": "exec ~/.bin/sh/dunstaudio.sh prev_track",
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
"mpv": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": "",
|
||||
},
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
"mpris#2": {
|
||||
"format": "<span color=\"#8be9fd\"> </span><span color=\"#f8f8f2\">{title} </span><span color=\"#ff79c6\"> </span><span color=\"#f8f8f2\">{artist} <small>({position}/{length}) </small></span>",
|
||||
"format-paused": "<span color=\"#8be9fd\"> </span><span color=\"#f8f8f2\">{title} </span><span color=\"#ff79c6\"> </span><span color=\"#f8f8f2\">{artist} <small>({position}/{length}) </small></span>",
|
||||
"tooltip-format": " {artist}: {title} ( {album})",
|
||||
"interval": 1,
|
||||
"album-len": 0,
|
||||
"on-click": "exec ~/.bin/sh/dunstaudio.sh play_pause",
|
||||
"on-click-right": "exec ~/.bin/sh/dunstaudio.sh next_track",
|
||||
"on-click-middle": "exec ~/.bin/sh/dunstaudio.sh prev_track",
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
"group/statistics": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"custom/gpu-usage",
|
||||
"cpu",
|
||||
"memory",
|
||||
"group/disks"
|
||||
]
|
||||
},
|
||||
"custom/pacman": {
|
||||
"format": "<span color=\"#8BE9FD\"> </span>{}",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Available updates",
|
||||
"interval": 60,
|
||||
"exec": "checkupdates | wc -l",
|
||||
"exec-if": "exit 0",
|
||||
"signal": 8
|
||||
},
|
||||
|
||||
"group/networks": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
|
|
@ -161,17 +176,7 @@
|
|||
},
|
||||
"on-click": "toggleRemote"
|
||||
},
|
||||
"group/taskbar": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"tray",
|
||||
"pulseaudio"
|
||||
]
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 6
|
||||
},
|
||||
|
||||
"group/status": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue