Save current desktop config updates

This commit is contained in:
2026-05-07 15:46:17 -07:00
parent d04c6b4cd5
commit e1fd076982
4 changed files with 22 additions and 14 deletions

View File

@@ -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()

View File

@@ -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

14
nixos/flake.lock generated
View File

@@ -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"
}

View File

@@ -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";