diff options
| author | Filip Wandzio <contact@philw.dev> | 2026-01-24 09:01:19 +0100 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2026-01-24 09:01:19 +0100 |
| commit | a44dde93388f1c5c9ed6ea73d5e9ee7849e2d475 (patch) | |
| tree | b70fc06203133bebf4a51820f48bf8effa2ee9c2 /x/xprofile | |
| parent | b34e284c6225e72fe7d612f8913d0a35b9d7ea17 (diff) | |
| download | dotfiles-master.tar.gz dotfiles-master.zip | |
Diffstat (limited to 'x/xprofile')
| -rw-r--r-- | x/xprofile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x/xprofile b/x/xprofile new file mode 100644 index 0000000..19fca5d --- /dev/null +++ b/x/xprofile | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export vblank_mode=0 | ||
| 4 | export __GL_SYNC_TO_VBLANK=0 | ||
| 5 | export SDL_HINT_RENDER_VSYNC=0 | ||
| 6 | export SDL_VIDEO_X11_DGAMOUSE=1 | ||
| 7 | |||
| 8 | autostart="mpd" | ||
| 9 | |||
| 10 | for program in $autostart; do | ||
| 11 | pidof -sx "$program" || "$program" & | ||
| 12 | done >/dev/null 2>&1 | ||
| 13 | |||
| 14 | xrandr --dpi 96 | ||
| 15 | xbacklight -set 2 | ||
| 16 | setxkbmap pl | ||
| 17 | devmon & | ||
| 18 | pipewire & | ||
| 19 | ~/.config/fehbg & | ||
| 20 | |||
| 21 | [ -n "$xrdbpid" ] && wait "$xrdbpid" | ||
