diff options
Diffstat (limited to '.config/guix/modules/xorg.scm')
-rw-r--r-- | .config/guix/modules/xorg.scm | 32 |
1 files changed, 9 insertions, 23 deletions
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 @@ -94,27 +94,21 @@ 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" " #!/bin/sh 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] |