From 55291038d199056fd97d1b3ba9c20a858713f688 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Wed, 10 Sep 2025 20:02:20 +0200 Subject: [PATCH] Zhu --- .../kylekrein/niri/desktopShell.nix | 2 ++ homes/x86_64-linux/kylekrein/niri/niri.nix | 4 +-- .../x86_64-linux/kylekrein/niri/settings.json | 25 +++++++++++++++---- 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/homes/x86_64-linux/kylekrein/niri/desktopShell.nix b/homes/x86_64-linux/kylekrein/niri/desktopShell.nix index a4b5fa7..699ff0d 100644 --- a/homes/x86_64-linux/kylekrein/niri/desktopShell.nix +++ b/homes/x86_64-linux/kylekrein/niri/desktopShell.nix @@ -28,6 +28,8 @@ in khal # calendar gammastep # night mode colloid-gtk-theme + qt6ct + libsForQt5.qt5ct ]; programs.kitty = { themeFile = lib.mkForce null; diff --git a/homes/x86_64-linux/kylekrein/niri/niri.nix b/homes/x86_64-linux/kylekrein/niri/niri.nix index 98a0436..cc4df22 100644 --- a/homes/x86_64-linux/kylekrein/niri/niri.nix +++ b/homes/x86_64-linux/kylekrein/niri/niri.nix @@ -430,7 +430,7 @@ in } ]; }; - systemd.user.services.lisgd-niri = lib.mkIf (osConfig.custom.hardware.framework12.enable) { + systemd.user.services.lisgd-niri = lib.mkIf (config.custom.hardware.tablet.enable) { Unit = { Description = "Makes sure that you have touchscreen gestures."; }; @@ -445,7 +445,7 @@ in RestartSec = 5; }; }; - systemd.user.services.autorotate-niri = lib.mkIf (osConfig.custom.hardware.framework12.enable) { + systemd.user.services.autorotate-niri = lib.mkIf (config.custom.hardware.tablet.enable) { Unit = { Description = "Adds auto rotation to Niri."; }; diff --git a/homes/x86_64-linux/kylekrein/niri/settings.json b/homes/x86_64-linux/kylekrein/niri/settings.json index ec9e425..c2b22df 100644 --- a/homes/x86_64-linux/kylekrein/niri/settings.json +++ b/homes/x86_64-linux/kylekrein/niri/settings.json @@ -8,7 +8,7 @@ "use24HourClock": true, "useFahrenheit": false, "nightModeEnabled": false, - "weatherLocation": "Paderborn, Nordrhein-Westfalen", + "weatherLocation": "51.7177044, 8.7526530", "weatherCoordinates": "51.7177044,8.7526530", "useAutoLocation": false, "weatherEnabled": true, @@ -36,6 +36,7 @@ "showWorkspacePadding": false, "showWorkspaceApps": true, "maxWorkspaceIcons": 30, + "workspacesPerMonitor": true, "workspaceNameIcons": {}, "clockCompactMode": false, "focusedWindowCompactMode": false, @@ -43,7 +44,7 @@ "runningAppsCurrentWorkspace": false, "clockDateFormat": "ddd d", "lockDateFormat": "dddd, MMMM d", - "mediaSize": 1, + "mediaSize": 0, "topBarLeftWidgets": [ "launcherButton", "advancedWorkspaceSwitcher", @@ -53,8 +54,18 @@ } ], "topBarCenterWidgets": [ - "clock", - "weather" + { + "id": "music", + "enabled": true + }, + { + "id": "clock", + "enabled": true + }, + { + "id": "weather", + "enabled": true + } ], "topBarRightWidgets": [ { @@ -102,6 +113,7 @@ "fontFamily": "Inter Variable", "monoFontFamily": "Fira Code", "fontWeight": 400, + "fontScale": 1, "gtkThemingEnabled": true, "qtThemingEnabled": true, "showDock": false, @@ -109,14 +121,17 @@ "cornerRadius": 12, "notificationOverlayEnabled": false, "topBarAutoHide": false, + "topBarOpenOnOverview": false, "topBarVisible": true, "topBarSpacing": 4, "topBarBottomGap": 0, "topBarInnerPadding": 8, "topBarSquareCorners": false, "topBarNoBackground": false, + "lockScreenShowPowerActions": true, + "hideBrightnessSlider": false, "notificationTimeoutLow": 5000, "notificationTimeoutNormal": 5000, "notificationTimeoutCritical": 0, "screenPreferences": {} -} +} \ No newline at end of file