remove sway in waybar, add niri
This commit is contained in:
@@ -6,15 +6,12 @@
|
|||||||
// "width": 1280, // Waybar width
|
// "width": 1280, // Waybar width
|
||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
|
"reload_style_on_change": true,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"sway/workspaces",
|
"niri/workspaces",
|
||||||
"sway/mode",
|
|
||||||
"sway/scratchpad",
|
|
||||||
"custom/media"
|
"custom/media"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [],
|
||||||
"sway/window"
|
|
||||||
],
|
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
//"mpd",
|
//"mpd",
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
@@ -23,33 +20,17 @@
|
|||||||
"power-profiles-daemon",
|
"power-profiles-daemon",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"disk",
|
||||||
|
"disk#disk_home",
|
||||||
"temperature",
|
"temperature",
|
||||||
"backlight",
|
"backlight",
|
||||||
"keyboard-state",
|
"keyboard-state",
|
||||||
"sway/language",
|
|
||||||
"battery",
|
"battery",
|
||||||
"battery#bat2",
|
"battery#bat2",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray",
|
||||||
"custom/power"
|
"custom/power"
|
||||||
],
|
],
|
||||||
// Modules configuration
|
|
||||||
// "sway/workspaces": {
|
|
||||||
// "disable-scroll": true,
|
|
||||||
// "all-outputs": true,
|
|
||||||
// "warp-on-scroll": false,
|
|
||||||
// "format": "{name}: {icon}",
|
|
||||||
// "format-icons": {
|
|
||||||
// "1": "",
|
|
||||||
// "2": "",
|
|
||||||
// "3": "",
|
|
||||||
// "4": "",
|
|
||||||
// "5": "",
|
|
||||||
// "urgent": "",
|
|
||||||
// "focused": "",
|
|
||||||
// "default": ""
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
"keyboard-state": {
|
"keyboard-state": {
|
||||||
"numlock": true,
|
"numlock": true,
|
||||||
"capslock": true,
|
"capslock": true,
|
||||||
@@ -59,19 +40,6 @@
|
|||||||
"unlocked": ""
|
"unlocked": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sway/mode": {
|
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
|
||||||
},
|
|
||||||
"sway/scratchpad": {
|
|
||||||
"format": "{icon} {count}",
|
|
||||||
"show-empty": false,
|
|
||||||
"format-icons": [
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-format": "{app}: {title}"
|
|
||||||
},
|
|
||||||
"mpd": {
|
"mpd": {
|
||||||
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
||||||
"format-disconnected": "Disconnected ",
|
"format-disconnected": "Disconnected ",
|
||||||
@@ -98,6 +66,19 @@
|
|||||||
"tooltip-format": "MPD (connected)",
|
"tooltip-format": "MPD (connected)",
|
||||||
"tooltip-format-disconnected": "MPD (disconnected)"
|
"tooltip-format-disconnected": "MPD (disconnected)"
|
||||||
},
|
},
|
||||||
|
"niri/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
// Named workspaces
|
||||||
|
// (you need to configure them in niri)
|
||||||
|
"browser": "",
|
||||||
|
"discord": "",
|
||||||
|
"chat": "<b></b>",
|
||||||
|
// Icons by state
|
||||||
|
"active": "",
|
||||||
|
"default": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
|
|||||||
@@ -294,14 +294,6 @@ label:focus {
|
|||||||
background-color: #51a37a;
|
background-color: #51a37a;
|
||||||
}
|
}
|
||||||
|
|
||||||
#language {
|
|
||||||
background: #00b093;
|
|
||||||
color: #740864;
|
|
||||||
padding: 0 5px;
|
|
||||||
margin: 0 5px;
|
|
||||||
min-width: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#keyboard-state {
|
#keyboard-state {
|
||||||
background: #97e1ad;
|
background: #97e1ad;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
|
|||||||
Reference in New Issue
Block a user