From fdc4739155a1958c8b8ac810c04c41e0b5e92ff7 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 18 Jan 2024 17:06:08 +0200 Subject: autostart: Update monitors & wallpaper --- .config/autostart/autostart.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.config/autostart/autostart.sh b/.config/autostart/autostart.sh index 8233781..1219dd0 100755 --- a/.config/autostart/autostart.sh +++ b/.config/autostart/autostart.sh @@ -1,13 +1,13 @@ #!/bin/bash -WALLPAPER=~/wallpapers/forest-deer-02.jpg +WALLPAPER=~/wallpapers/magical-tree-large.jpg HOSTNAME=$(hostname) -function set_monitors() { - if [ "$HOSTNAME" == "zeus" ]; then - xrandr --output DisplayPort-0 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 2560x0 --rotate right - fi -} +# function set_monitors() { +# if [ "$HOSTNAME" == "zeus" ]; then +# xrandr --output DisplayPort-1 --primary --mode 2560x1440 --output HDMI-A-0 --mode 1920x1080 --pos 2560x0 --rotate right +# fi +# } function start_picom() { pgrep -x picom > /dev/null || picom @@ -16,19 +16,19 @@ function start_picom() { function set_wallpaper() { local screen_option if [ "$HOSTNAME" == "zeus" ]; then - xwallpaper --output DisplayPort-0 --stretch ~/wallpapers/forest-deer-02.jpg - xwallpaper --output HDMI-A-0 --stretch ~/wallpapers/science-01.jpg + xwallpaper --output DisplayPort-1 --stretch $WALLPAPER + # xwallpaper --output HDMI-A-0 --stretch ~/wallpapers/science-01.jpg else - xwallpaper --focus ~/wallpapers/library-fantasy-tree.jpg + xwallpaper --focus $WALLPAPER fi } function get_started() { start_picom & + # set_monitors & set_wallpaper & syncthing --no-browser & transmission-daemon & - set_monitors & setxkbmap us -option ctrl:swapcaps } -- cgit v1.2.3