summarylogtreecommitdiffstats
path: root/fullscreen
diff options
context:
space:
mode:
authorChristopher Luna2015-06-08 16:37:36 -0500
committerChristopher Luna2015-06-08 16:37:36 -0500
commit85b57172eca1639990f1dd29ef301ce6a914bd6a (patch)
tree47c9ff660238e1e4b25c268fdc41149e08300384 /fullscreen
downloadaur-85b57172eca1639990f1dd29ef301ce6a914bd6a.tar.gz
First commit
Diffstat (limited to 'fullscreen')
-rw-r--r--fullscreen8
1 files changed, 8 insertions, 0 deletions
diff --git a/fullscreen b/fullscreen
new file mode 100644
index 000000000000..8e492280865f
--- /dev/null
+++ b/fullscreen
@@ -0,0 +1,8 @@
+#! perl
+
+sub on_user_command {
+ my ($self, $cmd) = @_;
+ if ($cmd eq "fullscreen:switch") {
+ my $dummy = `wmctrl -r :ACTIVE: -b toggle,fullscreen,above` ;
+ }
+}