waybar config move
This commit is contained in:
+68
-28
@@ -1,30 +1,70 @@
|
||||
{
|
||||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"modules-left": [],
|
||||
"modules-center": ["sway/workspaces", "sway/mode"],
|
||||
"modules-right": ["clock", "idle_inhibitor", "tray"],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"format": "{name}"
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"deactivated": "💤",
|
||||
"activated": "🦉",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 24,
|
||||
"spacing": 16
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%m-%d %H:%M}",
|
||||
}
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"spacing": 0,
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["custom/recording", "cpu", "disk", "disk#sda", "idle_inhibitor", "tray", "custom/transmission", "network"],
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}",
|
||||
"all-outputs": false,
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true
|
||||
},
|
||||
"custom/recording": {
|
||||
"format": "●",
|
||||
"exec": "pgrep wf-recorder",
|
||||
"format-icons": ["", "O"],
|
||||
"exec-if": "pgrep wf-recorder",
|
||||
"interval": 1
|
||||
},
|
||||
"network": {
|
||||
"interface": "moz0",
|
||||
"format": "🕵️",
|
||||
"format-disconnected": ""
|
||||
},
|
||||
"custom/gpu": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon2/device/gpu_busy_percent",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||
"interval": 1
|
||||
},
|
||||
"custom/transmission": {
|
||||
"exec": "/home/mark/.scripts/transmission",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["", ""],
|
||||
"interval": 5
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||
},
|
||||
"disk": {
|
||||
"path": "/",
|
||||
"format": "{free}",
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"disk#sda": {
|
||||
"path": "/home/mark/Files",
|
||||
"format": "{free}",
|
||||
"interval": 5,
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"deactivated": "💤",
|
||||
"activated": "🦉",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 26,
|
||||
"spacing": 8
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%d %m}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user