Skip to content

Commit

Permalink
Add a dbus test script
Browse files Browse the repository at this point in the history
  • Loading branch information
dsheeler committed Sep 10, 2024
1 parent 5374cd0 commit e44aa6e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dbus_test.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/perl
use Time::HiRes qw(usleep nanosleep);

sleep 5;
system('gnome-extensions enable CoverflowAltTab@palatis.blogspot.com');
usleep 500000;
system('gdbus call --session --dest org.gnome.Shell.Extensions.Coverflowalttab --object-path /org/gnome/Shell/Extensions/Coverflowalttab --method org.gnome.Shell.Extensions.Coverflowalttab.launch "applications"');
sleep 1;

system('gdbus call --session --dest org.gnome.Shell.Extensions.Coverflowalttab --object-path /org/gnome/Shell/Extensions/Coverflowalttab --method org.gnome.Shell.Extensions.Coverflowalttab.next');
sleep 1;
system('gdbus call --session --dest org.gnome.Shell.Extensions.Coverflowalttab --object-path /org/gnome/Shell/Extensions/Coverflowalttab --method org.gnome.Shell.Extensions.Coverflowalttab.next');
usleep 100000;
system('gnome-extensions disable CoverflowAltTab@palatis.blogspot.com');

0 comments on commit e44aa6e

Please sign in to comment.