diff options
Diffstat (limited to 'awesome/rc.lua')
-rw-r--r-- | awesome/rc.lua | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua index 5eaae53..69c2636 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -77,7 +77,7 @@ local inertmode = false -- Spawn windows at bottom of stack -local spawnatbottom = true +local spawnatbottom = false -- Default modkey. @@ -126,7 +126,7 @@ function terminal_sp_cmd (spc, cmd) cflag = "-c" gflag = "-g" xflag = "-e" - geo = "100x30" + geo = "150x45" elseif terminal == "alacritty" then cflag = "--class" gflag = false @@ -762,15 +762,8 @@ awful.rules.rules = { } }, - -- Floating clients. { rule_any = { - instance = { - "DTA", -- Firefox addon DownThemAll. - "copyq", -- Includes session name in class. - "pinentry", - }, class = { - --"mpv", "sphtop", "spterm", "sppmxr", @@ -782,6 +775,24 @@ awful.rules.rules = { "sptodo", "sptrem", "qpwgraph", + "gcr-prompter" + } + }, + properties = { floating = true }, + callback = function(c) + awful.placement.centered(c,nil) + end + }, + + -- Floating clients. + { rule_any = { + instance = { + "DTA", -- Firefox addon DownThemAll. + "copyq", -- Includes session name in class. + "pinentry", + }, + class = { + --"mpv", "ProtonMail Bridge", "TheFiniteDemo", "Arandr", @@ -789,7 +800,7 @@ awful.rules.rules = { "Gpick", "Kruler", "MessageWin", -- kalarm. - "Sxiv", + -- "Sxiv", "Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size. "Wpa_gui", "veromix", |