This commit is contained in:
Tyler Mayoff 2025-09-19 09:15:59 -04:00
parent 432bd906c7
commit 748624c12f
No known key found for this signature in database
GPG key ID: FAE8714D991290A9
5 changed files with 8 additions and 8 deletions

View file

@ -12,8 +12,8 @@
}; };
darwin = { darwin = {
url = "github:nix-darwin/nix-darwin/nix-darwin-25.05"; url = "github:nix-darwin/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
# Software # Software

View file

@ -2,7 +2,7 @@
imports = [ imports = [
../../home/common.nix ../../home/common.nix
../../home/helide ../../home/helide
../../home/ghostty.nix ../../modules/home/ghostty.nix
../../modules/darwin/PaperWM.spoon ../../modules/darwin/PaperWM.spoon
]; ];

View file

@ -13,8 +13,8 @@
source = pkgs.fetchFromGitHub { source = pkgs.fetchFromGitHub {
owner = "mogenson"; owner = "mogenson";
repo = "PaperWM.spoon"; repo = "PaperWM.spoon";
rev = "bc8291448d8b3e977a097b33b0626f43c16bd3b3"; rev = "cmd-drag";
hash = "sha256-/YGzldTfWWuKRZcvQHp+2p+hxtQk90midKQJ2SvPKZQ="; hash = "sha256-5lDxVP4KSPdSY+Vzv3wQHGDKKUevGl2qm2YWiCLuS98=";
}; };
}; };
@ -51,6 +51,8 @@
-- spoon.FocusMode:start() -- spoon.FocusMode:start()
PaperWM = hs.loadSpoon("PaperWM") PaperWM = hs.loadSpoon("PaperWM")
PaperWM.drag_window = { "alt", "cmd" }
PaperWM.lift_window = { "alt", "cmd", "shift" }
PaperWM:bindHotkeys({ PaperWM:bindHotkeys({
-- switch to a new focused window in tiled grid -- switch to a new focused window in tiled grid
focus_left = {{"alt", "cmd"}, "left"}, focus_left = {{"alt", "cmd"}, "left"},

View file

@ -8,8 +8,6 @@
else pkgs.unstable.ghostty; else pkgs.unstable.ghostty;
settings = { settings = {
auto-update = false;
theme = "light:Rose Pine Dawn,dark:Rose Pine"; theme = "light:Rose Pine Dawn,dark:Rose Pine";
macos-option-as-alt = "left"; macos-option-as-alt = "left";

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
[[ $(command -v nixos-rebuild) ]] && nh os switch ~/.config/flake [[ $(command -v nixos-rebuild) ]] && nh os switch ~/.config/flake
[[ $(command -v darwin-rebuild) ]] && sudo darwin-rebuild switch --flake ~/.config/flake/ [[ $(command -v darwin-rebuild) ]] && nh darwin switch ~/.config/flake/
[[ $(command -v home-manager) ]] && nh home switch ~/.config/flake/ [[ $(command -v home-manager) ]] && nh home switch ~/.config/flake/
exit 0 exit 0