This commit is contained in:
Matt Nish-Lapidus 2025-02-21 13:07:22 -05:00
parent c7cb20b7be
commit 01f0129c2f
18 changed files with 110 additions and 261 deletions

View file

@ -96,6 +96,26 @@
pandoc.enable = true;
password-store.enable = true;
git = {
enable = true;
lfs = {
enable = true;
};
userEmail = "matt@emenel.ca";
userName = "Matt Nish-Lapidus";
ignores = [
".DS_Store"
];
extraConfig = {
core = {
editor = "$EDITOR";
};
init = {
defaultBranch = "main";
};
};
};
};
services = {
@ -130,11 +150,10 @@
};
};
# moving files!
xdg.configFile."git".source = ./dotfiles/dot_config/git;
# email signature
home.file.".signature".source = ./dotfiles/dot_signature;
#custom script executables
home.file.".local/bin" = {
source = ./dotfiles/dot_local/bin;
recursive = true;

View file

@ -1,17 +0,0 @@
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Matt Nish-Lapidus
email = matt@emenel.ca
[core]
editor = emacsclient -r
excludesfile = /home/emenel/.config/git/ignore
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = false
[init]
defaultBranch = main

View file

@ -1 +0,0 @@
.DS_Store

View file

@ -1,24 +0,0 @@
(defcfg
input (device-file "/dev/input/by-id/usb-Keebio_Quefrency_Rev._5-event-if02")
output (uinput-sink "kmonad-quefrency")
fallthrough true
)
(defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = \ del
tab q w e r t y u i o p [ ] bspc
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl nlck lmet lalt spc ralt rmet)
(defalias
supesc (tap-hold-next-release 200 esc lmet)
sp-lsft (tap-hold-next-release 200 \( lsft)
sp-rsft (tap-hold-next-release 200 \) lsft))
(deflayer qwerty
grv 1 2 3 4 5 6 7 8 9 0 - = \ del
tab q w e r t y u i o p [ ] bspc
@supesc a s d f g h j k l ; ' ret
@sp-lsft z x c v b n m , . / @sp-rsft
lctl lctl lalt lmet spc rmet ralt)

View file

@ -1,23 +0,0 @@
(defcfg
input (device-file "/dev/input/by-id/usb-Razer_Razer_Blade-if01-event-kbd")
output (uinput-sink "kmonad-razer")
fallthrough true)
(defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctrl lmet lalt spc ralt rctrl)
(defalias
supesc (tap-hold-next-release 200 esc lmet)
sp-lsft (tap-hold-next-release 200 \( lsft)
sp-rsft (tap-hold-next-release 200 \) lsft))
(deflayer qwerty
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
@supesc a s d f g h j k l ; ' ret
@sp-lsft z x c v b n m , . / @sp-rsft
lmet lalt lctrl spc rctrl ralt)

View file

@ -1,35 +0,0 @@
(defcfg
input (device-file "/dev/input/by-id/usb-Keebio_Sinc_Rev._4-event-kbd")
output (uinput-sink "kmonad-sinc")
fallthrough true)
(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 KeyPrint KeyInsert
grv 1 2 3 4 5 6 7 8 9 0 - = \ del home
tab q w e r t y u i o p [ ] bspc end
caps a s d f g h j k l ; ' ret pgup
lsft z x c v b n m , . / rsft up pgdn
lctl slck lmet lalt spc ralt rmet rctrl left down right)
(defalias
supesc (tap-hold-next-release 200 esc lmet)
sp-lsft (tap-hold-next-release 200 \( lsft)
sp-rsft (tap-hold-next-release 200 \) lsft)
controls (layer-toggle controls))
(deflayer qwerty
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 KeyPrint KeyInsert
grv 1 2 3 4 5 6 7 8 9 0 - = \ del home
tab q w e r t y u i o p [ ] bspc end
@supesc a s d f g h j k l ; ' ret pgup
@sp-lsft z x c v b n m , . / @sp-rsft up pgdn
lmet @controls lalt lctrl spc rctrl ralt rmet left down right)
(deflayer controls
esc KeyMute KeyVolumeDown KeyVolumeUp f4 f5 KeyPlayPause KeyPreviousSong KeyNextSong f9 f10 f11 f12 KeyPrint KeyInsert
grv 1 2 3 4 5 6 7 8 9 0 - = \ del home
tab q w e r t y u i o p [ ] bspc end
@supesc a s d f g h j k l ; ' ret pgup
@sp-lsft z x c v b n m , . / @sp-rsft pgup _
lmet lmet lalt lctrl spc rctrl ralt rmet home pgdn end)

View file

@ -1,36 +0,0 @@
(defcfg
input (device-file "/dev/input/by-id/usb-nullbits_SNAP-event-kbd")
output (uinput-sink "kmonad-snap")
fallthrough true)
(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ins del
f13 grv 1 2 3 4 5 6 7 8 9 0 - = bspc home
f14 tab q w e r t y u i o p [ ] \ end
f15 caps a s d f g h j k l ; ' ret pgup
f16 lsft z x c v b n m , . / rsft pgdn
f17 lctl slck lmet lalt spc ralt rmet rctrl)
(defalias
supesc (tap-hold-next-release 200 esc lmet)
sp-lsft (tap-hold-next-release 200 \( lsft)
sp-rsft (tap-hold-next-release 200 \) lsft))
(deflayer qwerty
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 prnt del
f13 grv 1 2 3 4 5 6 7 8 9 0 - = bspc home
f14 tab q w e r t y u i o p [ ] \ end
f15 @supesc a s d f g h j k l ; ' ret pgup
f16 @sp-lsft z x c v b n m , . / @sp-rsft pgdn
f17 lctrl lmet lalt lctrl spc rctrl ralt rmet)
;; (defalias
;; toggle-scratch ())
(deflayer paperwm
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 prnt del
f13 grv 1 2 3 4 5 6 7 8 9 0 - = bspc home
f14 tab q w e r t y u i o p [ ] \ end
f15 @supesc a s d f g h j k l ; ' ret pgup
f16 @sp-lsft z x c v b n m , . / @sp-rsft pgdn
f17 lctrl lmet lalt lctrl spc rctrl ralt rmet)

View file

@ -1,58 +0,0 @@
[[profile]]
name = "desk-clam"
exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""]
[[profile.output]]
search = "eDP-1"
enable = false
[[profile.output]]
search = ["m=BenQ PD2725U", "s=N2N00414019", "v=PNP(BNQ)"]
enable = true
mode = "3840x2160@59.997Hz"
position = "0,0"
scale = 1
[[profile]]
name = "desk-dual"
exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""]
[[profile.output]]
search = "eDP-1"
enable = true
mode = "2560x1600@240Hz"
position = "3840,0"
adaptive_sync = true
scale = 1
[[profile.output]]
enable = true
search = ["m=BenQ PD2725U", "s=N2N00414019", "v=PNP(BNQ)"]
mode = "3840x2160@59.997Hz"
position = "0,0"
scale = 1
[[profile]]
name = "laptop"
exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""]
[[profile.output]]
enable = true
search = "eDP-1"
mode = "2560x1600@240Hz"
position = "0,0"
adaptive_sync = true
scale = 1
[[profile]]
name = "laptop-mirror"
exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"",
"wl-present mirror eDP-1 & sleep .5; wl-present fullscreen-output HDMI-A-1; wl-present fullscreen"]
[[profile.output]]
enable = true
search = ["m=TL140ADXP04-0", "s=", "v=Thermotrex Corporation"]
mode = "2560x1600@240Hz"
position = "0,0"
adaptive_sync = true
[[profile.output]]
enable = true
search = "n/HDMI-[ABC]-[1-9]" # search for a matching name by regex

View file

@ -0,0 +1,2 @@
#!/bin/sh
wl-present mirror eDP-1