summaryrefslogtreecommitdiff
path: root/.a/sys/on-wm-session.sh
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-03-28 15:32:05 +0200
committerSyndamia <kamen@syndamia.com>2025-03-28 15:32:05 +0200
commitd5bcd29c7d04b5717080d69c52c03ed1940a7d47 (patch)
tree2b475ec7677ff49cf01b40ce5eb1a1c765434ca8 /.a/sys/on-wm-session.sh
parent21393956461843ede7c7ef85bb816548b3e96737 (diff)
downloaddotfiles-main.tar
dotfiles-main.tar.gz
dotfiles-main.zip
feat: Update on-wm-sessionHEADmain
Diffstat (limited to '.a/sys/on-wm-session.sh')
-rwxr-xr-x.a/sys/on-wm-session.sh15
1 files changed, 3 insertions, 12 deletions
diff --git a/.a/sys/on-wm-session.sh b/.a/sys/on-wm-session.sh
index 5c8447a..01ab59b 100755
--- a/.a/sys/on-wm-session.sh
+++ b/.a/sys/on-wm-session.sh
@@ -2,21 +2,16 @@
device="desktop"
-# xhost +si:localuser:root # fixes unable to open display errors: https://askubuntu.com/a/1130413
+#[ $device = "desktop" ] && xrandr --output HDMI-A-0 --mode 1920x1080 --rate 100 --primary
+
+xhost +local:
~/.fehbg & # wallpaper
# lead & # hot corners, this is MageJohn's fork: https://github.com/MageJohn/lead
xcape -e 'Super_L=Super_L|P' & # used for the "windows" menu
-sleep 1 && /usr/libexec/polkit-gnome-authentication-agent-1 &
rm -rf ~/.tmp/*
-dunst & # notification daemon
-lxpolkit & # polkit
-xautolock -detectsleep -secure -time 15 -locker ~/.a/sys/lock.sh & # auto lock screen
tint2 & # taskbar
picom & # compositor
-setxkbmap -layout "us,bg-custom" -option "grp:alt_shift_toggle,lv3:switch,caps:escape" -v & # keyboard switching
-sxhkd -c "$HOME/.sxhkdrc" &
-gentoo-pipewire-launcher &
if [[ $device == "desktop" ]]; then
xset m 1 1 # disable mouse acceleration (not a very proper way to do it, I know)
@@ -31,7 +26,6 @@ fi
pnmixer & # volume applet
nm-applet & # network applet
~/.a/dunst-toggler-applet.sh & # notification toggler
-devilspie2 & # updates windows icons to the ones form the current theme
flameshot & # screenshot utility
redshift-gtk & # screen color temperature changer
@@ -39,7 +33,4 @@ copyq & # clipboard manager
barrier & # share mouse and keyboard between devices
nextcloud & # cloud/source control
-# electron-mail &
-# gtk-launch discord &
firefox-bin &
-claws-mail &