Sway configuration

- Added Sway WM configuration
- Modify Waybar for Sway support
This commit is contained in:
Fabio Scotto di Santolo
2024-08-03 18:44:06 +02:00
parent 96aa21ecc3
commit 5e533614c3
7 changed files with 405 additions and 1 deletions

View File

@@ -5,7 +5,8 @@
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"hyprland/window"
"hyprland/window",
"sway/workspaces"
],
"modules-center": [
"clock"
@@ -67,6 +68,56 @@
]
}
},
"sway/workspaces": {
"disable-scroll": true,
"disable-markup": false,
"all-outputs": true,
"format": " {icon} ",
"on-click": "activate",
"sort-by-number": true,
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"urgent": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
"1": [
"HDMI-A-1"
],
"2": [
"HDMI-A-1"
],
"3": [
"HDMI-A-1"
],
"4": [
"HDMI-A-1"
],
"5": [
"HDMI-A-1"
],
"6": [
"HDMI-A-1"
],
"7": [
"HDMI-A-1"
],
"8": [
"HDMI-A-1"
],
"9": [
"HDMI-A-1"
],
"10": [
"eDP-1"
]
}
},
"tray": {
"icon-size": 24,
"spacing": 5