You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xresources/Motif

53 lines
1.6 KiB

! ---=== Experiment with making Motif more aesthetic ===---
! - 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
! These had no effect on my system but, from what I read, they help on
! some systems.
!.*enableThinThickness: True
!.*enableEtchedInMenu: True
.*enableToggleColor: True
.*enableToggleVisual: True
! Thick borders and shadows everywhere are archaic
!.*shadowThickness: 1
!.*borderThickness: 0
!.*?*arg*shadowThickness: 1
!.*?*arg*borderThickness: 0
!.*?*buttons*shadowThickness: 1
!.*?*buttons*borderThickness: 0
! Un-cramp the menubar, menus, and toolbar to match modern compact sizing
.*menubar*marginTop: 1
.*menubar*marginBottom: 0
.*XmMenuShell*marginTop: 2
.*XmMenuShell*marginBottom: 2
.*XmMenuShell.?.marginWidth: 2
.*XmMenuShell.?.marginHeight: 2
.*toolbar*marginWidth: 5
! Compact the menu tear-off buttons
.*XmMenuShell*XmTearOffButton*borderWidth: 0
.*XmMenuShell*XmTearOffButton*marginHeight: 0
! The menu bar should not have a raised border
!.*menubar.shadowThickness: 0
!.*menubar.borderThickness: 0
!.*XmMenuShell*XmTearOffButton*ShadowThickness: 2
! ...and we do not want a border around the toolbar to make that stand out
!.*main_window.?.borderThickness: 0
!.*main_window.shadowThickness: 0
! Drop-down boxes in toolbars do not have raised borders these days
!.*toolbar.shadowThickness: 0
!.*toolbar.?.shadowThickness: 1
! Set Motif fonts to a nicer TTF.
.*renderTable: variable
.*renderTable.variable.fontType: FONT_IS_XFT
.*renderTable.variable.fontName: Clear Sans
.*renderTable.variable.fontSize: 13