Skip to content

rezen/zap-recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZAP Recorder

Generate videos/gifs of ZAP GUI interactions . Run docker-compose up --build --abort-on-container-exit and wait for an mp4 in output!

Sample

Example

Todo

  • Improve logging handling
  • Make objects for interacting with ZAP GUI
  • Move recorder logic into python

References

# In case I need them later!
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
xwininfo -root | grep '\(Width\|Height\)'
wmctrl -m
wmctrl -lG

# Make active window 100%
xdotool windowsize $(xdotool getactivewindow) 100% 100%

# Reload theme
gdbus call --session \
    --dest org.gnome.Shell \
    --object-path /org/gnome/Shell \
    --method org.gnome.Shell.Eval 'Main.loadTheme();'

# Get current theme
gsettings get org.gnome.desktop.interface gtk-theme

# Close all the windows
wmctrl -l  | cut -d' ' -f1 | xargs -I{} wmctrl -ic {}

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published