-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Sway cleanup, added terminal, better defaults, xdg-desktop-portal
- Loading branch information
Showing
6 changed files
with
431 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
// -*- mode: jsonc -*- | ||
{ | ||
"layer": "top", // Waybar at top layer | ||
"position": "top", // Waybar position (top|bottom|left|right) | ||
"height": 30, // Waybar height (to be removed for auto height) | ||
// "width": 1280, // Waybar width | ||
"spacing": 4, // Gaps between modules (4px) | ||
// Choose the order of the modules | ||
"modules-left": [ | ||
"sway/workspaces", | ||
"sway/mode", | ||
"sway/scratchpad", | ||
"custom/kitty" | ||
], | ||
"modules-center": [ | ||
"sway/window" | ||
], | ||
"modules-right": [ | ||
"pulseaudio", | ||
"network", | ||
"cpu", | ||
"memory", | ||
"temperature", | ||
"sway/language", | ||
"clock" | ||
], | ||
"custom/kitty": { | ||
"format": "{} ", | ||
"tooltip": false, | ||
"on-click": "kitty" | ||
}, | ||
"sway/mode": { | ||
"format": "<span style=\"italic\">{}</span>" | ||
}, | ||
"sway/scratchpad": { | ||
"format": "{icon} {count}", | ||
"show-empty": false, | ||
"format-icons": ["", ""], | ||
"tooltip": true, | ||
"tooltip-format": "{app}: {title}" | ||
}, | ||
"idle_inhibitor": { | ||
"format": "{icon}", | ||
"format-icons": { | ||
"activated": "", | ||
"deactivated": "" | ||
} | ||
}, | ||
"tray": { | ||
// "icon-size": 21, | ||
"spacing": 10 | ||
}, | ||
"clock": { | ||
// "timezone": "America/New_York", | ||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", | ||
"format-alt": "{:%Y-%m-%d}" | ||
}, | ||
"cpu": { | ||
"format": "{usage}% ", | ||
"tooltip": false | ||
}, | ||
"memory": { | ||
"format": "{}% " | ||
}, | ||
"temperature": { | ||
// "thermal-zone": 2, | ||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", | ||
"critical-threshold": 80, | ||
// "format-critical": "{temperatureC}°C {icon}", | ||
"format": "{temperatureC}°C", | ||
"format-icons": ["", "", ""] | ||
}, | ||
"network": { | ||
// "interface": "wlp2*", // (Optional) To force the use of this interface | ||
"format-wifi": "{essid} ({signalStrength}%) ", | ||
"format-ethernet": "{ipaddr}/{cidr}", | ||
"tooltip-format": "{ifname} via {gwaddr}", | ||
"format-linked": "{ifname} (No IP)", | ||
"format-disconnected": "Disconnected ⚠", | ||
"format-alt": "{ifname}: {ipaddr}/{cidr}" | ||
}, | ||
"pulseaudio": { | ||
// "scroll-step": 1, // %, can be a float | ||
"format": "{volume}% {icon} {format_source}", | ||
"format-bluetooth": "{volume}% {icon} {format_source}", | ||
"format-bluetooth-muted": " {icon} {format_source}", | ||
"format-muted": " {format_source}", | ||
"format-source": "{volume}% ", | ||
"format-source-muted": "", | ||
"format-icons": { | ||
"headphone": "", | ||
"hands-free": "", | ||
"headset": "", | ||
"phone": "", | ||
"portable": "", | ||
"car": "", | ||
"default": ["", "", ""] | ||
} | ||
} | ||
} |
Oops, something went wrong.