From b77a7d585cf6cf2420dd770e42ba5b1e08a4e12c Mon Sep 17 00:00:00 2001 From: schererleander Date: Mon, 11 Mar 2024 17:12:20 +0100 Subject: initial commit --- .config/labwc/autostart | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .config/labwc/autostart (limited to '.config/labwc/autostart') diff --git a/.config/labwc/autostart b/.config/labwc/autostart new file mode 100644 index 0000000..47255d8 --- /dev/null +++ b/.config/labwc/autostart @@ -0,0 +1,36 @@ +# Example autostart file + +# Set background color. +# swaybg -i ~/Pictures/*-1.png >/dev/null 2>&1 & + +swaybg -i ~/Pictures/*-1.png & + +# Configure output directives such as mode, position, scale and transform. +# Use wlr-randr to get your output names +# Example ~/.config/kanshi/config below: +# profile { +# output HDMI-A-1 position 1366,0 +# output eDP-1 position 0,0 +# } +kanshi >/dev/null 2>&1 & + +# Launch a panel such as yambar or waybar. +sfwbar >/dev/null 2>&1 & + +# Enable notifications. Typically GNOME/KDE application notifications go +# through the org.freedesktop.Notifications D-Bus API and require a client such +# as mako to function correctly. Thunderbird is an example of this. +dunst >/dev/null 2>&1 & + +# Lock screen after 5 minutes; turn off display after another 5 minutes. +# +# Note that in the context of idle system power management, it is *NOT* a good +# idea to turn off displays by 'disabling outputs' for example by +# `wlr-randr --output --off` because this re-arranges views +# (since a837fef). Instead use a wlr-output-power-management client such as +# https://git.sr.ht/~leon_plickat/wlopm +swayidle -w \ + timeout 300 'swaylock -f -c 000000' \ + timeout 600 'wlopm --off \*' \ + resume 'wlopm --on \*' \ + before-sleep 'swaylock -f -c 000000' >/dev/null 2>&1 & -- cgit v1.3.1