aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/config')
-rw-r--r--.config/waybar/config26
1 files changed, 24 insertions, 2 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 63f64e2..27b972c 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -1,16 +1,18 @@
// vi: ft=jsonc
{
- // "layer": "top", // Waybar at top layer
+ "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 40, // 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": [
+ "wlr/workspaces",
"sway/workspaces"
//"sway/mode"
],
"modules-center": [
+ "wlr/window",
"sway/window"
],
"modules-right": [
@@ -38,7 +40,22 @@
"urgent": "",
"focused": "",
"default": ""
- }
+ },
+ "on-click": "activate"
+ },
+ "wlr/workspaces": {
+ "max-width": 100,
+ "disable-scroll": false,
+ "all-outputs": false,
+ "format": "{name} {icon}",
+ "format-icons": {
+ "urgent": "",
+ "focused": "",
+ "default": ""
+ },
+ "on-scroll-up": "hyprctl dispatch workspace e+1",
+ "on-scroll-down": "hyprctl dispatch workspace e-1",
+ "on-click": "activate"
},
"keyboard-state": {
"numlock": true,
@@ -53,6 +70,11 @@
"format": "{short} {variant}",
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
},
+ "wlr/mode": {
+ "format": "<span style=\"italic\">{}</span>",
+ "max-length": 50,
+ "tooltip": true
+ },
"sway/mode": {
"format": "<span style=\"italic\">{}</span>",
"max-length": 50,