mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
move x11 stuff into .config
This commit is contained in:
parent
56e43cdc61
commit
c2f75631d6
6
.config/X11/xinitrc
Executable file
6
.config/X11/xinitrc
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/X11/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/X11/xprofile"
|
||||||
|
[ -f "$HOME/.xprofile" ] && . "$HOME/.xprofile"
|
||||||
|
|
||||||
|
exec dbus-launch dwm
|
|
@ -1,21 +1,16 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
xrandr --dpi 96
|
xrandr --dpi 96
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
. "$XDG_DATA_HOME/screenlayout"
|
. "$XDG_DATA_HOME/screenlayout"
|
||||||
xwallpaper --zoom "$XDG_DATA_HOME/wallpaper"
|
xwallpaper --zoom "$XDG_DATA_HOME/wallpaper"
|
||||||
xrdb -merge "$HOME/.Xresources"
|
xrdb -merge "$XDG_CONFIG_HOME/X11/xresources"
|
||||||
|
|
||||||
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Profile Enabled" 0 1 0
|
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Profile Enabled" 0 1 0
|
||||||
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Speed" 0
|
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Speed" 0
|
||||||
|
|
||||||
pipewire &
|
autostart="pipewire wireplumber pipewire-pulse udiskie dunst picom sxhkd dwmblocks"
|
||||||
wireplumber &
|
for program in $autostart; do
|
||||||
pipewire-pulse &
|
"$program" &
|
||||||
udiskie &
|
done >/dev/null 2>&1
|
||||||
dunst &
|
|
||||||
picom &
|
|
||||||
sxhkd &
|
|
||||||
dwmblocks &
|
|
||||||
|
|
||||||
exec dbus-launch dwm
|
|
|
@ -29,3 +29,4 @@ export NODE_REPL_HISTORY="$XDG_DATA_HOME/node_repl_history"
|
||||||
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
||||||
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
||||||
|
export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
|
||||||
|
|
Loading…
Reference in a new issue