mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-02-27 07:25:52 +08:00
fixed minimized clients getting unminimized after restart
Former-commit-id: 55bae72570
Former-commit-id: 84fb0234e47423e951236990dcb7dbb11e47e82a
Former-commit-id: f95b05fb1b4053b363bddd272a36804abdf91a32
Former-commit-id: 4a9f88cb0cdc78dad4c28c37a8253a8eab5a6b81
This commit is contained in:
parent
10b500e8c4
commit
e55fa511a1
1 changed files with 3 additions and 4 deletions
|
|
@ -774,15 +774,14 @@ client.connect_signal('property::geometry',
|
|||
)
|
||||
|
||||
-- Make rofi able to unminimize minimized clients
|
||||
-- Note: causes clients to unminimize after restarting awesome
|
||||
client.connect_signal("request::activate",
|
||||
function(c, context, hints)
|
||||
client.connect_signal("request::activate", function(c, context, hints)
|
||||
if not awesome.startup then
|
||||
if c.minimized then
|
||||
c.minimized = false
|
||||
end
|
||||
awful.ewmh.activate(c, context, hints)
|
||||
end
|
||||
)
|
||||
end)
|
||||
|
||||
-- Startup applications
|
||||
awful.spawn.with_shell( os.getenv("HOME") .. "/.config/awesome/autostart.sh")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue