From 9badc4854ed49de9907c7e719d6832308e6b87bd Mon Sep 17 00:00:00 2001 From: Octopus Octopus Date: Tue, 16 Jul 2024 14:53:30 -0500 Subject: [PATCH] update labwc, window rules to force dialogs to center --- labwc/autostart | 26 ---------------- labwc/environment | 2 +- labwc/menu.xml | 3 ++ labwc/rc.xml | 75 ++++++++++++++++++++++++++++++++--------------- 4 files changed, 55 insertions(+), 51 deletions(-) diff --git a/labwc/autostart b/labwc/autostart index e1d09b7..5c88e28 100644 --- a/labwc/autostart +++ b/labwc/autostart @@ -1,27 +1 @@ -# Example autostart file - -# autostart services systemctl --user start labwc-session.target -#blueman-applet & -#QT_QPA_PLATFORM=xcb megasync & -#protonmail-bridge & -#protonvpn-app & - - -# 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. -#mako >/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 840 'swaylock -f -i ~/Pictures/commissions/361.png' \ -# timeout 900 'wlopm --off \*' \ -# resume 'wlopm --on \*' \ -# before-sleep 'swaylock -f -i ~/Pictures/commissions/361.png' >/dev/null 2>&1 & diff --git a/labwc/environment b/labwc/environment index 12625d7..1c5334f 100644 --- a/labwc/environment +++ b/labwc/environment @@ -63,7 +63,7 @@ # XDG_CURRENT_DESKTOP=wlroots +GRIM_DEFAULT_DIR=~/Pictures/Screenshots XCURSOR_THEME=Adwaita XCURSOR_SIZE=24 XKB_DEFAULT_LAYOUT=us -GRIM_DEFAULT_DIR=~/Pictures/Screenshots diff --git a/labwc/menu.xml b/labwc/menu.xml index f6b24d3..2d35350 100644 --- a/labwc/menu.xml +++ b/labwc/menu.xml @@ -46,6 +46,9 @@ + + + diff --git a/labwc/rc.xml b/labwc/rc.xml index ae6cfa3..5c7154b 100644 --- a/labwc/rc.xml +++ b/labwc/rc.xml @@ -7,7 +7,7 @@ server 16 - yes + no no @@ -88,36 +88,35 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - + - - + + - - - - + + + @@ -127,5 +126,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + automatic +