aboutsummaryrefslogtreecommitdiffstats
path: root/.xprofile
diff options
context:
space:
mode:
Diffstat (limited to '.xprofile')
-rwxr-xr-x.xprofile61
1 files changed, 28 insertions, 33 deletions
diff --git a/.xprofile b/.xprofile
index 837554b..e5c44de 100755
--- a/.xprofile
+++ b/.xprofile
@@ -1,38 +1,33 @@
-#!/bin/zsh
+#!/bin/sh
-# set .zshenv
-[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv
+# touchpad setup
+xinput set-prop "ELAN0718:00 04F3:30FD Touchpad" "libinput Tapping Enabled" 1 &
+xinput set-prop "ELAN0718:00 04F3:30FD Touchpad" "libinput Natural Scrolling Enabled" 1 &
-# makes gnome-keyring work
-# dbus-update-activation-environment --all &
-
-# autostart apps for both xmonad and any other DE
-# emacs --daemon &
-#virtual_mic.sh &
+# mouse setup
+xinput set-prop "pointer:Logitech Wireless Mouse" "libinput Natural Scrolling Enabled" 1 &
-nitrogen --restore &
+# makes gnome-keyring work
+bus-update-activation-environment --all &
-# turn on the red danger light on the side
+# turn on the red danger light on the side of the laptop
# so i know it's turned on without opening the lid
-brightnessctl --device hp::hddprotect set 100%
-
-# autostart apps only for XMonad
-if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
- # screensetup.sh &
-
- # autostart apps
- # picom &
- # dunst &
- # udiskie &
-
- # glava -dm radial &
- # polystart &
- # nm-applet &
- # blueman-applet &
- # flameshot &
-
- while :; do
- xsetroot -name "BAT: $(acpi | awk '{print $4}' | sed s/,//) | $(date '+%Y-%m-%d %H:%M:%S')"
- sleep 1
- done &
-fi
+brightnessctl --device hp::hddprotect set 100% &
+
+# setup stuff
+screensetup.sh &
+switch-keyboard-layout &
+nitrogen --restore & # nitrogen --random Downloads/walls/mocha --set-zoom-fill
+
+picom &
+polydoro -d &
+polystart &
+nm-applet &
+blueman-applet &
+flameshot &
+# udiskie &
+# deadd-notification-center &
+# lxpolkit &
+# emacs --daemon &
+# virtual_mic.sh &
+# glava -dm radial &