mirror of
https://github.com/morgant/mlvwmrc.git
synced 2025-12-04 17:19:57 +00:00
Added 1995 Apple wristwatch-inspired color analog styles (X resources) for Xclock. This also defines where application-specific X resources will be stored & included (.mlvwm/Xresources/ & .mlvwm/.Xdefaults) and documents this in the README
This commit is contained in:
2
.mlvwm/.Xdefaults
Normal file
2
.mlvwm/.Xdefaults
Normal file
@@ -0,0 +1,2 @@
|
||||
! 1995 Apple Watch color scheme for Xclock (analog)
|
||||
#import ".mlvwm/Xresources/xclock"
|
||||
11
.mlvwm/Xresources/xclock
Normal file
11
.mlvwm/Xresources/xclock
Normal file
@@ -0,0 +1,11 @@
|
||||
! 1995 Apple watch analog styling
|
||||
XClock*render: True
|
||||
XClock*buffer: True
|
||||
XClock*analog: True
|
||||
XClock*update: 1
|
||||
XClock*padding: 20
|
||||
XClock*majorColor: silver
|
||||
XClock*minorColor: snow
|
||||
XClock*hourColor: forestgreen
|
||||
XClock*minuteColor: crimson
|
||||
XClock*secondColor: gold
|
||||
14
README.md
14
README.md
@@ -230,6 +230,7 @@ The current structure is:
|
||||
.mlvwmrc
|
||||
.initrc
|
||||
.restartrc
|
||||
.Xdefaults
|
||||
MenuBar
|
||||
VirtualDesktops
|
||||
theme/
|
||||
@@ -246,6 +247,9 @@ The current structure is:
|
||||
…
|
||||
pixmap/
|
||||
*.xpm
|
||||
Xresources/
|
||||
xclock
|
||||
…
|
||||
bin/
|
||||
mlvwm-alert
|
||||
mlvwm-confirm
|
||||
@@ -266,6 +270,16 @@ Contains an `InitFunction` block which can be modified to run commands upon init
|
||||
|
||||
Contains a `RestartFunction` block which can be modified to run commands upon init or reload of MLVWM.
|
||||
|
||||
### .Xdefaults
|
||||
|
||||
Contains default X(7) resources, mostly `#include` lines which import individual application-specific X resources configurations found in `.mlvwm/Xresources/`. It simplifies the inclusion of all mlvwmrc X resources at once as the user can edit their own `~/.Xdefaults` to append the following line:
|
||||
|
||||
`#import ".mlvwm/.Xdefaults"`
|
||||
|
||||
Alternatively, once can manually merge them with their own configuration by running the following:
|
||||
|
||||
`xrdb -merge "$HOME/.mlvwm/.Xdefaults"`
|
||||
|
||||
### VirtualDesktops
|
||||
|
||||
Contains configuration settings for virtual desktops, incl. the number of virtual desktops (default is 1.)
|
||||
|
||||
Reference in New Issue
Block a user