45 lines
1,018 B
Bash
Executable file
45 lines
1,018 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
export QT_STYLE_OVERRIDE="kvantum"
|
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
export KRITA_NO_STYLE_OVERRIDE=1
|
|
|
|
## Screens
|
|
xrandr --output HDMI-A-1 --auto --primary
|
|
xrandr --output DisplayPort-1 --auto --right-of HDMI-A-1
|
|
|
|
## Keyboard and shortcuts
|
|
setxkbmap -layout "dvorak" -option "caps:backspace,lv3:ralt_switch,compose:sclk" && sxhkd &
|
|
|
|
## Cursor
|
|
xsetroot -cursor_name left_ptr &
|
|
xbanish &
|
|
|
|
## Colors / Wallpaper
|
|
xrdb -merge -q ~/.Xresources && wal -Rq
|
|
|
|
## Bar
|
|
"${HOME}/.config/polybar/launch.sh"
|
|
|
|
## Music
|
|
sshfs -o uid=1000 -o gid=1000 kemurikusa:/data/Music ~/Music &
|
|
sshfs -o uid=1000 -o gid=1000 neptune-01:/home/deploy/Movies ~/Movies &
|
|
mpd &
|
|
|
|
## No screensaver
|
|
xset s off &
|
|
xset -dpms &
|
|
|
|
## No time to waste
|
|
xset r rate 300 50 &
|
|
|
|
## Compositor
|
|
picom --experimental-backends --backend glx -b &
|
|
redshift -l 44.481:0.3545 &
|
|
|
|
## Peripherals
|
|
xsetwacom set $(xsetwacom --list devices | awk '/Pen stylus/ { if ($7 == "id:") { print $8 } }') MapToOutput HDMI-A-1 &
|
|
xow &
|
|
|
|
## Swallow
|
|
pidswallow --loop &
|