1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-28 05:57:45 +01:00

xorg: automatically start desktop portal

This commit is contained in:
tiyn 2024-11-05 22:34:23 +01:00
parent 921daaf1f4
commit ce74787e96

View File

@ -1,13 +1,15 @@
#!/bin/sh
xset r rate 300 50 & # Speed xrate up
unclutter & # Remove mouse when idle
dunst & # dunst for notifications
redshift & # redshift for saving your eyes
$STATUSBAR & # for refreshing the statusbar
xcompmgr & # compositor for transparency
sxhkd & # for shortcuts
(sleep 10 ; pkill -RTMIN+4 $STATUSBAR) & # reload volume section of statusbar
dunstctl rule dnd_low disable & # disable dnd for low urgencies
dunstctl rule dnd_normal disable & # disable dnd for normal urgencies
easyeffects --gapplication-service & # start audio server
xset r rate 300 50 & # Speed xrate up
unclutter & # Remove mouse when idle
dunst & # dunst for notifications
redshift & # redshift for saving your eyes
$STATUSBAR & # for refreshing the statusbar
xcompmgr & # compositor for transparency
sxhkd & # for shortcuts
(sleep 10 ; pkill -RTMIN+4 $STATUSBAR) & # reload volume section of statusbar
dunstctl rule dnd_low disable & # disable dnd for low urgencies
dunstctl rule dnd_normal disable & # disable dnd for normal urgencies
easyeffects --gapplication-service & # start audio server
systemctl --user import-environment DISPLAY XAUTHORITY # finally start the desktop portal
systemctl --user restart xdg-desktop-portal-gtk # second part of the desktop portal