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 (defcfg
;; For Linux ;; For Linux
;; input (device-file "$DEVICE") ;; gets dynamically replaced by nix ;; 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/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") ;; input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "My KMonad output" output (uinput-sink "My KMonad output"
;; To understand the importance of the following line, see the section on ;; To understand the importance of the following line, see the section on
;; Compose-key sequences at the near-bottom of this file. ;; 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 set searchwords=w~https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s
" Mappings " Mappings
nmap d <action.scrollPageDownHalf>
nmap u <action.scrollPageUpHalf>
nmap yy <action.pageToClipboard> nmap yy <action.pageToClipboard>
nmap yf <pointer.start><action.startFollowCurrentTab>
nmap v <pointer.start><pointer.startVisualSelect> nmap v <pointer.start><pointer.startVisualSelect>
nmap O <action.openNewTab><action.toExploreMode> nmap O <action.openNewTab><action.toExploreMode>
nmap T <action.toCommandMode>buffer<Space> nmap T <action.toCommandMode>buffer<Space>
nmap x <action.closeTab> nmap x <action.closeTab>
nmap X <action.reopenTab>
nmap yt <action.openNewTabWithCurrentUrl><CR> nmap yt <action.openNewTabWithCurrentUrl><CR>
nmap ? <:help> nmap ? <:help>

View file

@ -48,5 +48,15 @@
"prefix": "impref", "prefix": "impref",
"description": "import Effect.Ref module", "description": "import Effect.Ref module",
"body": "import Effect.Ref as Ref" "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 let
allThemes = self.callPackage (import ../themes/themes.nix) { }; allThemes = self.callPackage (import ../themes/themes.nix) { };
# currentTheme = "github-light"; # currentTheme = "github-light";
currentTheme = "catppuccin"; currentTheme = "catppuccin-macchiato";
in in
with self; { with self; {
myHelpers = self.callPackage (import ../helpers.nix) { }; myHelpers = self.callPackage (import ../helpers.nix) { };

View file

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

View file

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