From d7a389615ac45b5126cc13616e9cdb6bc0807e6c Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 25 Oct 2024 22:40:09 -0400 Subject: dwm -> exwm --- .config/guix/modules/xorg.scm | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) (limited to '.config/guix/modules/xorg.scm') diff --git a/.config/guix/modules/xorg.scm b/.config/guix/modules/xorg.scm index 11a2e35..52ebf8b 100644 --- a/.config/guix/modules/xorg.scm +++ b/.config/guix/modules/xorg.scm @@ -93,6 +93,12 @@ add mod2 = Num_Lock add mod3 = Hyper_L add mod4 = Super_L Super_R add mod5 = Mode_switch ISO_Level3_Shift +")) + (".Xresources" + ,(plain-file "Xresources" " +Nsxiv.window.background: #000000 +Nsxiv.window.foreground: #FFFFFF +Nsxiv.bar.font: Terminus:size=9 ")) (".xinitrc" ,(plain-file "xinitrc" " @@ -100,21 +106,9 @@ add mod5 = Mode_switch ISO_Level3_Shift userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap -sysresources=/etc/X11/xinit/.Xresources -sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps -if [ -f $sysresources ]; then - - xrdb -merge $sysresources - -fi - -if [ -f $sysmodmap ]; then - xmodmap $sysmodmap -fi - if [ -f \"$userresources\" ]; then xrdb -merge \"$userresources\" @@ -125,18 +119,10 @@ if [ -f \"$usermodmap\" ]; then xmodmap \"$usermodmap\" fi -# start some programs -if [ -d /etc/X11/xinit/xinitrc.d ] ; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do - [ -x \"$f\" ] && . \"$f\" - done - unset f -fi - picom & -dwmstatus & +# dwmstatus & eval \"$(ssh-agent -s)\" -emacs --daemon +# emacs --daemon xss-lock -- slock & set-bg xset r rate 250 70 @@ -144,7 +130,7 @@ xset s 600 touchpad-defaults xrandr-toggle xkeyboard-auto & -exec dwm")) +exec emacs -mm")) (".config/gtk-2.0/settings.ini" ,(plain-file "settings.ini" " [Settings] -- cgit v1.2.3