summaryrefslogtreecommitdiff
path: root/src/launchers.def
AgeCommit message (Collapse)Author
2024-06-02launchers: drop gimp and firefox launchersVito Caputo
I don't use these, this isn't really the way vwm is intended to be used. For launching higher-order applications that don't need special wm integrations like recordMyDesktop, or just aren't launched numerous times daily (like xterm, or xlock), the user is expected to just use the "console" screen session's available shell to do things like `firefox &` or `gimp &`... these things aren't generally started hundreds or thousands of times per day like say xterm where the launcher shortcut pays clear dividends. xterm itself in vwm is also used as a sort of throwaway launcher window. Since everything is kept in MRU order it really doesn't matter that you've got tons of xterms littering the environment in contexts/virtual-desktops you just never visit after using them to launch the thing you are using.
2023-10-19launchers: integrated recordMyDesktopVito Caputo
This requires a current recordMyDesktop build supporting --need-shortcuts which was just added for this use case. You can omit --need-shortcuts to support older rmd versions, but this is leaning on --need-shortcuts to prevent multiple rmd instances from accidentally being executed concurrently. Also the shortcuts are expected to be how one pauses/stops the capture, no vwm-level integration has been added to signal the process for this purpose. The default shortcut in rmd for stopping is ctrl+mod1+s which doesn't collide with vwm's grabs, so everything Just Works. You can utilize the vwm process monitors as a convenient way to observe rmd's status in terms of encoding after stopping a capture. You can see the reduced Idle %age in the top row during the encode, it'll go back to normal when completed. Or you can focus the vwm console (the attached screen session) and actually observe the rmd output to watch the encoding progress - one of the advantages of vwm's console. Furthermore, you can also observe the CPU use of recordMyDesktop in that window with the monitors active. The key bindings as of now are: Mod1+Backspace: record the focused window (root window if there are no windows / empty desktop is focused) Mod1+Delete: record the whole desktop / root window, even if there are windows focused, unlike Backspace which will capture just the focused window if there are windows. As-is this doesn't specify --full-shots, so it's always in damage-tracking mode, which might not work well with OpenGL style captures. There needs to be a way to specify variants in launchers.def with modifiers, then there could be a +Shift variant for these where --full-shots is added, or something. Ideally there should be a pop-up dialog where you get an opportunity to manipulate the flags passed on from a set of options, but I'm not doing that right now. That way we could toggle stuff like sound/no-sound, tweak the FPS rate, toggle full-shots/damage-tracking, sound/video quality, etc. Maybe it's best to just use an rmd front-end for that, but it feels like it'd be nice for vwm to just have a generic little dialog mechanism for launchers, then launchers.def could describe the parameterized args for the dialog to present controls for. ^^ TODO
2023-10-19launchers: ditch the unnecessary absolute pathsVito Caputo
It doesn't look like the /bin/sh -c style invocation is going away anytime soon, so let's just rely on the PATH searching and this becomes more tolerant of stuff being in /usr vs. /usr/local etc. (preparatory commit for rmd integration)
2017-02-02launchers: s/iceweasel/firefox/gVito Caputo
2016-09-09*: refactor all the thingsVito Caputo
Long overdue house cleaning. The addition of compositing/monitoring overlays in vwm3 pushed vwm well past what is a reasonable size for a simple thousand line file. This is a first step towards restoring sanity in the code, but no behavioral differences are intended, this is mostly just shuffling around and organizing code. I expect some performance regressions initially, follow-on commits will make more improvements to that end as the dust settles.
© All Rights Reserved