Add Xresources theming for UXrvt terminal emulator

This commit is contained in:
Marty Oehme 2019-02-17 16:15:30 +01:00
parent 4a62a3a275
commit e6274516f6
3 changed files with 85 additions and 0 deletions

14
.Xresources Normal file
View file

@ -0,0 +1,14 @@
! ~/.Xresources
! Setting up commonly changed vars
#define myfontsize 11
#define myfont Fira Code
#define mybg Black
#define myfg White
! Set up URxvt
#include ".xres/urxvt"
! Add Nord theme to every terminal emulator respecting Xresources
#include ".xres/nord.Xresources"

48
.xres/nord.Xresources Normal file
View file

@ -0,0 +1,48 @@
! +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! title Nord XResources +
! project nord-xresources +
! version 0.1.0 +
! repository https://github.com/arcticicestudio/nord-xresources +
! author Arctic Ice Studio +
! email development@arcticicestudio.com +
! copyright Copyright (C) 2016 +
! +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#define nord0 #2E3440
#define nord1 #3B4252
#define nord2 #434C5E
#define nord3 #4C566A
#define nord4 #D8DEE9
#define nord5 #E5E9F0
#define nord6 #ECEFF4
#define nord7 #8FBCBB
#define nord8 #88C0D0
#define nord9 #81A1C1
#define nord10 #5E81AC
#define nord11 #BF616A
#define nord12 #D08770
#define nord13 #EBCB8B
#define nord14 #A3BE8C
#define nord15 #B48EAD
*.foreground: nord4
*.background: nord0
*.cursorColor: nord4
*fading: 0
*fadeColor: nord3
*.color0: nord1
*.color1: nord11
*.color2: nord14
*.color3: nord13
*.color4: nord9
*.color5: nord15
*.color6: nord8
*.color7: nord5
*.color8: nord3
*.color9: nord11
*.color10: nord14
*.color11: nord13
*.color12: nord9
*.color13: nord15
*.color14: nord7
*.color15: nord6

23
.xres/urxvt Normal file
View file

@ -0,0 +1,23 @@
!Font
URxvt.font: xft:myfont:size=myfontsize,style=medium
URxvt.boldFont: xft:myfont:size=myfontsize,style=bold
URxvt.italicFont: xft:myfont:size=myfontsize,style=italic
URxvt.boldItalicFont: xft:myfont:size=myfontsize,style=bold,italic
!UI
URxvt.scrollBar: false
URxvt.borderless: true
URxvt.saveLines: 20000
URxvt.dynamicColors: true
URxvt.fading: 25
!Sane utility defaults
URxvt.loginShell: true
URxvt.scrollTtyKeypress: true
URxvt.scrollTtyOutput: false
URxvt.scrollWithBuffer: false
URxvt.skipScroll: true