Add some Emacs settings
These settings were inspired by this Emacs config: https://github.com/wasamasa/dotemacs/blob/master/init.org Some existed already, but this was an opportune time to follow the instructions on the r/unixporn wiki to split your Xresources and to use variables: https://www.reddit.com/r/unixporn/wiki/organizing_xresources
This commit is contained in:
parent
39e3977cea
commit
7bbed85972
2 changed files with 36 additions and 4 deletions
|
@ -1,3 +1,6 @@
|
|||
#define backgroundColor #111111
|
||||
#define foregroundColor #bfbfbf
|
||||
|
||||
urxvt.internalBorder: 0
|
||||
|
||||
urxvt.loginShell: true
|
||||
|
@ -68,13 +71,11 @@ Xft.rgba: rgb
|
|||
Xft.hinting: true
|
||||
Xft.hintstyle: hintslight
|
||||
|
||||
#include ".config/Xresources/Emacs.conf"
|
||||
|
||||
! Emacs.font: DejaVu Sans Mono:weight=medium:pixelsize=18
|
||||
Emacs.menuBar: off
|
||||
Emacs.toolbar: off
|
||||
Emacs.useXIM: off
|
||||
Emacs.background: #111113
|
||||
Emacs.borderWidth: 0
|
||||
Emacs.font: Fantasque Sans Mono-13
|
||||
Emacs.foreground: #eeeeec
|
||||
Emacs.internalBorder: 0
|
||||
Emacs.paneFont: Fantasque Sans Mono-13
|
||||
|
|
31
x11/.config/Xresources/Emacs.conf
Normal file
31
x11/.config/Xresources/Emacs.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
!! If I talk like Data in this file, that is because Xresources do not
|
||||
!! allow all characters to appear in comments.
|
||||
|
||||
!! All of these settings were inspired by the Emacs configuration of
|
||||
!! Vasilij Schneidermann:
|
||||
!! https://github.com/wasamasa/dotemacs/blob/master/init.org
|
||||
|
||||
! These UI elements are useful when working with the mouse. I do not,
|
||||
! so they are not all that useful to me.
|
||||
Emacs.menuBar: off
|
||||
Emacs.toolBar: off
|
||||
Emacs.verticalScrollBars: off
|
||||
|
||||
! Blinking cursors are just annoying. In fact, almost anything that
|
||||
! blinks incessantly is rather annoying.
|
||||
Emacs.cursorBlink: off
|
||||
|
||||
! Switching colors from the default background to the one in my Emacs
|
||||
! theme gives me a headache. It is much nicer to have my preferred
|
||||
! color from the start. This color has been defined in my main
|
||||
! .Xdefaults.
|
||||
Emacs.background: backgroundColor
|
||||
|
||||
! These settings do not match the ones in my Emacs theme, but they are
|
||||
! closer to the ones in my SVG mode-line theme.
|
||||
Emacs.mode-line.attributeForeground: foregroundColor
|
||||
Emacs.mode-line.attributeBackground: backgroundColor
|
||||
Emacs.mode-line.attributeBox: unspecified
|
||||
|
||||
! My preferred font.
|
||||
Emacs.font: Fantasque Sans Mono-13
|
Loading…
Reference in a new issue