! #include "/home/max/.config/base16-xresources/xresources/base16-tomorrow-night.Xresources"
! #include "/home/max/.config/base16-xresources/xresources/base16-google-light.Xresources"
#include "/home/max/.config/base16-xresources/xresources/base16-tomorrow.Xresources"

urxvt.scrollBar: false
urxvt.background: base00
urxvt.color0: base00
urxvt.color1: base00
urxvt.color2: base00
urxvt.color3: base00
urxvt.color4: base00
urxvt.color5: base00
urxvt.color6: base00
urxvt.color7: base00
urxvt.color8: base00
urxvt.color9: base00

! *Dialog.foreground:		foreground
! *Dialog.background:		base00
! *Dialog.Button.foreground:	base05
! *Dialog.Button.background:	base00
! !*Dialog.Button.pointBackground: #EAEAEA
! !*Dialog.Button.clickBackground: #C3C3C3
! *Dialog.text.foreground:	base02
! *Dialog.text.background:	base00
! *Dialog.topShadowColor:		base03
! *Dialog.bottomShadowColor:	base04

xscreensaver.logFile:/home/max/xscreensaver.log
xscreensaver.verbose:true
*.newLoginCommand:       xset dpms force off

Xft.antialias: true
Xft.lcdfilter: lcddefault
Xft.hinting:   true
Xft.rgba:      rgb
Xft.hintstyle: hintfull
Xft.dpi:       96

!*passwd.passwdFont:		*-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
!*passwd.passwdFont:		

!*font:			-*-clean-medium-r-*--12-*-*-*-*-*-*-*
!*font:			xft:Bitstream Vera Sans Mono-8
!*font:		*-dejavu sans-bold-r-*-*-*-*-*-*-*-*-*-*
!*font:		*-monospace-bold-r-*-*-*-*-*-*-*-*-*-*
!*.font: xft:monaco:bold:size=8
!*.font: xft:RobotoMono Nerd Font:bold:size=10
*.passwdFont: xft:monospace
*.font: xft:monospace


xscreensaver.overlayTextForeground:	#FFFF00
xscreensaver.overlayTextBackground:	#000000


*passwd.thermometer.foreground:	#FF0000
*passwd.thermometer.background:	#FFFFFF

*passwd.heading.label:		XScreenSaver %s
*passwd.body.label:		This screen is fucked.
*passwd.unlock.label:		unfuck
*passwd.login.label:		dpms: off
*passwd.user.label:		User:
*passwd.thermometer.width:	12
*passwd.asterisks:              True
*passwd.uname:                  False


XLock*mode: image
*image.bitmap: /home/max/.lock.xpm
*image.count: 1
*image.erasedelay: 0
XLock*erasedelay: 0
XLock*icongeometry: 180x180
! XLock*background: background
! XLock*foreground: foreground
XLock*description: off
XLock*info:




! ---=== Experiment with making Motif less ugly for DDD ===---
! (DDD ignores generically-set Motif properties so we must do this)
! TODO (if possible):
!  - Hide text cursors in unfocused fields
!  - Convert on-hover effect from shadow to background color or border
!  - Pick better fonts and check which package provides them

! Use the lighter background grey from the Lubuntu GTK+ theme
! (Still a cool grey. Eyedropper the Clearlooks warm grey if necessary.)
Ddd*background: #e0e0e0

! These had no effect on my system but, from what I read, they help on
! some systems.
Ddd*enableThinThickness: True
Ddd*enableEtchedInMenu: True
Ddd*enableToggleColor: True
Ddd*enableToggleVisual: True

! Use pure white for white backgrounds like modern widget themes and websites
Ddd*XmText.background:         #ffffff
Ddd*XmTextField.background:    #ffffff
Ddd*XmList.background:         #ffffff
Ddd*GraphEdit.background:      #ffffff

! Thick borders and shadows everywhere are archaic
Ddd*shadowThickness: 1
Ddd*borderThickness: 0
Ddd*?*arg*shadowThickness: 1
Ddd*?*arg*borderThickness: 0
Ddd*?*buttons*shadowThickness: 1
Ddd*?*buttons*borderThickness: 0

! Un-cramp the menubar, menus, and toolbar to match modern compact sizing
Ddd*menubar*marginTop: 1
Ddd*menubar*marginBottom: 0
Ddd*XmMenuShell*marginTop: 2
Ddd*XmMenuShell*marginBottom: 2
Ddd*XmMenuShell.?.marginWidth: 2
Ddd*XmMenuShell.?.marginHeight: 2
Ddd*toolbar*marginWidth: 5

! Compact the menu tear-off buttons
Ddd*XmMenuShell*XmTearOffButton*borderWidth: 0
Ddd*XmMenuShell*XmTearOffButton*marginHeight: 0

! DDD's interpretation of a "toggle button" shouldn't have a raised border
Ddd*XmToggleButton*shadowThickness: 0
Ddd*XmToggleButton*borderThickness: 0

! The menu bar should not have a raised border
Ddd*menubar.shadowThickness: 0
Ddd*menubar.borderThickness: 0
Ddd*XmMenuShell*XmTearOffButton*ShadowThickness: 2

! ...and we do not want a border around the toolbar to make that stand out
Ddd*main_window.?.borderThickness: 0
Ddd*main_window.shadowThickness: 0

! Drop-down boxes in toolbars do not have raised borders these days
Ddd*toolbar.shadowThickness:        0
Ddd*toolbar.?.shadowThickness:      1

! DDD can sometimes get its GDB settings fatally messed up so duplicate
! GUI-exposed integration defaults here for when I want to nuke ~/.ddd/init
Ddd*cutCopyPasteBindings: KDE
Ddd*selectAllBindings: KDE
Ddd*buttonColorKey: c
Ddd*FlatButtons: on


! Good Xaw3d Defaults*customization:           -color
*shadowWidth:             3
*Form.background:         gray75
*MenuButton.background:   gray75
*SimpleMenu.background:   gray70
*TransientShell*Dialog.background: gray70
*Command.background:      gray75
*Label.background:        gray75
*ScrollbarBackground:     grey39
*Scrollbar*background:    gray75
*Scrollbar*width:         15
*Scrollbar*height:        15
*Scrollbar*shadowWidth:   2
*Scrollbar*cursorName:    top_left_arrow
*Scrollbar*pushThumb:     false
*shapeStyle:              Rectangle
*beNiceToColormap:        False
*SmeBSB*shadowWidth:      3
*highlightThickness:      0
*topShadowContrast:       40
*bottomShadowContrast:    60
! fix up a few of the default X clients who
! now look silly
*xclock*shadowWidth:      0
*xload*shadowWidth:       0
*xcalc*shadowWidth:       0


XTerm.vt100.faceName: Monospace:antialias=true
XTerm.vt100.faceSize: 12
! XTerm.vt100.font: 7x14
XTerm.vt100.locale: true
XTerm.vt100.utf8Title: true


! keepassx colourscheme
keepassx*background:   #cfcfcf
keepassx*foreground:   #222222
keepassx2*background:  #cfcfcf
keepassx2*foreground:  #222222