summaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-08-25 10:16:10 -0500
committerturret <turret@duck.com>2023-08-25 10:16:10 -0500
commit29328924c0da0344c3d82c7ee37e5494800cac48 (patch)
tree870a3808da5f02793bb2797bf1ac6e28dbe12728 /.xinitrc
parenta355dfaad8495f9edb54f6bda2f211ffb726ae54 (diff)
downloadskel-29328924c0da0344c3d82c7ee37e5494800cac48.tar.gz
skel-29328924c0da0344c3d82c7ee37e5494800cac48.tar.bz2
skel-29328924c0da0344c3d82c7ee37e5494800cac48.zip
add my thinkpad\'s dotfiles
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..b4ffd82
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,13 @@
+export GTK_THEME=Adwaita:dark
+if command -v dbus-launch >/dev/null && test -z "${DBUS_SESSION_BUS_ADDRESS}"; then
+ eval $(dbus-launch --sh-syntax --exit-with-session)
+fi
+# Ensure XDG_RUNTIME_DIR is set
+unset XDG_RUNTIME_DIR
+export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
+gentoo-pipewire-launcher &
+unclutter &
+(while true; do xprop -root -set WM_NAME "VOL:$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d ':' -f 2) | BAT: $(cat /sys/class/power_supply/BAT0/capacity)% | $(date +"%a %D %I:%M:%S %p")"; sleep .5; done) &
+feh --bg-scale /home/turret/.background
+
+exec dwm