From ad06fa8ff31a94d10b68b601956aae50d76452b0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 15 Sep 2022 13:04:11 +0300 Subject: [PATCH] .fvwmrc: Start `chromium` on a specific desktop --- .fvwm/main.m4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index acdba2c..4ad88ff 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -648,6 +648,12 @@ AddToFunc FireFox I Any ("*Mozilla Firefox") Break + I Wait "*Mozilla Firefox" + I Next ("*Mozilla Firefox") Iconify true +DestroyFunc Chromium +AddToFunc Chromium I Any ("*Chromium") Break ++ I GotoDeskAndPage 1 1 0 ++ I Exec LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 2000 start-browser chromium ++ I Wait "*Chromium" + DestroyFunc Gajim AddToFunc Gajim I GotoDeskAndPage 1 1 0 + I Exec exec cgmem_nice 300 gajim @@ -851,7 +857,7 @@ AddToMenu Utilities "Choose one:" Title DestroyMenu Browsers AddToMenu Browsers "Choose one:" Title + "FireFox" FireFox -+ "Chromium" None ("*Chromium") Exec LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 2000 start-browser chromium ++ "Chromium" Chromium + "Opera" None ("*Opera") Exec LC_CTYPE=ru_RU.KOI8-R exec cgmem_nice 2000 start-browser opera # A wide variety of screenlocking options... -- 2.39.5