diff --git a/configs/shells.nix b/configs/shells.nix index 2b7d220..6472303 100644 --- a/configs/shells.nix +++ b/configs/shells.nix @@ -29,13 +29,14 @@ let in { environment.shellAliases = { ns = "nix-shell --run zsh"; - niveum-switch = "sudo -i nixos-rebuild --fast switch"; - niveum-upgrade = "sudo -i nix-channel --update && sudo -i nixos-rebuild switch"; + # niveum-switch = "sudo -i nixos-rebuild --fast switch"; + # niveum-upgrade = "sudo -i nix-channel --update && sudo -i nixos-rebuild switch"; nixi = ''nix repl ""''; grep = "grep --color=auto"; rm = "rm -i"; cp = "cp -i"; mv = "mv -i"; + niveum-update = "nix-prefetch-git --url https://github.com/NixOS/nixpkgs-channels --rev refs/heads/nixos-18.09 > ~niveum/nixpkgs.json"; }; environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin"; @@ -83,13 +84,6 @@ in { eval $(nix-build ~niveum/deploy.nix -A "$system") & done } - - niveum-update() { - nix-prefetch-git \ ~master - --url https://github.com/NixOS/nixpkgs-channels \ - --rev refs/heads/nixos-18.09 \ - > ~niveum/nixpkgs.json - } ''; promptInit = '' autoload -Uz vcs_info diff --git a/dot/urxvt.nix b/dot/urxvt.nix index 2098e86..107861a 100644 --- a/dot/urxvt.nix +++ b/dot/urxvt.nix @@ -1,5 +1,6 @@ { config, pkgs }: -with import ; +let theme = import ; +in { enable = true; package = pkgs.rxvt_unicode-with-plugins; @@ -9,7 +10,11 @@ with import ; }; scroll.bar.enable = false; extraConfig = { - perl-ext-common = "default,clipboard,url-select,matcher"; + perl-ext = "default,url-select"; + "url-select.launcher" = "/usr/bin/env chromium"; + "url-select.underline" = true; + "colorUL" = theme.colorScheme.blue.light; + "perl-lib" = "${pkgs.urxvt_perls}/lib/urxvt/perl"; urlLauncher = "/usr/bin/env chromium"; fading = 20; iso14755 = false; diff --git a/dot/xresources.nix b/dot/xresources.nix index 65e14a9..cc1e049 100644 --- a/dot/xresources.nix +++ b/dot/xresources.nix @@ -7,6 +7,9 @@ in with lib; lists.foldr "*foreground" = theme.colorScheme.foreground; "*fadeColor" = theme.colorScheme.background; "*cursorColor" = theme.colorScheme.cursorColor; + + # "URxvt*font" = "-*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-1"; + # "URxvt*boldFont" = "-*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-1"; "*.font" = "xft:${theme.terminalFont.name}:size=${toString theme.terminalFont.size}"; "*.boldFont" = "xft:${theme.terminalFont.name}:style=Bold:size=${toString theme.terminalFont.size}"; "*.italicFont" = "xft:${theme.terminalFont.name}:style=Italic:size=${toString theme.terminalFont.size}";