diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-06-22 13:54:52 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-06-22 13:54:52 +0100 |
commit | e076f4aa064cf17d7f8ca5413f43a11778a32f48 (patch) | |
tree | 22c6a1eda2695503b317f01019fe5e9c4509b700 /urxvt/ext/fullscreen | |
parent | 0f323c504c95a8e28cb130357cf75e597c7834e5 (diff) |
Add urxvt plugins in dotfiles
Diffstat (limited to 'urxvt/ext/fullscreen')
-rw-r--r-- | urxvt/ext/fullscreen | 7 |
1 files changed, 7 insertions, 0 deletions
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` ; + } +} |