1
Fork 0

oops, accidentally deleted shit

This commit is contained in:
Matei Adriel 2022-08-10 16:43:26 +03:00
parent 2497c51550
commit e8e43c9c06
6 changed files with 15 additions and 9 deletions

View file

@ -1,8 +1,8 @@
(defcfg
;; For Linux
;; input (device-file "$DEVICE") ;; gets dynamically replaced by nix
;; input (device-file "/dev/input/by-path/pci-0000:00:14.0-usb-0:1:1.0-event-kbd")
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
input (device-file "/dev/input/by-path/pci-0000:00:14.0-usb-0:5:1.0-event-kbd")
;; input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "My KMonad output"
;; To understand the importance of the following line, see the section on
;; Compose-key sequences at the near-bottom of this file.

View file

@ -9,15 +9,11 @@ set search=https://google.com/search?q=
set searchwords=w~https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s
" Mappings
nmap d <action.scrollPageDownHalf>
nmap u <action.scrollPageUpHalf>
nmap yy <action.pageToClipboard>
nmap yf <pointer.start><action.startFollowCurrentTab>
nmap v <pointer.start><pointer.startVisualSelect>
nmap O <action.openNewTab><action.toExploreMode>
nmap T <action.toCommandMode>buffer<Space>
nmap x <action.closeTab>
nmap X <action.reopenTab>
nmap yt <action.openNewTabWithCurrentUrl><CR>
nmap ? <:help>

View file

@ -48,5 +48,15 @@
"prefix": "impref",
"description": "import Effect.Ref module",
"body": "import Effect.Ref as Ref"
},
"Int": {
"prefix": "impint",
"description": "import Data.Int module",
"body": "import Data.Int as Int"
},
"Number": {
"prefix": "impnumber",
"description": "import Data.Number module",
"body": "import Data.Number as Number"
}
}

View file

@ -3,7 +3,7 @@ self: super:
let
allThemes = self.callPackage (import ../themes/themes.nix) { };
# currentTheme = "github-light";
currentTheme = "catppuccin";
currentTheme = "catppuccin-macchiato";
in
with self; {
myHelpers = self.callPackage (import ../helpers.nix) { };

View file

@ -5,7 +5,7 @@ let
v = (a: b: if variant == "latte" then a else b);
in
{
name = "catppuccin";
name = "catppuccin-${variant}";
wallpaper = wallpaper.foreign or "${foreign.wallpapers}/${wallpaper}";
env = {

View file

@ -13,7 +13,7 @@ lib.lists.map (theme: pkgs.callPackage theme { }) [
# wallpaper = "misc/rainbow.png";
# wallpaper.foreign = ./wallpapers/eye.png;
transparency = 0.93;
variant = "frappe";
variant = "macchiato";
})
(githubVariant {
variant = "light";