diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..28cb066 --- /dev/null +++ b/.Xresources @@ -0,0 +1,93 @@ +!! COLORS + +! special +*foreground: #9b9081 +*background: #181b20 +*cursorColor: #9b9081 + +! black +*color0: #353535 +*color8: #5f5f5f + +! red +*color1: #744b40 +*color9: #785850 + +! green +*color2: #6d6137 +*color10: #6f6749 + +! yellow +*color3: #765636 +*color11: #776049 + +! blue +*color4: #61564b +*color12: #696057 + +! magenta +*color5: #6b4a49 +*color13: #6f5a59 + +! cyan +*color6: #435861 +*color14: #525f66 + +! white +*color7: #b3b3b3 +*color15: #cdcdcd + + +!! STYLE + +! scrollbars +URxvt*scrollBar: false +URxvt*scrollBar_right: false +URxvt*scrollstyle: rxvt + +! border +URxvt*internalBorder: 18 + +! font +*font: -gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso10646-1 +URxvt*LetterSpace: -1 + +! cursor +URxvt*cursorBlink: true +URxvt*cursorUnderline: true + + +!! TERMINAL + +URxvt*loginShell: true +URxvt*termName: rxvt-256color +URxvt*backspacekey: \010 +URxvt.urgentOnBell: true + +! scroll in a pager +URxvt.secondaryScreen: 1 +URxvt.secondaryScroll: 0 +URxvt.keysym.C-k: command:\033c + +! scroll behavior +URxvt*scrollTtyOutput: false +URxvt*scrollWithBuffer: true +URxvt*scrollTtyKeypress: true + +!! SCRIPTS + +! URxvt.perl-lib: /usr/lib/urxvt/perl/ +! URxvt.perl-ext-common: default,matcher,clipboard,url-select,keyboard-select + +! clipboard +! URxvt.keysym.M-c: perl:clipboard:copy +! URxvt.keysym.M-v: perl:clipboard:paste +! URxvt.keysym.M-C-v: perl:clipboard:paste_escaped + +! keyboard select text +! URxvt.keysym.M-a: perl:keyboard-select:activate +! URxvt.keysym.M-s: perl:keyboard-select:search + +! url matcher +! URxvt.url-launcher: /usr/bin/chromium +! URxvt.matcher.button: 1 diff --git a/README.md b/README.md new file mode 100644 index 0000000..26c07ca --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Dotfiles for NixOS + +These are my new dotfiles, which combined with my prezto fork can be used to mirror my development machine's operating system configuration. They are written to work with the NixOS linux distribution. + +### Installing + +`cd` to the repo's root and then run `./install` diff --git a/bspwmrc b/bspwmrc index b58c458..fad1db1 100755 --- a/bspwmrc +++ b/bspwmrc @@ -12,4 +12,4 @@ bspc config gapless monocle true bspc config focus_follows_pointer true bspc config monitor -d I II III IV -feh --no--fehbg --bg-center ~/images/torvalds.png +feh --no--fehbg --bg-center ~/Pictures/background.png diff --git a/configuration.nix b/configuration.nix index 74b90bb..04ac157 100644 --- a/configuration.nix +++ b/configuration.nix @@ -10,7 +10,7 @@ boot.loader.grub.version = 2; boot.loader.grub.device = "/dev/sdd"; - networking.hostName = "Fazo-NixOS"; # Define your hostname. + networking.hostName = "Fazo-PC"; # Define your hostname. networking.hostId = "6bc261fc"; i18n = { @@ -21,7 +21,7 @@ nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ - tmux vim sxhkd w3m rxvt_unicode chromium htop atom git zsh dmenu + tmux vim sxhkd w3m rxvt_unicode chromium htop atom git zsh dmenu gnupg ranger synchting ]; fonts = { diff --git a/install b/install index a3093e2..d89d7b8 100755 --- a/install +++ b/install @@ -9,14 +9,16 @@ sudo nixos-rebuild switch # Custom Binaries -sudo cp bin/* /usr/bin/ +mkdir -p ~/bin/ +cp bin/* ~/bin/ -# Window Manager +# Xorg / Window Manager mkdir -p ~/.config/bspwm mkdir -p ~/.config/sxhkd cp bspwmrc ~/.config/bspwm/ cp sxhkdrc ~/.config/sxhkd/ +cp ./.Xresources ~/ # Vim diff --git a/sxhkdrc b/sxhkdrc index 6928acb..61cce3a 100755 --- a/sxhkdrc +++ b/sxhkdrc @@ -82,7 +82,7 @@ super + Return urxvt super + space - dmenu_run + dmenu_run -fn "-gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso10646-1" # make sxhkd reload its configuration files: super + Escape