diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-08-08 20:08:42 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-08-08 20:08:42 +0200 |
commit | 8df9472e0cdbab0d12211c2bc77918e8f515c409 (patch) | |
tree | f420b705adfec42bb33191c44c8fe252fca0f785 /.urxvt/ext/fullscreen | |
parent | b8a9b07b741cddbf6e0476e70c94aa186d62b6ae (diff) |
Improve installation and organization
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` ; + } +} |