mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
updates
This commit is contained in:
parent
432bd906c7
commit
748624c12f
5 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"},
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue