summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-18 17:06:08 +0200
committerThanos Apollo <[email protected]>2024-01-18 17:06:08 +0200
commitfdc4739155a1958c8b8ac810c04c41e0b5e92ff7 (patch)
treed26c5d0fcd8058e680d51d77be0d90152d30e04b /.config
parent45f6cf7ba34b4f8fe7042ff1de6adca1a82709e2 (diff)
autostart: Update monitors & wallpaper
Diffstat (limited to '.config')
-rwxr-xr-x.config/autostart/autostart.sh20
1 files 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
}