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
|
||||
#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
|
||||
|
||||
GRIM_DEFAULT_DIR=~/Pictures/Screenshots
|
||||
XCURSOR_THEME=Adwaita
|
||||
XCURSOR_SIZE=24
|
||||
XKB_DEFAULT_LAYOUT=us
|
||||
GRIM_DEFAULT_DIR=~/Pictures/Screenshots
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
<item label="Firefox">
|
||||
<action name="Execute" command="firefox" />
|
||||
</item>
|
||||
<item label="PCManFM">
|
||||
<action name="Execute" command="pcmanfm-qt" />
|
||||
</item>
|
||||
<item label="Kitty">
|
||||
<action name="Execute" command="kitty" />
|
||||
</item>
|
||||
|
|
75
labwc/rc.xml
75
labwc/rc.xml
|
@ -7,7 +7,7 @@
|
|||
<core>
|
||||
<decoration>server</decoration>
|
||||
<gap>16</gap>
|
||||
<adaptiveSync>yes</adaptiveSync>
|
||||
<adaptiveSync>no</adaptiveSync>
|
||||
<allowTearing>no</allowTearing>
|
||||
</core>
|
||||
<snapping>
|
||||
|
@ -88,36 +88,35 @@
|
|||
<mousebind button="Right" action="Press">
|
||||
<action name="ShowMenu" menu="some-custom-menu"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<action name="none" />
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Press">
|
||||
<action name="none" />
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="none" />
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="none" />
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<action name="none"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Press">
|
||||
<action name="none"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="none"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="none"/>
|
||||
</mousebind>
|
||||
<mousebind button="W-Left" action="Press">
|
||||
<action name="Focus" />
|
||||
<action name="Raise" />
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="W-Left" action="Drag">
|
||||
<action name="Move" />
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="W-Right" action="Press">
|
||||
<action name="Focus" />
|
||||
<action name="Raise" />
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="W-Right" action="Drag">
|
||||
<action name="Resize" />
|
||||
</mousebind>
|
||||
</context>
|
||||
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
</mouse>
|
||||
<libinput>
|
||||
<device>
|
||||
|
@ -127,5 +126,33 @@
|
|||
<windowRules>
|
||||
<windowRule identifier="imv" serverDecoration="yes"/>
|
||||
<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>
|
||||
<placement>
|
||||
<policy>automatic</policy>
|
||||
</placement>
|
||||
</labwc_config>
|
||||
|
|
Loading…
Reference in New Issue