From 29ce2dd96b5554f146bad866d3bfcf82aebf6e91 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Tue, 8 Apr 2025 14:35:03 -0400 Subject: refactor: avoid `floating clients` by `name` --- .config/awesome/rc-4.3-3.lua | 4 +--- .config/awesome/rc.lua | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to '.config') diff --git a/.config/awesome/rc-4.3-3.lua b/.config/awesome/rc-4.3-3.lua index 2c8c61a..c7d5f9c 100644 --- a/.config/awesome/rc-4.3-3.lua +++ b/.config/awesome/rc-4.3-3.lua @@ -435,7 +435,7 @@ globalkeys = gears.table.join( { description = "take a screenshot of an area of the screen", group = "launcher" }), awful.key({ modkey }, "x", function() awful.spawn.easy_async_with_shell("xkill") end, { description = "kill a client by brute force", group = "launcher" }), - awful.key({ "Control", "Mod1" }, "Delete", function() awful.spawn("xfce4-terminal -T 'Task Manager' -x 'htop'") end, + awful.key({ "Control", "Mod1" }, "Delete", function() awful.spawn("xfce4-terminal -T 'Task Manager' --role=pop-up -x 'htop'") end, { description = "launch HTOP", group = "launcher" }), -- brightness hotkeys @@ -775,8 +775,6 @@ awful.rules.rules = { "^Clipman History$", "^Event Tester$", -- xev. "^File Operation Progress$", -- fix for latest version of thunar. - "^Task Manager$", - "^password manager$", }, role = { "AlarmWindow", -- thunderbird's calendar. diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 8fdf3d1..9c07b51 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -422,7 +422,7 @@ awful.keyboard.append_global_keybindings({ { description = "take a screenshot of an area of the screen", group = "launcher" }), awful.key({ modkey }, "x", function() awful.spawn.easy_async_with_shell("xkill") end, { description = "kill a client by brute force", group = "launcher" }), - awful.key({ "Control", "Mod1" }, "Delete", function() awful.spawn("xfce4-terminal -T 'Task Manager' -x 'htop'") end, + awful.key({ "Control", "Mod1" }, "Delete", function() awful.spawn("xfce4-terminal -T 'Task Manager' --role=pop-up -x 'htop'") end, { description = "launch HTOP", group = "launcher" }), -- brightness hotkeys @@ -801,8 +801,6 @@ ruled.client.connect_signal("request::rules", function() "^Clipman History$", "^Event Tester$", -- xev. "^File Operation Progress$", -- fix for latest version of thunar. - "^Task Manager$", - "^password manager$", }, role = { "AlarmWindow", -- thunderbird's calendar. -- cgit v1.2.3