This commit is contained in:
tavo 2025-09-03 16:29:35 -06:00
parent d66da5aed4
commit cee38fdcf4
3 changed files with 32 additions and 2 deletions

2
.gitignore vendored
View file

@ -279,5 +279,3 @@ cvim/
!cvim/vimrc !cvim/vimrc
tailscale/ tailscale/
X11/init.d/ X11/init.d/
!X11/init.d/example.sh
!X11/init.d/default.sh

10
X11/init.d/default.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
# Default initialization script
# Environment for dbus and xdg-desktop-portal
dbus-update-activation-environment --systemd --all
systemctl --user import-environment DISPLAY
lxpolkit &
# A bit of grace time to press Ctrl+C if needed
sleep 0.2

22
X11/init.d/example.sh Executable file
View file

@ -0,0 +1,22 @@
#!/bin/sh
# Example initialization script.
#
# In order to run commands on start, create scripts such
# as this one in the .config/X11/init.d directory.
# Keyboard configuration
#xset r rate 300 70
#setxkbmap en
# Monitors
#xrandr --output DVI-D-0 --right-of HDMI-0
# Appearance
#picom --experimental-backends --animation-for-open-window=zoom &
#xsetroot -solid '#000000'
# Startup programs
#STATUS_BLOCKS="tray vol mic net bat kbd time date" dwmstatus & # Status bar
#emacs --daemon &
#clipmenud &
#dunst