Remove unneeded floating_terminal command and rule

This commit is contained in:
elenapan 2024-07-17 10:24:07 +03:00
parent 6506d321a1
commit 6f80efa018
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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