!---------------------------------------------------------- ! ~/.Xresources ! ! Syntax: ! name.Class.resource: value ! ! References: ! [1] https://wiki.archlinux.org/index.php/X_resources ! Aaron LI ! Created: 2014-05-10 ! Updated: 2017-02-06 !---------------------------------------------------------- !!! xft settings {{{ Xft.dpi: 96 Xft.antialias: true Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintmedium !!! xft settings }}} !!! rxvt-unicode (URxvt) {{{ !! urxvt background true transparent ! set to 32-bit for real transparency (compositing required [see xcompmgr]) ! xdpyinfo | grep Composite URxvt.depth: 32 ! transparent=0000, opaque=ffff URxvt.background: rgba:1111/1111/1111/dddd URxvt.foreground: #f8f8f2 ! !! urxvt font settings URxvt.font: xft:M+ 1mn:pixelsize=16,xft:WenQuanYi Zen Hei:pixelsize=14 !URxvt.font: xft:Terminus:size=12,xft:WenQuanYi Bitmap Song:size=10 !URxvt.font: xft:xos4 Terminus:size=12,xft:WenQuanYi WenQuanYi Bitmap Song:size=10 !URxvt.font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-* URxvt.xftAntialias: true ! !! urxvt settings !URxvt.termName: rxvt-256color !URxvt.title: aly rxvt URxvt.geometry: 92x26 URxvt.cursorBlink: true URxvt.underlineColor: green URxvt.buffered: true URxvt.jumpScroll: false URxvt.secondaryScroll: true URxvt.saveLines: 4000 URxvt.scrollBar: true URxvt.scrollBar_right: true URxvt.scrollstyle: plain URxvt.scrollTtyKeypress: true URxvt.scrollTtyOutput: false ! scroll with scrollback buffer URxvt.scrollWithBuffer: true !URxvt.scrollColor: AntiqueWhite ! !! urxvt keysym ! M: Meta S; Shift C: Control ! Mod4: Win ! \002: Control-B ! \015: Enter ! !! urxvt perl extension settings URxvt.perl-lib: ~/.urxvt/ext/ URxvt.perl-ext-common: default,tabbed,clipboard,keyboard-select,url-select !! tabbed color URxvt.tabbed.tabbar-fg: 5 URxvt.tabbed.tabbar-bg: 0 URxvt.tabbed.tab-fg: 14 URxvt.tabbed.tab-bg: 0 !! copy/paste URxvt.keysym.Mod4-c: perl:clipboard:copy URxvt.keysym.Mod4-v: perl:clipboard:paste URxvt.keysym.Mod4-S-v: perl:clipboard:paste_escaped URxvt.clipboard.copycmd: xclip -i -selection clipboard URxvt.clipboard.pastecmd: xclip -o -selection clipboard !! keyboard-select URxvt.keysym.Mod4-Escape: perl:keyboard-select:activate URxvt.keysym.Mod4-s: perl:keyboard-select:search !! url-select URxvt.keysym.Mod4-u: perl:url-select:select_next URxvt.url-select.underline: true URxvt.url-select.button: 1 URxvt.url-select.launcher: firefox -new-tab ! !! urxvt misc settings !URxvt.loginShell: true URxvt.mapAlert: true URxvt.pointerBlank: true URxvt.urgentOnBell: true URxvt.utmpInhibit: true ! preeditType: OverTheSpot, OffTheSpot, Root URxvt.preeditType: root ! reduce the distance between characters !URxvt.letterSpace: -1 URxvt.inputMethod: fcitx !!! rxvt-unicdoe settings }}} !!! xterm settings {{{ !XTerm.geometry: 80x25 !XTerm.faceName: xft:Dejavu Sans Mono:pixelsize=16:antialias=true XTerm.faceName: xft:Terminus:pixelsize=18 XTerm.dynamicColors: true XTerm.utf8: 2 XTerm.eightBitInput: true XTerm.saveLines: 4000 XTerm.scrollTtyOutput: false XTerm.scrollKey: true XTerm.scrollBar: true XTerm.rightScrollBar: true !XTerm.loginShell: true XTerm.jumpScroll: false XTerm.multiScroll: true XTerm.toolBar: true !!! xterm settings }}} !!! Xcursor {{{ ! Vanilla-DMZ: white ! Vanilla-DMZ-AA: black !Xcursor.theme: Vanilla-DMZ-AA Xcursor.theme: Vanilla-DMZ Xcursor.size: 32 !!! Xcursor }}} !!! xscreensaver settings {{{ !! font settings xscreensaver.Dialog.headingFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-* xscreensaver.Dialog.bodyFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-* xscreensaver.Dialog.labelFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-* xscreensaver.Dialog.unameFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-* xscreensaver.Dialog.buttonFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-* xscreensaver.Dialog.dateFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-* xscreensaver.passwd.passwdFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-* !! general dialog box (affects main hostname, username, password text) xscreensaver.Dialog.foreground: #ffffff xscreensaver.Dialog.background: #111111 xscreensaver.Dialog.topShadowColor: #111111 xscreensaver.Dialog.bottomShadowColor: #111111 xscreensaver.Dialog.Button.foreground: #666666 xscreensaver.Dialog.Button.background: #ffffff !! username/password input box and date text colour xscreensaver.Dialog.text.foreground: #666666 xscreensaver.Dialog.text.background: #ffffff xscreensaver.Dialog.internalBorderWidth: 24 xscreensaver.Dialog.borderWidth: 20 xscreensaver.Dialog.shadowThickness: 2 !! timeout bar (background is actually determined by Dialog.text.background) xscreensaver.passwd.thermometer.foreground: #ff0000 xscreensaver.passwd.thermometer.background: #000000 xscreensaver.passwd.thermometer.width: 8 !! datestamp format - see strftime(3) manual page for details xscreensaver.dateFormat: %I:%M%P %a %b %d, %Y !! preferences xscreensaver.mode: blank xscreensaver.timeout: 0:10:00 xscreensaver.cycle: 0:10:00 xscreensaver.lock: True xscreensaver.lockTimeout: 0:01:00 xscreensaver.passwdTimeout: 0:00:30 xscreensaver.dpmsEnabled: True xscreensaver.dpmsQuickoff: True xscreensaver.dpmsStandby: 0:10:00 xscreensaver.dpmsSuspend: 0:10:00 xscreensaver.dpmsOff: 0:15:00 xscreensaver.fade: True xscreensaver.unfade: False xscreensaver.fadeSeconds: 0:00:03 xscreensaver.fadeTicks: 20 !! user switching from lock screen ! Lightdm: dm-tool switch-to-greeter ! LXDM: lxdm -c USER_SWITCH ! GDM: gdmflexiserver -ls ! KDM: kdmctl reverse xscreensaver.newLoginCommand: dm-tool switch-to-greeter !!! xscreensaver }}} !!! Tcl/Tk {{{ *TkTheme: clam *Text.background: white *Text.selectForeground: white *Text.selectBackground: #4a6984 *Listbox.background: white *Listbox.selectForeground: white *Listbox.selectBackground: #4a6984 *Entry.background: white *Entry.foreground: black *Entry.selectForeground: white *Entry.selectBackground: #4a6984 *Menu.activeBackground: #4a6984 *Menu.activeForeground: white *MenuButton.activeBackground: #4a6984 *MenuButton.activeForeground: white *troughColor: #bdb6ad !!! Tcl/Tk }}} !!! rofi {{{ ! Location on screen ! 1 2 3 ! 8 0 4 ! 7 6 5 rofi.location: 6 ! Window width rofi.width: 100 ! Number of lines rofi.lines: 10 ! Y-offset relative to location rofi.yoffset: -22 ! X-offset relative to location rofi.xoffset: 0 ! Padding rofi.padding: 5 ! Font to use rofi.font: M+ 1mn 11 ! Separator style (none, dash, solid) rofi.separator-style: dash ! Hide scroll-bar rofi.hide-scrollbar: true ! Fake transparency rofi.fake-transparency: true ! Use extended color scheme rofi.color-enabled: true ! Color scheme window rofi.color-window: argb:ee0F3B5F, #CC9752, #CC9752 ! State background fg alt-bg hl-bg hl-fg rofi.color-normal: argb:00111111, #E5DBCF, argb:00111111, #CC9752, #0F3B5F rofi.color-urgent: argb:00111111, #af652f, argb:00111111, #af652f, #0F3B5F rofi.color-active: argb:00111111, #70a16c, argb:00111111, #70a16c, #0F3B5F !!! rofi }}} !! Emacs Emacs.geometry: 86x34 ! vim: set ts=8 sw=4 tw=78 ft=xdefaults: !