From e2946c6a70c4aa53ce110c61e17062043a9afbd5 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Sun, 14 Jun 2026 09:01:54 -0700 Subject: x startup cleanup, move some stuff to openrc --- config/Xdefaults | 179 +++++++++++++++++++++---------------------------------- config/xinitrc | 15 ++--- 2 files changed, 76 insertions(+), 118 deletions(-) diff --git a/config/Xdefaults b/config/Xdefaults index 8ba8341..d9b6ef6 100644 --- a/config/Xdefaults +++ b/config/Xdefaults @@ -1,111 +1,68 @@ -! Selenized dark color palette for xterm. -xterm*background: rgb:10/3c/48 -xterm*foreground: rgb:ad/bc/bc -! normal colors: "black", red, green, yellow, blue, magenta, cyan, "white" -xterm*color0: rgb:18/49/56 -xterm*color1: rgb:fa/57/50 -xterm*color2: rgb:75/b9/38 -xterm*color3: rgb:db/b3/2d -xterm*color4: rgb:46/95/f7 -xterm*color5: rgb:f2/75/be -xterm*color6: rgb:41/c7/b9 -xterm*color7: rgb:72/89/8f -! bright/bold versions of colors (in the same order) -xterm*color8: rgb:2d/5b/69 -xterm*color9: rgb:ff/66/5c -xterm*color10: rgb:84/c7/47 -xterm*color11: rgb:eb/c1/3d -xterm*color12: rgb:58/a3/ff -xterm*color13: rgb:ff/84/cd -xterm*color14: rgb:53/d6/c7 -xterm*color15: rgb:ca/d8/d9 - - - - - -!------------------------------------------------------------------------------- -! Xft settings -!------------------------------------------------------------------------------- -Xft.dpi: 96 -Xft.antialias: false -Xft.rgba: rgb -Xft.hinting: true -Xft.hintstyle: hintslight -!------------------------------------------------------------------------------- -! URxvt settings -! Colours lifted from Solarized (http://ethanschoonover.com/solarized) -! More info at: -! http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.1.pod -!------------------------------------------------------------------------------- -URxvt.depth: 32 -URxvt.geometry: 90x30 -URxvt.transparent: false -URxvt.fading: 0 -! URxvt.urgentOnBell: true -! URxvt.visualBell: true -URxvt.loginShell: true -URxvt.saveLines: 5000 -URxvt.internalBorder: 3 -URxvt.lineSpace: 0 -! Fonts -URxvt.allow_bold: false -/* URxvt.font: -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1 */ -URxvt*font: xft:Monospace:pixelsize=14 -URxvt*boldFont: xft:Monospace:pixelsize=14 -! Fix font space -URxvt*letterSpace: -1 -! Scrollbar -URxvt.scrollStyle: rxvt -URxvt.scrollBar: false -! Perl extensions -! URxvt.perl-ext-common: default,matcher -! URxvt.matcher.button: 1 -! URxvt.urlLauncher: firefox -! Cursor -URxvt.cursorBlink: true -URxvt.cursorColor: #657b83 -URxvt.cursorUnderline: false -! Pointer -URxvt.pointerBlank: true -!!Source http://github.com/altercation/solarized - -*background: #002b36 -*foreground: #657b83 -!!*fading: 40 -*fadeColor: #002b36 -*cursorColor: #93a1a1 -*pointerColorBackground: #586e75 -*pointerColorForeground: #93a1a1 - -!! black dark/light -*color0: #073642 -*color8: #002b36 - -!! red dark/light -*color1: #dc322f -*color9: #cb4b16 - -!! green dark/light -*color2: #859900 -*color10: #586e75 - -!! yellow dark/light -*color3: #b58900 -*color11: #657b83 - -!! blue dark/light -*color4: #268bd2 -*color12: #839496 - -!! magenta dark/light -*color5: #d33682 -*color13: #6c71c4 - -!! cyan dark/light -*color6: #2aa198 -*color14: #93a1a1 - -!! white dark/light -*color7: #eee8d5 -*color15: #fdf6e3 +xterm*color7: rgb:72/89/8f +xterm*color5: rgb:f2/75/be +xterm*color13: rgb:ff/84/cd +xterm*color3: rgb:db/b3/2d +xterm*color9: rgb:ff/66/5c +xterm*color2: rgb:75/b9/38 +xterm*color14: rgb:53/d6/c7 +xterm*foreground: rgb:ad/bc/bc +xterm*color1: rgb:fa/57/50 +xterm*color12: rgb:58/a3/ff +xterm*background: rgb:10/3c/48 +xterm*color15: rgb:ca/d8/d9 +xterm*color10: rgb:84/c7/47 +xterm*color4: rgb:46/95/f7 +xterm*color11: rgb:eb/c1/3d +xterm*color8: rgb:2d/5b/69 +xterm*color0: rgb:18/49/56 +xterm*color6: rgb:41/c7/b9 +URxvt.scrollBar: false +URxvt*letterSpace: -1 +URxvt.loginShell: true +URxvt.depth: 32 +URxvt.cursorColor: #657b83 +URxvt.internalBorder: 3 +URxvt.pointerBlank: true +URxvt.fading: 0 +URxvt.transparent: false +URxvt.allow_bold: false +URxvt*font: xft:Monospace:pixelsize=14 +URxvt*boldFont: xft:Monospace:pixelsize=14 +URxvt.scrollStyle: rxvt +URxvt.cursorBlink: true +URxvt.cursorUnderline: false +URxvt.saveLines: 5000 +URxvt.lineSpace: 0 +URxvt.geometry: 90x30 +Xft.dpi: 96 +Xft.rgba: rgb +Xft.hintstyle: hintslight +Xft.antialias: false +Xft.hinting: true +xrenoise.use_xcursors: 1 +xrenoise.display: :0 +xrenoise.display_resource: 0x00,0x09,0x39,0x0F,0x0A,0xA4,0x0B,0x4D +xrenoise.executable_path: /usr/bin/renoise +/* URxvt.font: -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1 */ +*color7: #eee8d5 +*color5: #d33682 +*pointerColorBackground: #586e75 +*color13: #6c71c4 +*cursorColor: #93a1a1 +*color3: #b58900 +*color9: #cb4b16 +*color2: #859900 +*color14: #93a1a1 +*foreground: #657b83 +*color1: #dc322f +*color12: #839496 +*background: #002b36 +*color15: #fdf6e3 +*color10: #586e75 +*pointerColorForeground: #93a1a1 +*color11: #657b83 +*color4: #268bd2 +*color0: #073642 +*color6: #2aa198 +*fadeColor: #002b36 +*color8: #002b36 diff --git a/config/xinitrc b/config/xinitrc index 2dd241e..ef8f797 100644 --- a/config/xinitrc +++ b/config/xinitrc @@ -6,16 +6,17 @@ then xset s off xset -dpms fi -setxkbmap -layout us,us -variant ,colemak -option grp:rctrl_toggle -option caps:escape +fixkeys + +#if [[ $(uname -a) == *"gentoo"* ]]; then +# AUDIO="gentoo-pipewire-launcher restart & disown" +#else +# AUDIO="pulseaudio -k; pulseaudio -D" +#fi -if [[ $(uname -a) == *"gentoo"* ]]; then - AUDIO="gentoo-pipewire-launcher restart & disown" -else - AUDIO="pulseaudio -k; pulseaudio -D" -fi ~/.fehbg & slstatus & unclutter --timeout 3 & WM=${2:-dwm} -exec dbus-launch --exit-with-session bash -c "${AUDIO}; exec ${WM}" +exec ${WM} -- cgit v1.2.3