summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.xinitrc16
-rwxr-xr-xdwm/autostart_blocking_otg.sh4
-rwxr-xr-xdwm/autostart_otg.sh3
3 files changed, 7 insertions, 16 deletions
diff --git a/.xinitrc b/.xinitrc
index 7876b9a..466cc03 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -5,18 +5,10 @@ setxkbmap gb # Set keyboard to gb layout
export SHELL=/bin/zsh # Set shell to zsh
# wmname LG3D & # For getting Java applications, e.g. Pycharm, Rider to work.
-# Daemons etc.
-mpd
-
-# Programs for creating desktop
-picom & # Compositor
-
-
# Launch the Window Manager with a Parameter
session=${1:-dwm}
run_dwm() {
- # /usr/bin/prime-offload # For optimus-manager, nvidia
# Run all applications that go hand in hand w/ dwm
# dwmblocks &
@@ -31,18 +23,10 @@ run_dwm() {
dwm # Begin dwm wrapper
done
-
- # sudo /usr/bin/prime-switch
-}
-
-run_kde() {
- export DESKTOP_SESSION=plasma
- startplasma-x11
}
case $session in
i3|i3wm ) exec i3;;
- kde ) export DESKTOP_SESSION=plasma ; exec startplasma-x11;;
dwm ) run_dwm ;;
# No known session, try to run it as command
esac
diff --git a/dwm/autostart_blocking_otg.sh b/dwm/autostart_blocking_otg.sh
new file mode 100755
index 0000000..90776f3
--- /dev/null
+++ b/dwm/autostart_blocking_otg.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# TODO: make this random bg
+feh --bg-scale ~/bgs/evening-sun-over-rice-paddies.jpg
diff --git a/dwm/autostart_otg.sh b/dwm/autostart_otg.sh
new file mode 100755
index 0000000..13b9bb0
--- /dev/null
+++ b/dwm/autostart_otg.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+picom