1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-02 04:57:45 +00:00

Compare commits

..

No commits in common. "f459d15e48aa599ae8607ee74d5781e9a6b8631a" and "0e70f7c08d7ec78eaecdcd0e9c9222ecd3dac57f" have entirely different histories.

8 changed files with 156 additions and 108 deletions

184
flake.lock generated
View file

@ -14,10 +14,10 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1750173260, "lastModified": 1747575206,
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "531beac616433bac6f9e2a19feb8e99a22a66baf", "rev": "4835b1dc898959d8547a871ef484930675cb47f1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -50,10 +50,10 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1749314438, "lastModified": 1749186560,
"owner": "RGBCube", "owner": "RGBCube",
"repo": "crash", "repo": "crash",
"rev": "db0cf4a08907a97095849143e8b659f777838b1b", "rev": "fd77a5a50c9c49a9b18302ae305c274f04373174",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -68,10 +68,10 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1750574187, "lastModified": 1749278330,
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "263d9d394e9b9606a82c73941c4145052007799a", "rev": "68e191fa1f76ab42d3eb7195844eab261e412e2e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -83,11 +83,11 @@
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1733328505,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -120,16 +120,35 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748821116, "lastModified": 1733312601,
"narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=", "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1", "owner": "hercules-ci",
"revCount": 377, "repo": "flake-parts",
"type": "tarball", "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.377%2Brev-49f0870db23e8c1ca0b5259734a02cd9e1e371a1/01972f28-554a-73f8-91f4-d488cc502f08/source.tar.gz" "type": "github"
}, },
"original": { "original": {
"type": "tarball", "owner": "hercules-ci",
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1" "repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
} }
}, },
"git-hooks": { "git-hooks": {
@ -145,11 +164,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1749636823, "lastModified": 1742649964,
"narHash": "sha256-WUaIlOlPLyPgz9be7fqWJA5iG6rHcGRtLERSCfUDne4=", "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "623c56286de5a3193aa38891a6991b28f9bab056", "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -167,19 +186,24 @@
"nixpkgs": [ "nixpkgs": [
"nix", "nix",
"nixpkgs" "nixpkgs"
],
"nixpkgs-stable": [
"nix",
"nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1747372754, "lastModified": 1734279981,
"narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=", "narHash": "sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0=",
"rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46", "owner": "cachix",
"revCount": 1026, "repo": "git-hooks.nix",
"type": "tarball", "rev": "aa9f40c906904ebd83da78e7f328cd8aeaeae785",
"url": "https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1026%2Brev-80479b6ec16fefd9c1db3ea13aeb038c60530f46/0196d79a-1b35-7b8e-a021-c894fb62163d/source.tar.gz" "type": "github"
}, },
"original": { "original": {
"type": "tarball", "owner": "cachix",
"url": "https://flakehub.com/f/cachix/git-hooks.nix/0.1.941" "repo": "git-hooks.nix",
"type": "github"
} }
}, },
"github2forgejo": { "github2forgejo": {
@ -231,10 +255,10 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1750614446, "lastModified": 1749243446,
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "7c35504839f915abec86a96435b881ead7eb6a2b", "rev": "2d7d65f65b61fdfce23278e59ca266ddd0ef0a36",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -245,13 +269,15 @@
}, },
"nil": { "nil": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_2" "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_2",
"rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1750558251, "lastModified": 1741118843,
"owner": "oxalica", "owner": "oxalica",
"repo": "nil", "repo": "nil",
"rev": "4e5ac6ec65c775fbc6adba1c6022b29c7eccde0f", "rev": "577d160da311cc7f5042038456a0713e9863d09e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -269,10 +295,10 @@
"nixpkgs-regression": "nixpkgs-regression" "nixpkgs-regression": "nixpkgs-regression"
}, },
"locked": { "locked": {
"lastModified": 1750352474, "lastModified": 1749233614,
"owner": "DeterminateSystems", "owner": "DeterminateSystems",
"repo": "nix-src", "repo": "nix-src",
"rev": "1d5e161755dc269e30190f7a607b907b07ea2f63", "rev": "0e1df1c0f14198b12640f032156eb3e7531a4f3a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -288,10 +314,10 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1750618568, "lastModified": 1749194393,
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "1dd19f19e4b53a1fd2e8e738a08dd5fe635ec7e5", "rev": "19346808c445f23b08652971be198b9df6c33edc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -311,10 +337,10 @@
"nixpkgs-25_05": "nixpkgs-25_05" "nixpkgs-25_05": "nixpkgs-25_05"
}, },
"locked": { "locked": {
"lastModified": 1750598722, "lastModified": 1749244584,
"owner": "simple-nixos-mailserver", "owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver", "repo": "nixos-mailserver",
"rev": "cfb3136cf01a3e571b5340c7529b5b4722a08c52", "rev": "8b27add0883067e990bff4f847b6f7b6f53324b9",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -326,11 +352,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1750365781, "lastModified": 1749143949,
"narHash": "sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50=", "narHash": "sha256-QuUtALJpVrPnPeozlUG/y+oIMSLdptHxb3GK6cpSVhA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54", "rev": "d3d2d80a2191a73d1e86456a751b83aa13085d7d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -358,11 +384,11 @@
}, },
"nixpkgs-25_05": { "nixpkgs-25_05": {
"locked": { "locked": {
"lastModified": 1749727998, "lastModified": 1747610100,
"narHash": "sha256-mHv/yeUbmL91/TvV95p+mBVahm9mdQMJoqaTVTALaFw=", "narHash": "sha256-rpR5ZPMkWzcnCcYYo3lScqfuzEw5Uyfh+R0EKZfroAc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fd487183437963a59ba763c0cc4f27e3447dd6dd", "rev": "ca49c4304acf0973078db0a9d200fd2bae75676d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -390,15 +416,15 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1749619289, "lastModified": 1741037377,
"narHash": "sha256-qX6gXVjaCXXbcn6A9eSLUf8Fm07MgPGe5ir3++y2O1Q=", "narHash": "sha256-SvtvVKHaUX4Owb+PasySwZsoc5VUeTf1px34BByiOxw=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f72be405a10668b8b00937b452f2145244103ebc", "rev": "02032da4af073d0f6110540c8677f16d4be0117f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "nixos",
"ref": "nixpkgs-unstable", "ref": "nixpkgs-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
@ -408,22 +434,24 @@
"locked": { "locked": {
"lastModified": 1747179050, "lastModified": 1747179050,
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=", "narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e", "rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"revCount": 799423, "type": "github"
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.799423%2Brev-adaa24fbf46737f3f1b5497bf64bae750f82942e/0196d1c3-1974-7bf1-bcf6-06620ac40c8c/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "owner": "NixOS",
"url": "https://flakehub.com/f/NixOS/nixpkgs/%3D0.1.799423" "ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1750365781, "lastModified": 1749143949,
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54", "rev": "d3d2d80a2191a73d1e86456a751b83aa13085d7d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -451,11 +479,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1750538096, "lastModified": 1749194353,
"narHash": "sha256-8/KtURbFw0cd15WcqKJOMeF3JoxBbmjk2AWJ8Ud80WY=", "narHash": "sha256-i6nNh8It11J9afo8QAR1Vwk4qKz/byIc5yq0rU3SW7M=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "0ddaf2cd7b5c020addb5c35b09dc5ef409701522", "rev": "6acff6c1f8306a0a1d29be8fd1ffa63cff1ad598",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -465,6 +493,27 @@
"type": "github" "type": "github"
} }
}, },
"rust-overlay": {
"inputs": {
"nixpkgs": [
"nil",
"nixpkgs"
]
},
"locked": {
"lastModified": 1741055476,
"narHash": "sha256-52vwEV0oS2lCnx3c/alOFGglujZTLmObit7K8VblnS8=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "aefb7017d710f150970299685e8d8b549d653649",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@ -510,6 +559,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"themes": { "themes": {
"locked": { "locked": {
"lastModified": 1748114866, "lastModified": 1748114866,

View file

@ -104,6 +104,7 @@ in {
inherit (packageNextcloud.packages.apps) inherit (packageNextcloud.packages.apps)
bookmarks calendar contacts deck forms bookmarks calendar contacts deck forms
impersonate mail notes previewgenerator; impersonate mail notes previewgenerator;
# TODO: maps
}; };
nginx.recommendedHttpHeaders = true; nginx.recommendedHttpHeaders = true;

View file

@ -7,7 +7,5 @@ in {
mailserver = { mailserver = {
inherit fqdn; inherit fqdn;
stateVersion = 3;
}; };
} }

View file

@ -10,7 +10,5 @@ in {
# Not [ domain ] because this is a backup mailserver. contact@mail2.rgbcu.be. # Not [ domain ] because this is a backup mailserver. contact@mail2.rgbcu.be.
domains = [ fqdn ]; domains = [ fqdn ];
stateVersion = 3;
}; };
} }

View file

@ -24,8 +24,15 @@
manipulators = allBasic [ manipulators = allBasic [
{ {
from.key_code = "spacebar"; from.key_code = "spacebar";
from.modifiers.mandatory = [ "option" ]; from.modifiers.mandatory = [ "left_option" ];
from.modifiers.optional = [ "shift" "control" "command" "fn" ]; from.modifiers.optional = [ "left_shift" "right_shift" ];
to = [{ key_code = "spacebar"; }];
}
{
from.key_code = "spacebar";
from.modifiers.mandatory = [ "right_option" ];
from.modifiers.optional = [ "left_shift" "right_shift" ];
to = [{ key_code = "spacebar"; }]; to = [{ key_code = "spacebar"; }];
} }
@ -35,72 +42,64 @@
{ {
description = "Swap ĞğüÜ and {[]}"; description = "Swap ĞğüÜ and {[]}";
manipulators = allBasic [ manipulators = allBasic [
{ # ğ -> [ {
from.key_code = "open_bracket"; from.key_code = "open_bracket";
from.modifiers.optional = [ "control" "command" "fn" ];
to = [{ to = [{
key_code = "8"; key_code = "8";
modifiers = [ "right_option" ]; modifiers = [ "right_option" ];
}]; }];
} }
{ # Ğ -> { {
from.key_code = "open_bracket"; from.key_code = "open_bracket";
from.modifiers.mandatory = [ "shift" ]; from.modifiers.mandatory = ["shift"];
from.modifiers.optional = [ "control" "option" "command" "fn" ];
to = [{ to = [{
key_code = "7"; key_code = "7";
modifiers = [ "right_option" ]; modifiers = [ "right_option" ];
}]; }];
} }
{ # ü -> ] {
from.key_code = "close_bracket"; from.key_code = "close_bracket";
from.modifiers.optional = [ "control" "command" "fn" ];
to = [{ to = [{
key_code = "9"; key_code = "9";
modifiers = [ "right_option" ]; modifiers = [ "right_option" ];
}]; }];
} }
{ # Ü -> } {
from.key_code = "close_bracket"; from.key_code = "close_bracket";
from.modifiers.mandatory = [ "shift" ]; from.modifiers.mandatory = [ "shift" ];
from.modifiers.optional = [ "control" "option" "command" "fn" ];
to = [{ to = [{
key_code = "0"; key_code = "0";
modifiers = [ "right_option" ]; modifiers = [ "right_option" ];
}]; }];
} }
{ # [ -> ğ {
from.key_code = "8"; from.key_code = "8";
from.modifiers.mandatory = [ "option" ]; from.modifiers.mandatory = [ "option" ];
from.modifiers.optional = [ "control" "command" "fn" ];
to = [{ key_code = "open_bracket"; }]; to = [{ key_code = "open_bracket"; }];
} }
{ # { -> Ğ {
from.key_code = "7"; from.key_code = "7";
from.modifiers.mandatory = [ "option" ]; from.modifiers.mandatory = [ "option" ];
from.modifiers.optional = [ "control" "command" "fn" ];
to = [{ to = [{
key_code = "open_bracket"; key_code = "open_bracket";
modifiers = [ "shift" ]; modifiers = [ "shift" ];
}]; }];
} }
{ # ] -> ü {
from.key_code = "9"; from.key_code = "9";
from.modifiers.mandatory = [ "option" ]; from.modifiers.mandatory = [ "option" ];
from.modifiers.optional = [ "control" "command" "fn" ];
to = [{ key_code = "close_bracket"; }]; to = [{ key_code = "close_bracket"; }];
} }
{ # } -> Ü {
from.key_code = "0"; from.key_code = "0";
from.modifiers.mandatory = [ "option" ]; from.modifiers.mandatory = [ "option" ];
from.modifiers.optional = [ "control" "command" "fn" ];
to = [{ to = [{
key_code = "close_bracket"; key_code = "close_bracket";
@ -113,15 +112,13 @@
{ {
description = "Swap ı and i"; description = "Swap ı and i";
manipulators = allBasic [ manipulators = allBasic [
{ # ı -> i {
from.key_code = "quote"; from.key_code = "quote";
from.modifiers.optional = [ "control" "option" "command" "fn" ];
to = [{ key_code = "i"; }]; to = [{ key_code = "i"; }];
} }
{ # i -> ı {
from.key_code = "i"; from.key_code = "i";
from.modifiers.optional = [ "control" "option" "command" "fn" ];
to = [{ key_code = "quote"; }]; to = [{ key_code = "quote"; }];
} }

View file

@ -135,7 +135,6 @@ in {
local super_alt = { "cmd", "ctrl", "alt" } local super_alt = { "cmd", "ctrl", "alt" }
local super_shift = { "cmd", "ctrl", "shift" } local super_shift = { "cmd", "ctrl", "shift" }
-- FOCUS -- SUPER + DIRECTION
hs.hotkey.bind(super, "left", PaperWM.actions.focus_left) hs.hotkey.bind(super, "left", PaperWM.actions.focus_left)
hs.hotkey.bind(super, "down", PaperWM.actions.focus_down) hs.hotkey.bind(super, "down", PaperWM.actions.focus_down)
hs.hotkey.bind(super, "up", PaperWM.actions.focus_up) hs.hotkey.bind(super, "up", PaperWM.actions.focus_up)
@ -146,7 +145,6 @@ in {
hs.hotkey.bind(super, "k", PaperWM.actions.focus_up) hs.hotkey.bind(super, "k", PaperWM.actions.focus_up)
hs.hotkey.bind(super, "l", PaperWM.actions.focus_right) hs.hotkey.bind(super, "l", PaperWM.actions.focus_right)
-- RESIZE WINDOW -- SUPER + ALT + DIRECTION
hs.hotkey.bind(super_alt, "left", function() windowResize(-100, 0) end) hs.hotkey.bind(super_alt, "left", function() windowResize(-100, 0) end)
hs.hotkey.bind(super_alt, "down", function() windowResize(0, 100) end) hs.hotkey.bind(super_alt, "down", function() windowResize(0, 100) end)
hs.hotkey.bind(super_alt, "up", function() windowResize(0, -100) end) hs.hotkey.bind(super_alt, "up", function() windowResize(0, -100) end)
@ -157,22 +155,14 @@ in {
hs.hotkey.bind(super_alt, "k", function() windowResize(0, -100) end) hs.hotkey.bind(super_alt, "k", function() windowResize(0, -100) end)
hs.hotkey.bind(super_alt, "l", function() windowResize(100, 0) end) hs.hotkey.bind(super_alt, "l", function() windowResize(100, 0) end)
-- RESIZE WINDOW TO FULL WIDTH -- SUPER + ALT + F
hs.hotkey.bind(super_alt, "f", PaperWM.actions.full_width)
-- CYCLE SPACES -- SUPER[ + SHIFT FOR REVERSE] + TAB
hs.hotkey.bind(super, "tab", function() spaceChange(1) end) hs.hotkey.bind(super, "tab", function() spaceChange(1) end)
hs.hotkey.bind(super_shift, "tab", function() spaceChange(-1) end) hs.hotkey.bind(super_shift, "tab", function() spaceChange(-1) end)
for index = 1, 9 do for index = 1, 9 do
-- GO TO SPACE -- SUPER + NUMBER
hs.hotkey.bind(super, tostring(index), PaperWM.actions["switch_space_" .. index]) hs.hotkey.bind(super, tostring(index), PaperWM.actions["switch_space_" .. index])
-- MOVE WINDOW TO SPACE -- SUPER + SHIFT + NUMBER
hs.hotkey.bind(super_shift, tostring(index), PaperWM.actions["move_window_" .. index]) hs.hotkey.bind(super_shift, tostring(index), PaperWM.actions["move_window_" .. index])
end end
-- SWAP WINDOW -- SUPER + SHIFT + DIRECTION
hs.hotkey.bind(super_shift, "left", PaperWM.actions.swap_left) hs.hotkey.bind(super_shift, "left", PaperWM.actions.swap_left)
hs.hotkey.bind(super_shift, "down", PaperWM.actions.swap_down) hs.hotkey.bind(super_shift, "down", PaperWM.actions.swap_down)
hs.hotkey.bind(super_shift, "up", PaperWM.actions.swap_up) hs.hotkey.bind(super_shift, "up", PaperWM.actions.swap_up)
@ -183,16 +173,11 @@ in {
hs.hotkey.bind(super_shift, "k", PaperWM.actions.swap_up) hs.hotkey.bind(super_shift, "k", PaperWM.actions.swap_up)
hs.hotkey.bind(super_shift, "l", PaperWM.actions.swap_right) hs.hotkey.bind(super_shift, "l", PaperWM.actions.swap_right)
-- SLURP & BARF WINDOW -- SUPER + SHIFT + I/O
hs.hotkey.bind(super_shift, "i", PaperWM.actions.slurp_in)
hs.hotkey.bind(super_shift, "o", PaperWM.actions.barf_out)
-- MISC CONTROL
hs.hotkey.bind(super, "q", windowClose) hs.hotkey.bind(super, "q", windowClose)
hs.hotkey.bind(super, "c", PaperWM.actions.center_window) hs.hotkey.bind(super, "c", PaperWM.actions.center_window)
hs.hotkey.bind(super_alt, "f", PaperWM.actions.full_width)
hs.hotkey.bind(super, "f", PaperWM.actions.toggle_floating) hs.hotkey.bind(super, "f", PaperWM.actions.toggle_floating)
-- APPLICATIONS
hs.hotkey.bind(super, "w", function() hs.application.launchOrFocus("Zen") end) hs.hotkey.bind(super, "w", function() hs.application.launchOrFocus("Zen") end)
hs.hotkey.bind(super, "return", function() hs.application.launchOrFocus("Ghostty") end) hs.hotkey.bind(super, "return", function() hs.application.launchOrFocus("Ghostty") end)
hs.hotkey.bind(super, "t", function() hs.application.launchOrFocus("Finder") end) hs.hotkey.bind(super, "t", function() hs.application.launchOrFocus("Finder") end)

View file

@ -1,3 +1,6 @@
{ {
system.rebuild.enableNg = true; system = {
switch.enableNg = true;
rebuild.enableNg = true;
};
} }

View file

@ -47,5 +47,7 @@ in {
hashedPasswordFile = config.secrets.mailPassword.path; hashedPasswordFile = config.secrets.mailPassword.path;
}; };
stateVersion = 2;
}; };
} }