From 95cf31730429befc822af5159adad50e4bc6b007 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Mon, 9 May 2016 17:50:17 +1200 Subject: [PATCH] Updated sway config & added Xresources for urxvt --- sway/README.md | 5 ++++- sway/Xresources | 21 +++++++++++++++++++++ sway/sway.config | 8 ++++++-- 3 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 sway/Xresources diff --git a/sway/README.md b/sway/README.md index 0f56ded..2d7ef8f 100644 --- a/sway/README.md +++ b/sway/README.md @@ -7,6 +7,7 @@ * sway * i3status * ttf-font-icons +* rxvt-unicode ## Setup @@ -14,6 +15,8 @@ ``ln -s ~/.dotfiles/sway/sway.config ~/.config/sway/config`` -``ln -s ~/dotfiles/sway.i3status.config ~/.config/i3status/config`` +``ln -s ~/.dotfiles/sway/i3status.config ~/.config/i3status/config`` + +``ln -s ~/.dotfiles/sway/Xresources ~/.Xresources`` [1]: https://github.com/SirCmpwn/sway diff --git a/sway/Xresources b/sway/Xresources new file mode 100644 index 0000000..059963e --- /dev/null +++ b/sway/Xresources @@ -0,0 +1,21 @@ +URxvt*scrollBar_right: true +URxvt*font: xft:DejaVu Sans Mono:size=10:antialias=true:hinting=true + +URxvt*background: #272822 +URxvt*foreground: #f8f8f2 +URxvt*color0: #272822 +URxvt*color1: #f92672 +URxvt*color2: #a6e22e +URxvt*color3: #f4bf75 +URxvt*color4: #66d9ef +URxvt*color5: #ae81ff +URxvt*color6: #a1efe4 +URxvt*color7: #f8f8f2 +URxvt*color8: #75715e +URxvt*color9: #f92672 +URxvt*color10: #a6e22e +URxvt*color11: #f4bf75 +URxvt*color12: #66d9ef +URxvt*color13: #ae81ff +URxvt*color14: #a1efe4 +URxvt*color15: #f9f8f5 diff --git a/sway/sway.config b/sway/sway.config index 91ca729..abdeb78 100644 --- a/sway/sway.config +++ b/sway/sway.config @@ -11,7 +11,7 @@ # Logo key. Use Mod1 for Alt. set $mod Mod4 # Your preferred terminal emulator -set $term urxvt +set $term urxvtc # Your preferred application launcher set $menu dmenu_run @@ -150,7 +150,7 @@ bar { position top colors { statusline #ffffff - background #323232 + background #272822 inactive_workspace #32323200 #32323200 #5c5c5c } } @@ -164,4 +164,8 @@ bar { # # include ~/.config/sway/`hostname`/* +# urxvt colours + daemon [use urxvtc as term] +#https://wiki.archlinux.org/index.php/rxvt-unicode +#https://kmandla.wordpress.com/2009/08/25/reducing-memory-use-with-urxvtd-and-urxvtc/ exec xrdb ~/.Xresources +exec urxvtd -q -o -f