diff --git a/home-manager/dotfiles/config.fish b/config-files/config.fish similarity index 100% rename from home-manager/dotfiles/config.fish rename to config-files/config.fish diff --git a/home-manager/dotfiles/kitty.conf b/config-files/kitty.conf similarity index 100% rename from home-manager/dotfiles/kitty.conf rename to config-files/kitty.conf diff --git a/home-manager/dotfiles/zathurarc b/config-files/zathurarc similarity index 100% rename from home-manager/dotfiles/zathurarc rename to config-files/zathurarc diff --git a/home-manager/configuration.nix b/home-manager/configuration.nix deleted file mode 100644 index 1b71730c..00000000 --- a/home-manager/configuration.nix +++ /dev/null @@ -1,159 +0,0 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - -{ config, lib, pkgs, pkgs-unstable, ... }: - -{ - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - networking.hostName = "nandi"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Enable networking - networking.networkmanager.enable = true; - - # Set your time zone. - # time.timeZone = "America/Los_Angeles"; - time.timeZone = "America/New_York"; - - # Update to local time - services.localtimed.enable = true; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - - # Enable the X11 windowing system. - services.xserver.enable = true; - - # Enable the GNOME Desktop Environment. - services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; - - # Configure keymap in X11 - services.xserver = { - layout = "us"; - xkbVariant = ""; - }; - - # Enable CUPS to print documents. - services.printing.enable = true; - - # Enable sound with pipewire. - sound.enable = true; - hardware.pulseaudio.enable = false; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; - - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.benjamin = { - isNormalUser = true; - description = "Benjamin"; - extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ - firefox - # thunderbird - ]; - }; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - nixpkgs.config.input-fonts.acceptLicense = true; - - - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = - (with pkgs; [ - kitty - vivaldi - neovim - neovim-remote - zathura - zotero - fish - wget - gnome3.gnome-tweaks - oh-my-fish - git - python3 - slides - zoxide - plots - gnomeExtensions.unite - lazygit - fzf - ripgrep - pandoc - nodejs_20 - xsel - texlive.combined.scheme-full - libsForQt5.okular - gcc - unzip - tree-sitter - perl - gnumake - fd - xdotool - pstree - nix-index - home-manager - zoom-us - vlc - lua-language-server - stylua - ]) - - ++ - - (with pkgs-unstable; [ - pdfannots - ]); - - programs.fish.enable = true; - - fonts.fontDir.enable = true; - - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - - system.stateVersion = "23.11"; # man configuration.nix or on https://nixos.org/nixos/options.html - -} diff --git a/home-manager/flake.lock b/home-manager/flake.lock deleted file mode 100644 index de107a2d..00000000 --- a/home-manager/flake.lock +++ /dev/null @@ -1,64 +0,0 @@ -{ - "nodes": { - "home-manager": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1706981411, - "narHash": "sha256-cLbLPTL1CDmETVh4p0nQtvoF+FSEjsnJTFpTxhXywhQ=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "652fda4ca6dafeb090943422c34ae9145787af37", - "type": "github" - }, - "original": { - "owner": "nix-community", - "ref": "release-23.11", - "repo": "home-manager", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1708294118, - "narHash": "sha256-evZzmLW7qoHXf76VCepvun1esZDxHfVRFUJtumD7L2M=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "e0da498ad77ac8909a980f07eff060862417ccf7", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-23.11", - "type": "indirect" - } - }, - "nixpkgs-unstable": { - "locked": { - "lastModified": 1708296515, - "narHash": "sha256-FyF489fYNAUy7b6dkYV6rGPyzp+4tThhr80KNAaF/yY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "b98a4e1746acceb92c509bc496ef3d0e5ad8d4aa", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" - } - }, - "root": { - "inputs": { - "home-manager": "home-manager", - "nixpkgs": "nixpkgs", - "nixpkgs-unstable": "nixpkgs-unstable" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/home-manager/flake.nix b/home-manager/flake.nix deleted file mode 100644 index bfa18dbd..00000000 --- a/home-manager/flake.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - description = "config flake"; - - inputs = { - nixpkgs.url = "nixpkgs/nixos-23.11"; - nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; - home-manager.url = "github:nix-community/home-manager/release-23.11"; - home-manager.inputs.nixpkgs.follows = "nixpkgs"; - # home-manager = { - # url = "github:nix-community/home-manager/release-23.11"; - # inputs.nixpkgs.follows = "nixpkgs"; - # }; - }; - - outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }: - let - lib = nixpkgs.lib; - system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; - pkgs-unstable = nixpkgs-unstable.legacyPackages.${system}; - username = "benjamin"; - name = "Ben"; - in { - homeConfigurations = { - benjamin = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - modules = [ ./home.nix ]; - extraSpecialArgs = { - inherit username; - inherit name; - inherit pkgs-unstable; - }; - }; - }; - nixosConfigurations = { - nandi = lib.nixosSystem { - inherit system; - modules = [ ./configuration.nix ]; - specialArgs = { - inherit username; - inherit name; - inherit pkgs-unstable; - }; - }; - }; - }; -} diff --git a/home-manager/hardware-configuration.nix b/home-manager/hardware-configuration.nix deleted file mode 100644 index dcd6a86b..00000000 --- a/home-manager/hardware-configuration.nix +++ /dev/null @@ -1,38 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/85e07a36-6fae-4c00-b82c-f5ff2322a3eb"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/013B-FF4D"; - fsType = "vfat"; - }; - - swapDevices = [ ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/home-manager/home.nix b/home-manager/home.nix deleted file mode 100644 index 3290151a..00000000 --- a/home-manager/home.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ config, pkgs, ... }: - -{ - # manage. - home.username = "benjamin"; - home.homeDirectory = "/home/benjamin"; - - programs.git = { - enable = true; - userName = "benbrastmckie"; - userEmail = "benbrastmckie@gmail.com"; - }; - - home.stateVersion = "23.11"; # Please read the comment before changing. - - # home.packages allows you to install Nix packages into your environment. - home.packages = with pkgs; [ - (python311.withPackages(p: with p; [ - z3 - setuptools - # pynvim - # pylint - # black - # isort - ])) - (nerdfonts.override { fonts = [ "RobotoMono" ]; }) - ]; - - # Home Manager is pretty good at managing dotfiles. The primary way to manage - # plain files is through 'home.file'. - home.file = { - ".config/fish/config.fish".source = dotfiles/config.fish; - ".config/kitty/kitty.conf".source = dotfiles/kitty.conf; - ".config/zathura/zathurarc".source = dotfiles/zathurarc; - # # Building this configuration will create a copy of 'dotfiles/screenrc' in - # # the Nix store. Activating the configuration will then make '~/.screenrc' a - # # symlink to the Nix store copy. - # ".screenrc".source = dotfiles/screenrc; - - # # You can also set the file content immediately. - # ".gradle/gradle.properties".text = '' - # org.gradle.console=verbose - # org.gradle.daemon.idletimeout=3600000 - # ''; - }; - - home.sessionVariables = { - EDITOR = "nvim"; - }; - - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; -} diff --git a/nixos/NOT-USED-neovim-config.nix b/nixos/NOT-USED-neovim-config.nix deleted file mode 100644 index 93590a9e..00000000 --- a/nixos/NOT-USED-neovim-config.nix +++ /dev/null @@ -1,12 +0,0 @@ -# Note: not currently used... just an example -{ pkgs, ... }: - -pkgs.neovim.override { - config = { - # Replace '/path/to/your/neovim/config' with the actual path to your NeoVim configuration directory - customRC = '' - set runtimepath+=/home/benjamin/.config/nvim/ - source /home/benjamin/.config/nvim/init.lua - ''; - }; -} diff --git a/nixos/TODO.md b/nixos/TODO.md deleted file mode 100644 index 4840a7a2..00000000 --- a/nixos/TODO.md +++ /dev/null @@ -1,9 +0,0 @@ -# TODO - -- working on home-manager - - can't get it to work -- can't find z3-solver in path - - can't import from z3 - - do i need python311Packages.z3? - - tried 'pip install z3-solver' but pip needs to be upgraded? - - perhaps best to avoid pip? diff --git a/nixos/configuration.nix b/nixos/configuration.nix deleted file mode 100644 index 9120b7b0..00000000 --- a/nixos/configuration.nix +++ /dev/null @@ -1,253 +0,0 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - -{ config, pkgs, ... }: - -# let -# # neovimConfig = import ./neovim-config.nix; -# customNeovim = import ./lazyvim-config.nix; -# in - -{ - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; - - # programs.git = { - # enable = true; - # userName = "benbrastmckie"; - # userEmail = "benbrastmckie@gmail.com"; - # }; - - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - networking.hostName = "nandi"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Enable networking - networking.networkmanager.enable = true; - - # Set your time zone. - # time.timeZone = "America/Los_Angeles"; - time.timeZone = "America/New_York"; - - # Update to local time - services.localtimed.enable = true; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - - # Enable the X11 windowing system. - services.xserver.enable = true; - - # Enable the GNOME Desktop Environment. - services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; - - # Configure keymap in X11 - services.xserver = { - layout = "us"; - xkbVariant = ""; - }; - - # Enable CUPS to print documents. - services.printing.enable = true; - - # Enable sound with pipewire. - sound.enable = true; - hardware.pulseaudio.enable = false; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; - - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.benjamin = { - isNormalUser = true; - description = "Benjamin"; - extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ - firefox - # thunderbird - ]; - }; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - nixpkgs.config.input-fonts.acceptLicense = true; - - - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [ - kitty - vivaldi - neovim - neovim-remote - zathura - zotero - fish - wget - gnome3.gnome-tweaks - oh-my-fish - git - python3 - # pylint - # (python311.withPackages(ps: with ps; [ - # z3 - # setuptools - # pip - # pynvim - # pylint - # black - # isort - # ])) - # poetry - # pipx - # pylint - # black - # isort - # vimPlugins.nvim-treesitter-parsers.c - slides - # reveal-md - # nodejs - # yarn - # discord - zoxide - plots - # gnome.gnome-shell-extensions - gnomeExtensions.unite - lazygit - fzf - ripgrep - pandoc - nodejs_20 - xsel - texlive.combined.scheme-full - libsForQt5.okular - gcc - unzip - tree-sitter - perl - gnumake - fd - xdotool - pstree - nix-index - home-manager - zoom-us - vlc - lua-language-server - stylua - pdfannots - ]; - - programs.fish.enable = true; - - # programs.neovim = { - # withPython3 = true; - # extraPackages = with pkgs; [ - # (python3.withPackages ( ps: with ps; [ - # pip - # pynvim - # pylint - # black - # isort - # z3 - # setuptools - # ])) - # ]; - # }; - - # programs.neovim = { - # enable = true; - # defaultEditor = true; - # configure = { - # packages.myVimPackage = with pkgs; { - # start = [ - # # lua-language-server - # # stylua - # python311Packages.pip - # python311Packages.pynvim - # python311Packages.pylint - # python311Packages.black - # python311Packages.isort - # python311Packages.z3 - # python311Packages.setuptools - # ]; - # }; - # }; - # }; - - fonts.fontDir.enable = true; - - fonts.packages = with pkgs; [ - roboto-mono - fira-code - fira-code-symbols - mplus-outline-fonts.githubRelease - ]; - - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - - - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; - - # List services that you want to enable: - - # Enable the OpenSSH daemon. - # services.openssh.enable = true; - - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "23.11"; # Did you read the comment? - -} diff --git a/nixos/flake.lock b/nixos/flake.lock deleted file mode 100644 index e9f1d0e3..00000000 --- a/nixos/flake.lock +++ /dev/null @@ -1,26 +0,0 @@ -{ - "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 1708296515, - "narHash": "sha256-FyF489fYNAUy7b6dkYV6rGPyzp+4tThhr80KNAaF/yY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "b98a4e1746acceb92c509bc496ef3d0e5ad8d4aa", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/nixos/flake.nix b/nixos/flake.nix deleted file mode 100644 index 48c19b52..00000000 --- a/nixos/flake.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - description = "config"; - - inputs = { - nixpkgs.url = "nixpkgs/nixos-unstable"; - # use the following for unstable: - # nixpkgs.url = "nixpkgs/nixos-unstable"; - # or any branch you want: - # nixpkgs.url = "nixpkgs/{BRANCH-NAME}" - }; - - outputs = { self, nixpkgs, ... }: - let - lib = nixpkgs.lib; - in { - nixosConfigurations = { - nandi = lib.nixosSystem { - system = "x86_64-linux"; - modules = [ ./configuration.nix ]; - }; - }; - }; -} diff --git a/nixos/gitignore.nix b/nixos/gitignore.nix deleted file mode 100644 index 38bfb35d..00000000 --- a/nixos/gitignore.nix +++ /dev/null @@ -1,8 +0,0 @@ -[ - "*.pdf" - "*.fbd_latexmk" - "*.fsl" - "*.log" - "*.synctex.gz" - "*.aux" -] diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix deleted file mode 100644 index dcd6a86b..00000000 --- a/nixos/hardware-configuration.nix +++ /dev/null @@ -1,38 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/85e07a36-6fae-4c00-b82c-f5ff2322a3eb"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/013B-FF4D"; - fsType = "vfat"; - }; - - swapDevices = [ ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/nvim/lua/neotex/plugins/which-key.lua b/nvim/lua/neotex/plugins/which-key.lua index 28a64144..8ab314b3 100644 --- a/nvim/lua/neotex/plugins/which-key.lua +++ b/nvim/lua/neotex/plugins/which-key.lua @@ -222,12 +222,13 @@ return { n = { name = "NIXOS", d = { "TermExec cmd='nix develop'j", "develop" }, - f = { "TermExec cmd='sudo nixos-rebuild switch --flake ~/.config/nixos/'j", "flake" }, + -- f = { "TermExec cmd='sudo nixos-rebuild switch --flake ~/.config/nixos/'j", "flake" }, g = { "TermExec cmd='nix-collect-garbage --delete-older-than 15d'j", "garbage" }, -- g = { "TermExec cmd='nix-collect-garbage -d'j", "garbage" }, p = { "TermExec cmd='vivaldi https://search.nixos.org/packages' open=0", "packages" }, - m = { "TermExec cmd='vivaldi https://mynixos.com' open=0", "mynixos" }, - r = { "TermExec cmd='home-manager switch --flake ~/.config/home-manager/'j", "rebuild" }, + m = { "TermExec cmd='vivaldi https://mynixos.com' open=0", "my-nixos" }, + r = { "TermExec cmd='sudo nixos-rebuild switch --flake ~/.dotfiles/'j", "rebuild flake" }, + h = { "TermExec cmd='home-manager switch --flake ~/.dotfiles/'j", "home-manager" }, -- r = { "TermExec cmd='home-manager switch'j", "home rebuild" }, -- r = { "TermExec cmd='sudo nixos-rebuild switch --flake ~/.config/home-manager/#nandi'j", "home rebuild" }, -- r = { "TermExec cmd='home-manager switch --flake ~/.config/home-manager/'j", "rebuild" }, diff --git a/zathura/zathurarc.bak b/zathura/zathurarc.bak deleted file mode 100644 index a244cf60..00000000 --- a/zathura/zathurarc.bak +++ /dev/null @@ -1,66 +0,0 @@ -# Synctex - -set synctex true -set synctex-editor-command "nvim --remote-silent +%{line} %{input}" - -# Basic Settings - -set highlight-transparency .1 -set zoom-center "true" -set selection-clipboard clipboard -set render-loading "false" -# set window-width 960 -set window-width 1280 -set window-height 1080 -set adjust-open "best-fit" - -map toggle_index -map K zoom in -map J zoom out -map p print -map w recolor -map k 5k -map j 5k -map toggle_fullscreen - -set notification-error-bg "#ebdbb2" # bg -set notification-error-fg "#9d0006" # bright:red -set notification-warning-bg "#ebdbb2" # bg -set notification-warning-fg "#b57614" # bright:yellow -set notification-bg "#ebdbb2" # bg -set notification-fg "#79740e" # bright:green - -set completion-bg "#d5c4a1" # bg2 -set completion-fg "#3c3836" # fg -set completion-group-bg "#ebdbb2" # bg1 -set completion-group-fg "#928374" # gray -set completion-highlight-bg "#076678" # bright:blue -set completion-highlight-fg "#d5c4a1" # bg2 - -# Define the color in index mode -set index-bg "#d5c4a1" # bg2 -set index-fg "#3c3836" # fg -set index-active-bg "#076678" # bright:blue -set index-active-fg "#d5c4a1" # bg2 - -set inputbar-bg "#ebdbb2" # bg -set inputbar-fg "#3c3836" # fg - -set statusbar-bg "#d5c4a1" # bg2 -set statusbar-fg "#3c3836" # fg - -set highlight-color "#b57614" # bright:yellow -set highlight-active-color "#af3a03" # bright:orange - -set default-bg "#1d2021" # bg -set default-fg "#3c3836" # fg -set render-loading true -set render-loading-bg "#ebdbb2" # bg -set render-loading-fg "#3c3836" # fg - -# Recolor book content's color -set recolor-lightcolor "#ebdbb2" # bg -set recolor-darkcolor "#3c3836" # fg -set recolor "true" -# set recolor-keephue true # keep original color -# set recolor-reverse-video "true"