mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
Compare commits
4 commits
06c9fe9f1e
...
09d5f8e0c8
| Author | SHA1 | Date | |
|---|---|---|---|
| 09d5f8e0c8 | |||
| 9f080c0707 | |||
| 9b52493e5f | |||
| 51352a91d0 |
4 changed files with 18 additions and 16 deletions
|
|
@ -64,13 +64,15 @@
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
"https://ghc-nix.cachix.org"
|
"https://ghc-nix.cachix.org" # ghc nix-shell
|
||||||
|
"https://ghc.cachix.org" # ghcs
|
||||||
"https://haskell-language-server.cachix.org"
|
"https://haskell-language-server.cachix.org"
|
||||||
"https://helix.cachix.org"
|
"https://helix.cachix.org"
|
||||||
"https://cache.iog.io"
|
"https://cache.iog.io"
|
||||||
];
|
];
|
||||||
extra-trusted-public-keys = [
|
extra-trusted-public-keys = [
|
||||||
"ghc-nix.cachix.org-1:ziC/I4BPqeA4VbtOFpFpu6D1t6ymFvRWke/lc2+qjcg="
|
"ghc-nix.cachix.org-1:ziC/I4BPqeA4VbtOFpFpu6D1t6ymFvRWke/lc2+qjcg="
|
||||||
|
"ghc.cachix.org-1:a751hwq9ydeP3Nr6h84iA9zSjxg9Z3uznqi4YBGjsiw="
|
||||||
"haskell-language-server.cachix.org-1:juFfHrwkOxqIOZShtC4YC1uT1bBcq2RSvC7OMKx0Nz8="
|
"haskell-language-server.cachix.org-1:juFfHrwkOxqIOZShtC4YC1uT1bBcq2RSvC7OMKx0Nz8="
|
||||||
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
|
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
|
||||||
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
|
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
import XMonad
|
import XMonad
|
||||||
import XMonad.Actions.CopyWindow
|
import XMonad.Actions.CopyWindow
|
||||||
|
import XMonad.Actions.Sift
|
||||||
import XMonad.Actions.Submap
|
import XMonad.Actions.Submap
|
||||||
import XMonad.Actions.SwapWorkspaces
|
import XMonad.Actions.SwapWorkspaces
|
||||||
import XMonad.Hooks.DynamicLog
|
import XMonad.Hooks.DynamicLog
|
||||||
|
|
@ -227,6 +228,10 @@ keybinds =
|
||||||
-- Toggle fullscreen
|
-- Toggle fullscreen
|
||||||
, ((superMask, xK_Escape), sendMessage NextLayout)
|
, ((superMask, xK_Escape), sendMessage NextLayout)
|
||||||
|
|
||||||
|
-- Sift instead of swap
|
||||||
|
, ((superMask .|. shiftMask, xK_j), windows siftDown)
|
||||||
|
, ((superMask .|. shiftMask, xK_k), windows siftUp )
|
||||||
|
|
||||||
-- Resize windows
|
-- Resize windows
|
||||||
, ((superMask, xK_equal ), sendMessage $ IncMasterN 1)
|
, ((superMask, xK_equal ), sendMessage $ IncMasterN 1)
|
||||||
, ((superMask, xK_minus ), sendMessage $ IncMasterN -1)
|
, ((superMask, xK_minus ), sendMessage $ IncMasterN -1)
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,6 @@ let
|
||||||
blameIgnore = {
|
blameIgnore = {
|
||||||
blame.ignoreRevsFile = ".git-blame-ignore-revs";
|
blame.ignoreRevsFile = ".git-blame-ignore-revs";
|
||||||
};
|
};
|
||||||
|
|
||||||
hooks = scriptsPath: { core.hooksPath = scriptsPath; };
|
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
# Univ stuff
|
# Univ stuff
|
||||||
|
|
@ -54,9 +52,6 @@ in
|
||||||
{
|
{
|
||||||
url = "github.com";
|
url = "github.com";
|
||||||
path = "haskell/cabal.git";
|
path = "haskell/cabal.git";
|
||||||
contents = lib.mkMerge [
|
contents = blameIgnore;
|
||||||
blameIgnore
|
|
||||||
(hooks "${./hooks/cabal}")
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -187,9 +187,9 @@
|
||||||
},
|
},
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"submodules": false,
|
"submodules": false,
|
||||||
"revision": "52113c4f5cfd1e823001310e56d9c8d0699a6226",
|
"revision": "899dc449bc6428b9ee6b3b8f771ca2b0ef945ab9",
|
||||||
"url": "https://github.com/NixOS/nixos-hardware/archive/52113c4f5cfd1e823001310e56d9c8d0699a6226.tar.gz",
|
"url": "https://github.com/NixOS/nixos-hardware/archive/899dc449bc6428b9ee6b3b8f771ca2b0ef945ab9.tar.gz",
|
||||||
"hash": "10gxzv78vk2sy4qwxc9ijbp3pssfnf4iwixvb7kkcggrk0dndzc6"
|
"hash": "1dbf11zjspg68wiryp2y24w587izg954nbv517q57mpl8i8sfr85"
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
|
@ -200,9 +200,9 @@
|
||||||
},
|
},
|
||||||
"branch": "nixos-25.05-small",
|
"branch": "nixos-25.05-small",
|
||||||
"submodules": false,
|
"submodules": false,
|
||||||
"revision": "8660acf86a1f5a14dacf049f9a5b8aff143e9111",
|
"revision": "cec38dec00df26a901eb8b424d53bbb3bcc72eec",
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/8660acf86a1f5a14dacf049f9a5b8aff143e9111.tar.gz",
|
"url": "https://github.com/NixOS/nixpkgs/archive/cec38dec00df26a901eb8b424d53bbb3bcc72eec.tar.gz",
|
||||||
"hash": "0y3l82414w0h1bvh63630irqxj139al479j49r6z4d1p86ygjkzm"
|
"hash": "006pn4a3f4wnr60bbw7cw181p6gzgyyz5lchp3i8q5v7bjjvalmg"
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
|
@ -213,9 +213,9 @@
|
||||||
},
|
},
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"submodules": false,
|
"submodules": false,
|
||||||
"revision": "e7b4921cad8b7492ab9c441bda269be625bd2acc",
|
"revision": "263f45afd86d9c3cb8f61fb7af44c465d4493b88",
|
||||||
"url": "https://github.com/nix-community/nur/archive/e7b4921cad8b7492ab9c441bda269be625bd2acc.tar.gz",
|
"url": "https://github.com/nix-community/nur/archive/263f45afd86d9c3cb8f61fb7af44c465d4493b88.tar.gz",
|
||||||
"hash": "1yya5jag6gvcxrajc24hz9zisxygabfjr2r86jgadyjykv0dm3s8"
|
"hash": "0lv1gkqqb5bkkmwvgl8kaipqxg6ddqw09wb8jcc0wql95vbyzyca"
|
||||||
},
|
},
|
||||||
"pin-emacs28": {
|
"pin-emacs28": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue