From 6f80efa018b7f8f688aeecfaeb237891929b47a6 Mon Sep 17 00:00:00 2001 From: elenapan Date: Wed, 17 Jul 2024 10:24:07 +0300 Subject: [PATCH] Remove unneeded floating_terminal command and rule --- config/awesome/keys.lua | 7 ++++--- config/awesome/rc.lua | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/config/awesome/keys.lua b/config/awesome/keys.lua index 63c1453..985f8f8 100644 --- a/config/awesome/keys.lua +++ b/config/awesome/keys.lua @@ -227,9 +227,10 @@ keys.globalkeys = gears.table.join( awful.key({ superkey }, "Return", function () awful.spawn(user.terminal) end, {description = "open a terminal", group = "launcher"}), -- Spawn floating terminal - awful.key({ superkey, shiftkey }, "Return", function() - awful.spawn(user.floating_terminal, {floating = true}) - end, + awful.key({ superkey, shiftkey }, "Return", + function() + awful.spawn(user.terminal, {floating = true}) + end, {description = "spawn floating terminal", group = "launcher"}), -- Reload Awesome diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index eca3f38..eeb0e82 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -77,7 +77,6 @@ user = { -- >> Default applications << -- Check apps.lua for more terminal = "kitty -1", - floating_terminal = "kitty -1", browser = "firefox", file_manager = "kitty -1 --class files -e ranger", editor = "kitty -1 --class editor -e vim", @@ -385,7 +384,6 @@ awful.rules.rules = { instance = { "DTA", -- Firefox addon DownThemAll. "copyq", -- Includes session name in class. - "floating_terminal", "riotclientux.exe", "leagueclientux.exe", "Devtools", -- Firefox devtools