mirror of
https://github.com/Cametendo/MyI3Config-fork.git
synced 2026-03-18 03:40:20 +01:00
added compatibility with sway
This commit is contained in:
12
scripts/startup.sh
Executable file
12
scripts/startup.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -n "$SWAYSOCK" ]; then
|
||||
# Sway startup commands
|
||||
# Set cursor (optional, Sway handles this differently)
|
||||
# For Sway, output configuration should be in the config file, not here
|
||||
echo "Running Sway startup"
|
||||
else
|
||||
# i3 startup commands
|
||||
xsetroot -cursor_name left_ptr
|
||||
xrandr --output HDMI-1 --auto --left-of DP-2 --output DP-2 --auto
|
||||
fi
|
||||
Reference in New Issue
Block a user