Largely cosmetic, mildly functional awesome changes

This commit is contained in:
ngoomie 2023-05-12 02:07:32 -06:00
parent 42d792bd4c
commit 3065fec63f
3 changed files with 17 additions and 8 deletions

View File

@ -1,5 +1,5 @@
local beautiful = require("beautiful") local beautiful = require("beautiful")
-- Gaps between windows -- Gaps between windows
beautiful.useless_gap = 3 beautiful.useless_gap = 5
beautiful.gap_single_client = true beautiful.gap_single_client = true

View File

@ -54,6 +54,8 @@ M.develop = {
{ "vs code" , "flatpak run\ { "vs code" , "flatpak run\
com.visualstudio.code" }, com.visualstudio.code" },
{ "bless" , "bless" }, { "bless" , "bless" },
{ "dbeaver studio" , "flatpak run\
io.dbeaver.DBeaverCommunity" },
{ "beekeeper studio" , "flatpak run\ { "beekeeper studio" , "flatpak run\
io.beekeeperstudio.Studio" }, io.beekeeperstudio.Studio" },
{ "sqlite browser" , "sqlitebrowser" } { "sqlite browser" , "sqlitebrowser" }

View File

@ -24,18 +24,23 @@ function _M.get(clientkeys, clientbuttons)
buttons = clientbuttons, buttons = clientbuttons,
screen = awful.screen.preferred, screen = awful.screen.preferred,
placement = awful.placement.no_overlap+awful.placement.no_offscreen placement = awful.placement.no_overlap+awful.placement.no_offscreen
} },
}, },
-- Floating clients. -- Floating clients.
{ rule_any = { { rule_any = {
instance = { instance = {
"copyq", -- Includes session name in class. "copyq", -- Includes session name in class.
"pinentry", "pinentry"
}, },
class = { class = {
"Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size. "Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size.
"steamwebhelper", "steamwebhelper",
"mate-calc",
"steam_app_2060480",
"Alacritty",
"discord",
"Spotify"
}, },
-- Note that the name property shown in xprop might be set slightly after creation of the client -- Note that the name property shown in xprop might be set slightly after creation of the client
@ -43,7 +48,9 @@ function _M.get(clientkeys, clientbuttons)
name = { name = {
"Friends List", "Friends List",
"infinitefusion", -- Pokémon Infinite Fusion "infinitefusion", -- Pokémon Infinite Fusion
"Picture-in-picture" "Picture-in-picture",
"review files to import", -- Hydrus import window
"Spotify"
}, },
role = { role = {
"AlarmWindow", -- Thunderbird's calendar. "AlarmWindow", -- Thunderbird's calendar.