From b1bb372e99693e4a8614413203b62df9a3742372 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 8 Apr 2019 09:55:26 +0200 Subject: [PATCH] Added shortcut for tvrs new option --- options.lua | 2 +- rc.lua | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/options.lua b/options.lua index 69fdf4c..8dc154f 100644 --- a/options.lua +++ b/options.lua @@ -1,5 +1,5 @@ return { browser="firefox", - terminal="terminator", + terminal="alacritty", email="thomas@forgione.fr", } diff --git a/rc.lua b/rc.lua index 6964c0e..5da3583 100644 --- a/rc.lua +++ b/rc.lua @@ -500,6 +500,10 @@ globalkeys = awful.util.table.join( awful.spawn.easy_async("tvrs disable --sound", function() end) end, {description="Disable the second screen", group="screen control"}), + awful.key({modkey}, "#90", function() + awful.spawn.easy_async("tvrs only-secondary --sound", function() end) + end, {description="Disable the primary screen, using only the second", group="screen control"}), + awful.key({modkey}, "z", function() awful.spawn.easy_async(options.browser .. " https://hangouts.google.com https://messenger.com https://web.telegram.org https://gitter.im https://vortex-n7.slack.com/ https://framagenda.org/apps/calendar/", function() end) naughty.notify({title = "Starting social media"})