From e1fd0769823a137db65200daef9792a0b369bb3c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 7 May 2026 15:46:17 -0700 Subject: [PATCH] Save current desktop config updates --- dotfiles/config/hypr/hyprland.lua | 16 +++++++++++++--- nixos/code.nix | 4 +--- nixos/flake.lock | 14 +++++++------- nixos/flake.nix | 2 +- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/dotfiles/config/hypr/hyprland.lua b/dotfiles/config/hypr/hyprland.lua index d80a9c01..4d19ab0a 100644 --- a/dotfiles/config/hypr/hyprland.lua +++ b/dotfiles/config/hypr/hyprland.lua @@ -1424,6 +1424,16 @@ local function apply_scratchpad_geometry(name, window, target_monitor) end end +local function float_and_drag_active_window() + hl.dsp.window.float({ action = "enable" })() + hl.dsp.window.drag()() +end + +local function float_and_resize_active_window() + hl.dsp.window.float({ action = "enable" })() + hl.dsp.window.resize()() +end + local function schedule_scratchpad_geometry(name, window, target_monitor) hl.timer(function() apply_scratchpad_geometry(name, window, target_monitor) @@ -2160,7 +2170,7 @@ bind(main_mod .. " + SHIFT + Space", force_columns_layout) bind(main_mod .. " + CTRL + Space", gather_workspace_into_tabbed_group) bind(main_mod .. " + bracketright", monocle_next) bind(main_mod .. " + bracketleft", monocle_prev) -bind(main_mod .. " + T", hl.dsp.window.float()) +bind(main_mod .. " + T", hl.dsp.window.float({ action = "disable" })) bind(main_mod .. " + M", minimize_active_window) bind(main_mod .. " + SHIFT + M", restore_last_minimized) bind(main_mod .. " + CTRL + SHIFT + M", function() @@ -2274,8 +2284,8 @@ bind(hyper .. " + SHIFT + comma", exec("/home/imalison/dotfiles/dotfiles/lib/bin bind(hyper .. " + Y", exec("rofi_agentic_skill")) bind(main_mod .. " + R", exec("hyprctl reload")) -bind(main_mod .. " + mouse:272", hl.dsp.window.drag()) -bind(main_mod .. " + mouse:273", hl.dsp.window.resize()) +bind(main_mod .. " + mouse:272", float_and_drag_active_window) +bind(main_mod .. " + mouse:273", float_and_resize_active_window) hl.on("hyprland.start", function() apply_nstack_config() diff --git a/nixos/code.nix b/nixos/code.nix index 2180ea97..4dcf1177 100644 --- a/nixos/code.nix +++ b/nixos/code.nix @@ -38,9 +38,7 @@ makeEnable config "myModules.code" true { antigravity claude-code codex - # Disabled until the upstream Codex.dmg fixed-output hashes in - # codex-desktop-linux are refreshed. - # inputs.codex-desktop-linux.packages.${pkgs.stdenv.hostPlatform.system}.default + inputs.codex-desktop-linux.packages.${pkgs.stdenv.hostPlatform.system}.default gemini-cli happy-coder opencode diff --git a/nixos/flake.lock b/nixos/flake.lock index 71cc7e81..5b8e2a7c 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -139,11 +139,11 @@ ] }, "locked": { - "lastModified": 1777661972, - "narHash": "sha256-VmcoQGZ3BNFlsI2jKUQH33MvEgkU6pvdxq4tofVLgmo=", + "lastModified": 1778175487, + "narHash": "sha256-eBoHv4Ha4Phyqc1BibguvgebYHNIdB1lYNDc5tdmw0M=", "owner": "sadjow", "repo": "codex-cli-nix", - "rev": "828b885b1be90991a2bd1087f2afd722476bfaed", + "rev": "84ef41fa58a1731da7e2d9856f8358cdbec8f6e3", "type": "github" }, "original": { @@ -163,16 +163,16 @@ ] }, "locked": { - "lastModified": 1777753296, - "narHash": "sha256-2iHuI6VPjfFDG3uX1sZykwGMsKa+kVResyqWmEIwtwo=", + "lastModified": 1778192811, + "narHash": "sha256-DJ/Bop/dB8Grcxsuf6/lRodF4kKN/9p31mk8tPcPvmo=", "owner": "colonelpanic8", "repo": "codex-desktop-linux", - "rev": "47b8ab71bd7ed60d99b77a90ec6be5ec52ab69a8", + "rev": "0fbe9cc494ed2c480edf4cd3540b584e5ddff043", "type": "github" }, "original": { "owner": "colonelpanic8", - "ref": "codex/fix-runtime-libs", + "ref": "codex/refresh-nix-package", "repo": "codex-desktop-linux", "type": "github" } diff --git a/nixos/flake.nix b/nixos/flake.nix index 248c6967..ccbb8829 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -221,7 +221,7 @@ }; codex-desktop-linux = { - url = "github:colonelpanic8/codex-desktop-linux?ref=codex/fix-runtime-libs"; + url = "github:colonelpanic8/codex-desktop-linux?ref=codex/refresh-nix-package"; inputs = { nixpkgs.follows = "nixpkgs"; flake-utils.follows = "flake-utils";