update labwc, window rules to force dialogs to center
This commit is contained in:
parent
9b9ee37451
commit
9badc4854e
|
@ -1,27 +1 @@
|
||||||
# Example autostart file
|
|
||||||
|
|
||||||
# autostart services
|
|
||||||
systemctl --user start labwc-session.target
|
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 <whatever> --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 &
|
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
|
|
||||||
# XDG_CURRENT_DESKTOP=wlroots
|
# XDG_CURRENT_DESKTOP=wlroots
|
||||||
|
|
||||||
|
GRIM_DEFAULT_DIR=~/Pictures/Screenshots
|
||||||
XCURSOR_THEME=Adwaita
|
XCURSOR_THEME=Adwaita
|
||||||
XCURSOR_SIZE=24
|
XCURSOR_SIZE=24
|
||||||
XKB_DEFAULT_LAYOUT=us
|
XKB_DEFAULT_LAYOUT=us
|
||||||
GRIM_DEFAULT_DIR=~/Pictures/Screenshots
|
|
||||||
|
|
|
@ -46,6 +46,9 @@
|
||||||
<item label="Firefox">
|
<item label="Firefox">
|
||||||
<action name="Execute" command="firefox" />
|
<action name="Execute" command="firefox" />
|
||||||
</item>
|
</item>
|
||||||
|
<item label="PCManFM">
|
||||||
|
<action name="Execute" command="pcmanfm-qt" />
|
||||||
|
</item>
|
||||||
<item label="Kitty">
|
<item label="Kitty">
|
||||||
<action name="Execute" command="kitty" />
|
<action name="Execute" command="kitty" />
|
||||||
</item>
|
</item>
|
||||||
|
|
75
labwc/rc.xml
75
labwc/rc.xml
|
@ -7,7 +7,7 @@
|
||||||
<core>
|
<core>
|
||||||
<decoration>server</decoration>
|
<decoration>server</decoration>
|
||||||
<gap>16</gap>
|
<gap>16</gap>
|
||||||
<adaptiveSync>yes</adaptiveSync>
|
<adaptiveSync>no</adaptiveSync>
|
||||||
<allowTearing>no</allowTearing>
|
<allowTearing>no</allowTearing>
|
||||||
</core>
|
</core>
|
||||||
<snapping>
|
<snapping>
|
||||||
|
@ -88,36 +88,35 @@
|
||||||
<mousebind button="Right" action="Press">
|
<mousebind button="Right" action="Press">
|
||||||
<action name="ShowMenu" menu="some-custom-menu"/>
|
<action name="ShowMenu" menu="some-custom-menu"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
</context>
|
</context>
|
||||||
<context name="Frame">
|
<context name="Frame">
|
||||||
<mousebind button="A-Left" action="Press">
|
<mousebind button="A-Left" action="Press">
|
||||||
<action name="none" />
|
<action name="none"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="A-Right" action="Press">
|
<mousebind button="A-Right" action="Press">
|
||||||
<action name="none" />
|
<action name="none"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="A-Left" action="Drag">
|
<mousebind button="A-Left" action="Drag">
|
||||||
<action name="none" />
|
<action name="none"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="A-Right" action="Drag">
|
<mousebind button="A-Right" action="Drag">
|
||||||
<action name="none" />
|
<action name="none"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="W-Left" action="Press">
|
<mousebind button="W-Left" action="Press">
|
||||||
<action name="Focus" />
|
<action name="Focus"/>
|
||||||
<action name="Raise" />
|
<action name="Raise"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="W-Left" action="Drag">
|
<mousebind button="W-Left" action="Drag">
|
||||||
<action name="Move" />
|
<action name="Move"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="W-Right" action="Press">
|
<mousebind button="W-Right" action="Press">
|
||||||
<action name="Focus" />
|
<action name="Focus"/>
|
||||||
<action name="Raise" />
|
<action name="Raise"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="W-Right" action="Drag">
|
<mousebind button="W-Right" action="Drag">
|
||||||
<action name="Resize" />
|
<action name="Resize"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
</context>
|
</context>
|
||||||
|
|
||||||
</mouse>
|
</mouse>
|
||||||
<libinput>
|
<libinput>
|
||||||
<device>
|
<device>
|
||||||
|
@ -127,5 +126,33 @@
|
||||||
<windowRules>
|
<windowRules>
|
||||||
<windowRule identifier="imv" serverDecoration="yes"/>
|
<windowRule identifier="imv" serverDecoration="yes"/>
|
||||||
<windowRule identifier="megasync"/>
|
<windowRule identifier="megasync"/>
|
||||||
|
<windowRule type="dialog">
|
||||||
|
<action name="AutoPlace" policy="center" />
|
||||||
|
</windowRule>
|
||||||
|
<windowRule identifier="blueman-manager">
|
||||||
|
<action name="AutoPlace" policy="center" />
|
||||||
|
</windowRule>
|
||||||
|
<windowRule title="pulsemixer">
|
||||||
|
<action name="AutoPlace" policy="center" />
|
||||||
|
</windowRule>
|
||||||
|
<windowRule identifier="nm-connection-editor">
|
||||||
|
<action name="AutoPlace" policy="center" />
|
||||||
|
</windowRule>
|
||||||
|
<windowRule identifier="nm-applet" >
|
||||||
|
<action name="AutoPlace" policy="center" />
|
||||||
|
</windowRule>
|
||||||
|
<windowRule title="Proton Mail Bridge">
|
||||||
|
<action name="AutoPlace" policy="center" />
|
||||||
|
</windowRule>
|
||||||
|
<windowRule identifier="protonvpn-app" >
|
||||||
|
<action name="AutoPlace" policy="center" />
|
||||||
|
</windowRule>
|
||||||
|
<windowRule identifier="MEGAsync" ignoreConfigureRequests="yes" >
|
||||||
|
<action name="AutoPlace" policy="center" />
|
||||||
|
</windowRule>
|
||||||
|
|
||||||
</windowRules>
|
</windowRules>
|
||||||
|
<placement>
|
||||||
|
<policy>automatic</policy>
|
||||||
|
</placement>
|
||||||
</labwc_config>
|
</labwc_config>
|
||||||
|
|
Loading…
Reference in New Issue