Compare commits

..

8 commits

8 changed files with 20 additions and 33 deletions

View file

@ -125,10 +125,10 @@ isFeh :: Query Bool
isFeh = className =? "feh" isFeh = className =? "feh"
isNautilus :: Query Bool isNautilus :: Query Bool
isNautilus = className ~? "Nautilus" isNautilus = className $? "Nautilus"
isNautilusPreviewer :: Query Bool isNautilusPreviewer :: Query Bool
isNautilusPreviewer = className ~? "NautilusPreviewer" isNautilusPreviewer = className $? "NautilusPreviewer"
isMinder :: Query Bool isMinder :: Query Bool
isMinder = className =? "Minder" <&&> (not <$> title ~? "Pick a Color") isMinder = className =? "Minder" <&&> (not <$> title ~? "Pick a Color")
@ -225,9 +225,7 @@ myStartupHook = do
-- - setting `home.sessionVariable` (home-manager) would only effect shells, probably due to the order of launched processes blah blah -- - setting `home.sessionVariable` (home-manager) would only effect shells, probably due to the order of launched processes blah blah
-- - setting `environment.sessionVariables` (NixOS) would make my set up less portable -- - setting `environment.sessionVariables` (NixOS) would make my set up less portable
putEnv "GLFW_IM_MODULE=ibus" -- Make sure kitty knows how to talk to fcitx putEnv "GLFW_IM_MODULE=ibus" -- Make sure kitty knows how to talk to fcitx
putEnv "MOZ_USE_XINPUT2=1" -- Force touchpad for firefox
-- TODO: doesn't work for firefox nor for zen since 145.0
-- putEnv "MOZ_USE_XINPUT2=1" -- Force touchpad for firefox
removedKeybinds :: [(KeyMask, KeySym)] removedKeybinds :: [(KeyMask, KeySym)]
removedKeybinds = removedKeybinds =

View file

@ -27,12 +27,6 @@ EnumerateWithTriggerKeys=true
[Hotkey/AltTriggerKeys] [Hotkey/AltTriggerKeys]
0=Shift_L 0=Shift_L
[Hotkey/EnumerateGroupBackwardKeys]
0=Control+Shift+space
[Hotkey/EnumerateGroupForwardKeys]
0=Control+space
[Hotkey/NextCandidate] [Hotkey/NextCandidate]
0=Tab 0=Tab
@ -46,3 +40,4 @@ EnumerateWithTriggerKeys=true
0=Up 0=Up
[Hotkey/TriggerKeys] [Hotkey/TriggerKeys]
0=Control+space

View file

@ -1,23 +1,16 @@
# vim:ft=ini # vim:ft=ini
[GroupOrder] [GroupOrder]
0=gDvorak 0="Group 1"
1=gCangjie
[Groups/0] [Groups/0]
Name="Group 1"
Default Layout=us-dvorak Default Layout=us-dvorak
DefaultIM=keyboard-us-dvorak DefaultIM=keyboard-us-dvorak
Name=gDvorak
[Groups/0/Items/0] [Groups/0/Items/0]
Layout=
Name=keyboard-us-dvorak Name=keyboard-us-dvorak
Layout=us-dvorak
[Groups/1] [Groups/0/Items/1]
Default Layout=us
DefaultIM=cangjie3
Name=gCangjie
[Groups/1/Items/0]
Layout=
Name=cangjie3 Name=cangjie3
Layout=us

View file

@ -3,7 +3,7 @@
SecondCandidate= SecondCandidate=
# Select Third Candidate # Select Third Candidate
ThirdCandidate= ThirdCandidate=
# Page size # Candidates Per Page
PageSize=10 PageSize=10
# Commit after auto select candidates # Commit after auto select candidates
CommitAfterSelect=True CommitAfterSelect=True

View file

@ -34,7 +34,7 @@ in
{ {
Name = "Brave"; Name = "Brave";
Alias = "@br"; Alias = "@br";
URLTemplate = "https://search.brave.com/search?q={searchTerms}&source=web"; URLTemplate = "https://search.brave.com/search?&summary=0&q={searchTerms}&source=web";
SuggestURLTemplate = "https://suggestqueries.google.com/complete/search?q={searchTerms}"; SuggestURLTemplate = "https://suggestqueries.google.com/complete/search?q={searchTerms}";
} }
]; ];

View file

@ -5,10 +5,10 @@
}: }:
{ {
# git plugins # git plugins
programs.git = { programs.patdiff = {
lfs.enable = true; enable = lib.mkDefault true;
enableGitIntegration = lib.mkDefault true;
}; };
programs.patdiff.enable = lib.mkDefault true;
# 懶惰鬼賴皮 # 懶惰鬼賴皮
programs.lazygit = programs.lazygit =

View file

@ -34,7 +34,7 @@ in
{ {
Name = "Brave"; Name = "Brave";
Alias = "@br"; Alias = "@br";
URLTemplate = "https://search.brave.com/search?q={searchTerms}&source=web"; URLTemplate = "https://search.brave.com/search?&summary=0&q={searchTerms}&source=web";
SuggestURLTemplate = "https://suggestqueries.google.com/complete/search?q={searchTerms}"; SuggestURLTemplate = "https://suggestqueries.google.com/complete/search?q={searchTerms}";
} }
]; ];
@ -68,6 +68,7 @@ in
"browser.startup.page" = 1; "browser.startup.page" = 1;
"browser.translations.automaticallyPopup" = false; "browser.translations.automaticallyPopup" = false;
"browser.tabs.closeWindowWithLastTab" = true; "browser.tabs.closeWindowWithLastTab" = true;
"general.smoothScroll" = false;
# open links in new window # open links in new window
# this works a lot better with xmonad where I have a bunch of windows # this works a lot better with xmonad where I have a bunch of windows

View file

@ -112,11 +112,11 @@
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager" "repo": "home-manager"
}, },
"branch": "master", "branch": "release-25.11",
"submodules": false, "submodules": false,
"revision": "295d90e22d557ccc3049dc92460b82f372cd3892", "revision": "2217780c39169a9c77915200137550c2ef0fa974",
"url": "https://github.com/nix-community/home-manager/archive/295d90e22d557ccc3049dc92460b82f372cd3892.tar.gz", "url": "https://github.com/nix-community/home-manager/archive/2217780c39169a9c77915200137550c2ef0fa974.tar.gz",
"hash": "1bg6p94gn7rzs43asb1njvhl242kd09ka2dbq3jyzhs140f0i099" "hash": "1p4j622rkpymnjggmqxwsngss4fpw21pf6khdzdfbiann5lzc5bn"
}, },
"infuse": { "infuse": {
"type": "GitRelease", "type": "GitRelease",