aboutsummaryrefslogtreecommitdiffstats
path: root/x
diff options
context:
space:
mode:
authorphilw <dscr@duck.com>2024-02-10 20:00:48 +0100
committerphilw <dscr@duck.com>2024-02-10 20:00:48 +0100
commit51573d35e989d45f047b0b34fd9293be459d346b (patch)
treea59277e4b8c841a196de792e507d635a3db14ba2 /x
downloaddotfiles-51573d35e989d45f047b0b34fd9293be459d346b.tar.gz
dotfiles-51573d35e989d45f047b0b34fd9293be459d346b.zip
Update dots
Diffstat (limited to 'x')
-rw-r--r--x/.Xresources28
-rw-r--r--x/.xinitrc33
-rw-r--r--x/.xprofile14
3 files changed, 75 insertions, 0 deletions
diff --git a/x/.Xresources b/x/.Xresources
new file mode 100644
index 0000000..1f301c5
--- /dev/null
+++ b/x/.Xresources
@@ -0,0 +1,28 @@
1st.alpha: 0.8
2st.font: FiraCode-12;
3dmenu.font: FiraCode-11;
4st.termname: st-256color
5st.borderpx: 0
6dwm.borderpx: 0
7dwm.showbar: 0
8dwm.font: FiraCode-12;
9
10 *.color0: #1d2021
11 *.color1: #cc241d
12 *.color2: #98971a
13 *.color3: #d79921
14 *.color4: #458588
15 *.color5: #b16286
16 *.color6: #689d6a
17 *.color7: #a89984
18 *.color8: #928374
19 *.color9: #fb4934
20 *.color10: #b8bb26
21 *.color11: #fabd2f
22 *.color12: #83a598
23 *.color13: #d3869b
24 *.color14: #8ec07c
25 *.color15: #ebdbb2
26 *.background: #282828
27 *.foreground: white
28 *.cursorColor: white
diff --git a/x/.xinitrc b/x/.xinitrc
new file mode 100644
index 0000000..78a943a
--- /dev/null
+++ b/x/.xinitrc
@@ -0,0 +1,33 @@
1#!/bin/sh
2
3userresources=$HOME/.Xresources
4usermodmap=$HOME/.Xmodmap
5sysresources=/etc/X11/xinit/.Xresources
6sysmodmap=/etc/X11/xinit/.Xmodmap
7
8[ -f /etc/xprofile ] && . /etc/xprofile
9[ -f ~/.xprofile ] && . ~/.xprofile
10
11if [ -f $sysresources ]; then
12 xrdb -merge $sysresources
13fi
14
15if [ -f $sysmodmap ]; then
16 xmodmap $sysmodmap
17fi
18
19if [ -f "$userresources" ]; then
20 xrdb -merge "$userresources"
21fi
22
23if [ -f "$usermodmap" ]; then
24 xmodmap "$usermodmap"
25fi
26
27if [ -d /etc/X11/xinit/xinitrc.d ] ; then
28 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
29 [ -x "$f" ] && . "$f"
30 done
31 unset f
32fi
33exec dbus-run-session dwm
diff --git a/x/.xprofile b/x/.xprofile
new file mode 100644
index 0000000..6f80fbd
--- /dev/null
+++ b/x/.xprofile
@@ -0,0 +1,14 @@
1#!/bin/sh
2
3autostart="lxpolkit mpd"
4
5for program in $autostart; do
6 pidof -sx "$program" || "$program" &
7done >/dev/null 2>&1
8
9xrandr --dpi 96
10setxkbmap pl
11wal -i ~/Repositories/rice/wp2062872.jpg &
12picom -b &
13
14[ -n "$xrdbpid" ] && wait "$xrdbpid"