waybar powerline
This commit is contained in:
@@ -1,13 +1,47 @@
|
||||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"output": "DP-1", // Only display on on monitor
|
||||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
"height": 36, // Waybar height (to be removed for auto height)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["custom/launcher", "wlr/taskbar", "custom/spacer", "niri/workspaces", "custom/spacer", "niri/window"],
|
||||
"modules-center": ["custom/swaync", "clock"],
|
||||
"modules-right": ["idle_inhibitor", "cpu", "memory", "temperature", "pulseaudio", "tray", "custom/power"],
|
||||
"modules-left": [
|
||||
"custom/logo",
|
||||
"wlr/taskbar",
|
||||
"custom/pl-taskbar",
|
||||
"niri/workspaces",
|
||||
"custom/pl-workspaces",
|
||||
"niri/window",
|
||||
"custom/pl-window"
|
||||
],
|
||||
"modules-center": [
|
||||
"custom/pl-swaync-before",
|
||||
"custom/swaync",
|
||||
"custom/pl-swaync",
|
||||
"clock",
|
||||
"custom/pl-clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/pl-idle-before",
|
||||
"idle_inhibitor",
|
||||
"custom/pl-idle",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature",
|
||||
"custom/pl-stats",
|
||||
"pulseaudio",
|
||||
"custom/pl-pulse",
|
||||
"tray",
|
||||
"custom/pl-tray",
|
||||
"custom/power"
|
||||
],
|
||||
// Modules configuration
|
||||
"custom/logo": {
|
||||
"format": " ",
|
||||
"on-click": "cosmic-app-library"
|
||||
},
|
||||
"wlr/taskbar": {
|
||||
"active-first": true,
|
||||
"icon-size": 24,
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"app_ids-mapping": {
|
||||
@@ -16,9 +50,6 @@
|
||||
"steam_app_2357570": "Overwatch 2.desktop"
|
||||
}
|
||||
},
|
||||
"custom/spacer": {
|
||||
"format": " "
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
@@ -60,7 +91,7 @@
|
||||
"on-click-right": "exec wezterm -e btm"
|
||||
},
|
||||
"memory": {
|
||||
"format": "{}% ",
|
||||
"format": "{percentage}% / {used:0.1f}GiB / {avail:0.1f}GiB ",
|
||||
"on-click-right": "exec wezterm -e btm"
|
||||
},
|
||||
"temperature": {
|
||||
@@ -85,7 +116,7 @@
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon}",
|
||||
"format-charging": "",
|
||||
"format-charging": "",
|
||||
"format-plugged": "",
|
||||
"format-alt": "{capacity}% {time}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
@@ -124,7 +155,7 @@
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
@@ -135,7 +166,7 @@
|
||||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||
"on-click-right": "pavucontrol",
|
||||
"tooltip": false
|
||||
},
|
||||
},
|
||||
"custom/power": {
|
||||
"format" : "⏻ ",
|
||||
"tooltip": false,
|
||||
@@ -168,5 +199,38 @@
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true,
|
||||
},
|
||||
},
|
||||
"custom/pl-taskbar": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-workspaces": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-window": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-swaync": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-clock": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-idle": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-stats": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-pulse": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-tray": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-swaync-before": {
|
||||
"format": ""
|
||||
},
|
||||
"custom/pl-idle-before": {
|
||||
"format": ""
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user