Files
dotfiles/.xinitrc
Filip Rojek b714d64b4f some changes in .bashrc for new wayland setup
probably not important changes in .xinitrc and .xprofile - last before migrating to wayland
2025-11-09 13:44:17 +01:00

37 lines
793 B
Bash

#!/bin/bash
# Make sure this is before the 'exec' command or it won't be sourced.
[ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile
[ -f ~/.Xresources ] && xrdb -merge -I$HOME ~/.Xresources
# OPTIMUS SHITS
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
export _JAVA_AWT_WM_NONREPARENTING=1
eval "$(dbus-launch --sh-syntax --exit-with-session)"
#feh --bg-center "$HOME/Pictures/bg.png" &
feh --bg-scale "$HOME/Pictures/bg.png" &
xautolock -locker lock-us -secure -time 1 &
#pipewire &
dbus-run-session pipewire &
pipewire-pulse &
wireplumber &
dwmblocks &
clipmenud &
mpd --no-daemon &
pw-metadata -n settings 0 clock.force-rate 44100
pw-metadata -n settings 0 clock.force-quantum 1024
dbus-launch --sh-syntax --exit-with-session dwm