diff --git a/Xresources/general b/Xresources/general new file mode 100644 index 0000000..6c8c75e --- /dev/null +++ b/Xresources/general @@ -0,0 +1,25 @@ +! High DPI settings +! Xft.dpi: 180 +*dpi: 108 +! Xft.dpi: 150 + +*autohint: 0 +*lcdfilter: lcddefault +*hintstyle: hintfull +*hinting: 1 +*antialias: 1 +*rgba: rgb + +URxvt.font: xft:DejaVu Sans Mono:size=14 +URxvt.boldFont: xft:DejaVu Sans Mono:size=14:style=Bold +URxvt.italicFont: xft:DejaVu Sans Mono:size=14:style=Oblique +URxvt.boldItalicFont: xft:DejaVu Sans Mono:size=14:style=Bold Oblique +URxvt.letterSpace: -2 +URxvt.buffered: false + +Konsole.font: xft:DejaVu Sans Mono:size=14 +Konsole.boldFont: xft:DejaVu Sans Mono:size=14:style=Bold +Konsole.italicFont: xft:DejaVu Sans Mono:size=14:style=Oblique +Konsole.boldItalicFont: xft:DejaVu Sans Mono:size=14:style=Bold Oblique +Konsole.letterSpace: -2 +Konsole.buffered: false diff --git a/Xresources/theme/custom b/Xresources/theme/custom new file mode 100644 index 0000000..eb23ac9 --- /dev/null +++ b/Xresources/theme/custom @@ -0,0 +1,36 @@ +! special +*.foreground: #c5c8c6 +*.background: #1d1f21 +*.cursorColor: #c5c8c6 + +! black +*.color0: #282a2e +*.color8: #373b41 + +! red +*.color1: #a54242 +*.color9: #cc6666 + +! green +*.color2: #8c9440 +*.color10: #b5bd68 + +! yellow +*.color3: #de935f +*.color11: #f0c674 + +! blue +*.color4: #5f819d +*.color12: #81a2be + +! magenta +*.color5: #85678f +*.color13: #b294bb + +! cyan +*.color6: #5e8d87 +*.color14: #8abeb7 + +! white +*.color7: #707880 +*.color15: #c5c8c6 diff --git a/Xresources/theme/monokai-dark b/Xresources/theme/monokai-dark new file mode 100644 index 0000000..7cf960b --- /dev/null +++ b/Xresources/theme/monokai-dark @@ -0,0 +1,36 @@ +! special +*.foreground: #f8f8f2 +*.background: #272822 +*.cursorColor: #f8f8f2 + +! black +*.color0: #272822 +*.color8: #75715e + +! red +*.color1: #f92672 +*.color9: #f92672 + +! green +*.color2: #a6e22e +*.color10: #a6e22e + +! yellow +*.color3: #f4bf75 +*.color11: #f4bf75 + +! blue +*.color4: #66d9ef +*.color12: #66d9ef + +! magenta +*.color5: #ae81ff +*.color13: #ae81ff + +! cyan +*.color6: #a1efe4 +*.color14: #a1efe4 + +! white +*.color7: #f8f8f2 +*.color15: #f9f8f5 diff --git a/Xresources/theme/solarized-dark b/Xresources/theme/solarized-dark new file mode 100644 index 0000000..6db1ab8 --- /dev/null +++ b/Xresources/theme/solarized-dark @@ -0,0 +1,56 @@ +#define S_base03 #002b36 +#define S_base02 #073642 +#define S_base01 #586e75 +#define S_base00 #657b83 +#define S_base0 #839496 +#define S_base1 #93a1a1 +#define S_base2 #eee8d5 +#define S_base3 #fdf6e3 + +*background: S_base03 +*foreground: S_base0 +*fadeColor: S_base03 +*cursorColor: S_base1 +*pointerColorBackground:S_base01 +*pointerColorForeground:S_base1 + +#define S_yellow #b58900 +#define S_orange #cb4b16 +#define S_red #dc322f +#define S_magenta #d33682 +#define S_violet #6c71c4 +#define S_blue #268bd2 +#define S_cyan #2aa198 +#define S_green #859900 + +!! black dark/light +*color0: S_base02 +*color8: S_base03 + +!! red dark/light +*color1: S_red +*color9: S_orange + +!! green dark/light +*color2: S_green +*color10: S_base01 + +!! yellow dark/light +*color3: S_yellow +*color11: S_base00 + +!! blue dark/light +*color4: S_blue +*color12: S_base0 + +!! magenta dark/light +*color5: S_magenta +*color13: S_violet + +!! cyan dark/light +*color6: S_cyan +*color14: S_base1 + +!! white dark/light +*color7: S_base2 +*color15: S_base3 diff --git a/Xresources/theme/solarized-light b/Xresources/theme/solarized-light new file mode 100644 index 0000000..75f4497 --- /dev/null +++ b/Xresources/theme/solarized-light @@ -0,0 +1,56 @@ +#define S_base03 #002b36 +#define S_base02 #073642 +#define S_base01 #586e75 +#define S_base00 #657b83 +#define S_base0 #839496 +#define S_base1 #93a1a1 +#define S_base2 #eee8d5 +#define S_base3 #fdf6e3 + +*background: S_base3 +*foreground: S_base00 +*fadeColor: S_base3 +*cursorColor: S_base01 +*pointerColorBackground:S_base1 +*pointerColorForeground:S_base01 + +#define S_yellow #b58900 +#define S_orange #cb4b16 +#define S_red #dc322f +#define S_magenta #d33682 +#define S_violet #6c71c4 +#define S_blue #268bd2 +#define S_cyan #2aa198 +#define S_green #859900 + +!! black dark/light +*color0: S_base02 +*color8: S_base03 + +!! red dark/light +*color1: S_red +*color9: S_orange + +!! green dark/light +*color2: S_green +*color10: S_base01 + +!! yellow dark/light +*color3: S_yellow +*color11: S_base00 + +!! blue dark/light +*color4: S_blue +*color12: S_base0 + +!! magenta dark/light +*color5: S_magenta +*color13: S_violet + +!! cyan dark/light +*color6: S_cyan +*color14: S_base1 + +!! white dark/light +*color7: S_base2 +*color15: S_base3 diff --git a/Xresources/urxvt b/Xresources/urxvt new file mode 100644 index 0000000..acb6e9e --- /dev/null +++ b/Xresources/urxvt @@ -0,0 +1,22 @@ +! Disable scrolling +URxvt.scrollBar: false + +! Allow clicking URLs +URxvt.perl-ext-common: default,matcher,new-window,selection-to-clipboard,close-prevent +URxvt.url-launcher: sensible-browser +URxvt.matcher.button: 1 + +! This allows applications to set the window title. +URxvt.insecure: true + +URxvt.keysym.C-N: perl:new-window +URxvt.keysym.Shift-Up: command:\033]720;1\007 +URxvt.keysym.Shift-Down: command:\033]721;1\007 +URxvt.keysym.Shift-Control-V: eval:paste_clipboard +URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard + +URxvt.saveLines: 65535 + +URxvt*scrollTtyOutput: false +URxvt*scrollWithBuffer: true +URxvt*scrollTtyKeypress: true diff --git a/i3blocks.config b/i3blocks.config index 160aae8..5b19fcb 100644 --- a/i3blocks.config +++ b/i3blocks.config @@ -60,10 +60,10 @@ interval=30 # The directory defaults to $HOME if the instance is not specified. # The script may be called with a optional argument to set the alert # (defaults to 10 for 10%). -[disk] -label=HOME -#instance=/mnt/data -interval=30 +# [disk] +# label=HOME +# #instance=/mnt/data +# interval=30 # Network interface monitoring # @@ -80,9 +80,9 @@ separator=false interval=10 separator=false -[bandwidth] -#instance=eth0 -interval=5 +# [bandwidth] +# #instance=eth0 +# interval=5 # CPU usage # diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..2ebc160 --- /dev/null +++ b/install.sh @@ -0,0 +1,17 @@ +#!/usr/bin/bash +# Untested!! + +ln -s ~/.emacs.d ~/.conf/emacs + +tee ~/.xinitrc << EOF +#!/usr/bin/env bash + +setxkbmap -option grp:win_space_toggle -layout us,dk +xrdb -merge ~/.Xresources +EOF + +tee ~/.Xresources << EOF +#include ".config/Xresources/general" +#include ".config/Xresources/urxvt" +#include ".config/Xresources/theme/monokai-dark +EOF