diff --git a/flake.lock b/flake.lock index 9e6983a..1ddf163 100644 --- a/flake.lock +++ b/flake.lock @@ -28,11 +28,11 @@ ] }, "locked": { - "lastModified": 1756579987, - "narHash": "sha256-duCce8zGsaMsrqqOmLOsuaV1PVIw/vXWnKuLKZClsGg=", + "lastModified": 1757075491, + "narHash": "sha256-a+NMGl5tcvm+hyfSG2DlVPa8nZLpsumuRj1FfcKb2mQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "99a69bdf8a3c6bf038c4121e9c4b6e99706a187a", + "rev": "f56bf065f9abedc7bc15e1f2454aa5c8edabaacf", "type": "github" }, "original": { @@ -72,11 +72,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1756630712, - "narHash": "sha256-Rzr++5ZpaGWTaXwYLcksUtclSH703XLpquLoLRoFdlI=", + "lastModified": 1757183725, + "narHash": "sha256-oZaONTM5A7AhRaXvGr8PNyVL7qbFNIZpMXpsYdTOPmc=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "dd88a1da72300083ff6ee4ad15fe30e7b2c7ad30", + "rev": "32d7f54892a516be2060a1e106cde7b47a733c62", "type": "github" }, "original": { @@ -105,11 +105,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1756628420, - "narHash": "sha256-GWuU2XP+/72ybXSMXDugP3/qNbgyQWSFE9ZG5euk8cc=", + "lastModified": 1756926064, + "narHash": "sha256-5/1vyFRLvJWxhBgpPaV2orC0pjSgIny6JM6+joLyZok=", "owner": "YaLTeR", "repo": "niri", - "rev": "db419b4fc7dbfb32a5c954502839c2331bcb4ecc", + "rev": "c69464c1288789020d9a086f86c970a7dc49b8c7", "type": "github" }, "original": { @@ -120,11 +120,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1756542300, - "narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", + "lastModified": 1756787288, + "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", + "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1", "type": "github" }, "original": { @@ -136,11 +136,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1756469547, - "narHash": "sha256-YvtD2E7MYsQ3r7K9K2G7nCslCKMPShoSEAtbjHLtH0k=", + "lastModified": 1757020766, + "narHash": "sha256-PLoSjHRa2bUbi1x9HoXgTx2AiuzNXs54c8omhadyvp0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "41d292bfc37309790f70f4c120b79280ce40af16", + "rev": "fe83bbdde2ccdc2cb9573aa846abe8363f79a97a", "type": "github" }, "original": { @@ -168,11 +168,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1756542300, - "narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", + "lastModified": 1756787288, + "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", + "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1", "type": "github" }, "original": { @@ -184,11 +184,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1756542300, - "narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", + "lastModified": 1756787288, + "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", + "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1", "type": "github" }, "original": { @@ -204,11 +204,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1756630008, - "narHash": "sha256-weZiVKbiWQzTifm6qCxzhxghEu5mbh9mWNUdkzOLCR0=", + "lastModified": 1757175473, + "narHash": "sha256-zi5d9XZMqZwsnEOFn2mgNQTAVp7oifTNtdqAzSsNZbc=", "owner": "nix-community", "repo": "NUR", - "rev": "f6a5a7b60dd6065e78ef06390767e689ffa3c23f", + "rev": "56a58305f2668b2d5519f64eaac93e8d1cef1827", "type": "github" }, "original": { @@ -247,11 +247,11 @@ "xwayland-satellite-unstable": { "flake": false, "locked": { - "lastModified": 1756570086, - "narHash": "sha256-vnbIvAqSt+hSd6blDc9IMvZKxAcHpqLhy25tDvosrug=", + "lastModified": 1757179758, + "narHash": "sha256-TIvyWzRt1miQj6Cf5Wy8Qz43XIZX7c4vTVwRLAT5S4Y=", "owner": "Supreeeme", "repo": "xwayland-satellite", - "rev": "1d156aa8d30b124ff770488e5e34289a08ff4207", + "rev": "970728d0d9d1eada342bb8860af214b601139e58", "type": "github" }, "original": { diff --git a/home-manager/config.kdl b/home-manager/config.kdl index 1dd2ee5..7e8450a 100644 --- a/home-manager/config.kdl +++ b/home-manager/config.kdl @@ -14,6 +14,7 @@ input { // For example: layout "ch" + options "compose:rctrl" // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" } } @@ -96,6 +97,10 @@ input { position x=1280 y=0 } +output "Samsung Electric Company LC27G7xT H1AK500000" { + variable-refresh-rate +} + // Settings that influence how windows are positioned and sized. // Find more information on the wiki: // https://github.com/YaLTeR/niri/wiki/Configuration:-Layout @@ -246,9 +251,7 @@ layout { // Note that running niri as a session supports xdg-desktop-autostart, // which may be more convenient to use. // See the binds section below for more spawn examples. -spawn-at-startup "xwayland-satellite" environment { - DISPLAY ":0" ELECTRON_OZONE_PLATFORM_HINT "auto" } @@ -257,7 +260,7 @@ environment { // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. // This option will also fix border/focus ring drawing behind some semitransparent windows. // After enabling or disabling this, you need to restart the apps for this to take effect. -// prefer-no-csd +prefer-no-csd // You can change the path where screenshots are saved. // A ~ at the front will be expanded to the home directory. @@ -320,6 +323,17 @@ window-rule { clip-to-geometry true } +window-rule { + match app-id="Spotify" + open-on-output "Samsung Electric Company SMS24A450/460 HVMBA01140" +} + + +window-rule { + match app-id="discord" + open-on-output "Lenovo Group Limited LEN G25-10 U4B30R14" +} + binds { // Keys consist of modifiers separated by + signs, followed by an XKB key name // in the end. To find an XKB name for a particular key, you may use a program diff --git a/home-manager/waybar.nix b/home-manager/waybar.nix index 1190ca8..923fcb1 100644 --- a/home-manager/waybar.nix +++ b/home-manager/waybar.nix @@ -88,7 +88,7 @@ format = " {status}"; format-disabled = ""; # an empty format will hide the module format-connected = " {num_connections} connected"; - on-click = lib.getExe pkgs.blueberry; + on-click = lib.getExe' "blueberry" pkgs.blueberry; }; pulseaudio = { # "scroll-step": 1, // %, can be a float