Add configuration for GNOME

This commit is contained in:
Alexander Hess 2026-08-03 14:30:55 +02:00
commit 7804080953
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
47 changed files with 6899 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#!/bin/sh
# Raise Evolution and switch to its workspace,
# or switch to the target workspace first and launch it there
#
# Switching before the launch avoids the flicker that
# `auto-move-windows` causes by relocating an already mapped window
#
# Note that `auto-move-windows` must not also manage Evolution,
# or both mechanisms fight over the placement
set -eu
_CLASS=evolution
_COMMAND=/usr/bin/evolution
# This is the last of the 10 named but 0-based workspaces
# in "num-workspaces" under [org/gnome/desktop/wm/preferences]
_WORKSPACE=9
# "wmctrl -x -a" already switches to the window's workspace
wmctrl -x -a "$_CLASS" && exit 0
wmctrl -s "$_WORKSPACE"
exec "$_COMMAND"