diff --git a/private_dot_config/niri/config.kdl b/private_dot_config/niri/config.kdl index 570a75f..e970012 100644 --- a/private_dot_config/niri/config.kdl +++ b/private_dot_config/niri/config.kdl @@ -467,6 +467,12 @@ window-rule { open-maximized true } +window-rule { + match app-id=r#"Anydesk$"# + open-maximized true + open-floating true +} + window-rule { match app-id=r#"org.freedesktop.Xwayland$"# open-floating true diff --git a/private_dot_config/waybar/config b/private_dot_config/waybar/config index 52d9d3b..bfe3530 100644 --- a/private_dot_config/waybar/config +++ b/private_dot_config/waybar/config @@ -5,10 +5,8 @@ // "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/media"], - //"modules-center": ["sway/window"], - "modules-left": ["niri"], - "modules-center": ["workspaces"], + "modules-left": ["niri/workspaces", "niri/window"], + "modules-center": ["wlr/taskbar"], "modules-right": [ //"mpd", "idle_inhibitor", @@ -42,6 +40,13 @@ // "default": "" // } // }, + "wlr/taskbar": { + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "foot" + ] + }, "keyboard-state": { "numlock": true, "capslock": true, @@ -103,7 +108,12 @@ "interval": 1, "format": "{:%FT%T%z}", "tooltip-format": "{:%Y %B}\n{calendar}", - "format-alt": "{:%Y-%m-%d}" + "format-alt": "{:%Y-%m-%d}", + "calendar": { + "mode": "year", + "mode-mon-col": 3, + "weeks-pos": "left" + } }, "cpu": { "format": "{usage}% ",