···2424# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
2525output * bg /home/j3s/pix/lainbakka.jpg fill
2626#
2727-# Example configuration:
2828-#
2929-# output DP-1 resolution 3840x2160 position 1920,0
3030-#
2727+2828+# clamshell mode
2929+set $laptop eDP-1
3030+bindswitch --reload lid:on output $laptop disable
3131+bindswitch --reload lid:off output $laptop enable
3232+3133# You can get the names of your outputs by running: swaymsg -t get_outputs
32343335### Idle configuration
3434-#
3535-# Example configuration:
3636-#
3736exec swayidle -w \
3837 timeout 700 'swaylock -f -c 000000' \
3938 timeout 900 'swaymsg "output * dpms off"' \
4039 resume 'swaymsg "output * dpms on"' \
4140 before-sleep 'swaylock -f -c 000000'
4242-#
4343-# This will lock your screen after 300 seconds of inactivity, then turn off
4444-# your displays after another 300 seconds, and turn your screens back on when
4141+# This will lock your screen after 700 seconds of inactivity, then turn off
4242+# your displays after another 900 seconds, and turn your screens back on when
4543# resumed. It will also lock your screen before your computer goes to sleep.
46444745### Input configuration
···222220223221 # When the status_command prints a new line to stdout, swaybar updates.
224222 # The default just shows the current date and time.
225225- status_command while date +'%Y-%m-%d %l:%M %p'; do sleep 1; done
223223+ status_command while ~/.config/sway/status; do sleep 1; done
226224227225 colors {
228226 statusline #ffffff