From e076f4aa064cf17d7f8ca5413f43a11778a32f48 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 22 Jun 2015 13:54:52 +0100 Subject: Add urxvt plugins in dotfiles --- urxvt/ext/fullscreen | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 urxvt/ext/fullscreen (limited to 'urxvt/ext/fullscreen') diff --git a/urxvt/ext/fullscreen b/urxvt/ext/fullscreen new file mode 100644 index 0000000..ebed22f --- /dev/null +++ b/urxvt/ext/fullscreen @@ -0,0 +1,7 @@ +#!perl +sub on_user_command { + my ($self, $cmd) = @_; + if ($cmd eq "fullscreen:switch") { + my $dummy = `wmctrl -r :ACTIVE: -b toggle,fullscreen` ; + } +} -- cgit v1.2.3