dotfiles/.config/i3/startup.sh

20 lines
417 B
Bash
Raw Normal View History

2021-04-21 14:52:27 +02:00
#!/usr/bin/env sh
# Setup displays layout
autorandr --change
# Display wallpapers
nitrogen --restore
2022-04-26 08:43:47 +02:00
# cur_layout="$(autorandr --current)"
2021-04-21 14:52:27 +02:00
2022-04-26 08:43:47 +02:00
# # Properly set DPI & keyboard layout
# if [ "$cur_layout" = loftie ]; then
# xrandr --dpi 120
# setxkbmap -layout us -variant altgr-intl
2021-04-21 14:52:27 +02:00
2022-04-26 08:43:47 +02:00
# # Display sys tray on correct display
# elif [ "$cur_layout" = default ]; then
# xrandr --output eDP-1-1 --primary
# fi