]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwmrc: Start `chromium` on a specific desktop
authorOleg Broytman <phd@phdru.name>
Thu, 15 Sep 2022 10:04:11 +0000 (13:04 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 15 Sep 2022 10:04:11 +0000 (13:04 +0300)
.fvwm/main.m4

index acdba2c978cb1e9d7a0a6fa463e772899e93bcbc..4ad88ff4c31e706fb955c2b1b649a40cdca3d11c 100644 (file)
@@ -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...