💄 style: Awesome layouts; gitmoji-fuzzy-hook

This commit is contained in:
punkfairie 2024-02-16 21:08:00 -08:00
parent 1e9a51b398
commit 99d2d66875
7 changed files with 32 additions and 17 deletions

@ -0,0 +1 @@
Subproject commit 497d076903e6f5375c0456593f24adcca3db07e6

View file

@ -1,30 +1,27 @@
local awful = require("awful") local awful = require("awful")
local bling = require("lib.bling")
local machi = require("lib.layout-machi")
machi.editor.nested_layouts = {
["0"] = bling.layout.deck,
["1"] = awful.layout.suit.spiral,
["2"] = awful.layout.suit.fair,
["3"] = awful.layout.suit.fair.horizontal,
}
-- Table of layouts to cover with awful.layout.inc, order matters. -- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = { awful.layout.layouts = {
awful.layout.suit.floating,
awful.layout.suit.tile, awful.layout.suit.tile,
awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom,
awful.layout.suit.tile.top,
awful.layout.suit.fair,
awful.layout.suit.fair.horizontal,
awful.layout.suit.spiral,
awful.layout.suit.spiral.dwindle, awful.layout.suit.spiral.dwindle,
awful.layout.suit.floating,
awful.layout.suit.max, awful.layout.suit.max,
awful.layout.suit.max.fullscreen, bling.layout.centered,
awful.layout.suit.magnifier, bling.layout.mstab,
awful.layout.suit.corner.nw, bling.layout.equalarea,
-- awful.layout.suit.corner.ne, machi.default_layout,
-- awful.layout.suit.corner.sw,
-- awful.layout.suit.corner.se,
} }
client.connect_signal("manage", function(c) client.connect_signal("manage", function(c)
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- if not awesome.startup then awful.client.setslave(c) end
if awesome.startup and not c.size_hints.user_position and not c.size_hints.program_position then if awesome.startup and not c.size_hints.user_position and not c.size_hints.program_position then
-- Prevent clients from being unreachable after screen count changes. -- Prevent clients from being unreachable after screen count changes.
awful.placement.no_offscreen(c) awful.placement.no_offscreen(c)

@ -0,0 +1 @@
Subproject commit 36b2402500231a6d69b849e31d5667983f2effb0

View file

@ -4,3 +4,5 @@
[credential "https://gist.github.com"] [credential "https://gist.github.com"]
helper = helper =
helper = !/usr/bin/gh auth git-credential helper = !/usr/bin/gh auth git-credential
[core]
hooksPath = ~/.config/git/hooks

12
.gitmodules vendored
View file

@ -13,3 +13,15 @@
[submodule "/home/marley/.config/awesome/lib/bling"] [submodule "/home/marley/.config/awesome/lib/bling"]
path = /home/marley/.config/awesome/lib/bling path = /home/marley/.config/awesome/lib/bling
url = https://github.com/BlingCorp/bling.git url = https://github.com/BlingCorp/bling.git
[submodule "/home/marley/.config/awesome/lib/layout-machi"]
path = /home/marley/.config/awesome/lib/layout-machi
url = git@github.com:xinhaoyuan/layout-machi.git
[submodule "/home/marley/.tmux/plugins/tpm"]
path = /home/marley/.tmux/plugins/tpm
url = https://github.com/tmux-plugins/tpm
[submodule "/home/marley/.config/git/gitmoji-fuzzy-hook"]
path = /home/marley/.config/git/gitmoji-fuzzy-hook
url = https://gitlab.com/raabf/gitmoji-fuzzy-hook.git
[submodule "/home/marley/.themes/lazygit/catppuccin"]
path = /home/marley/.themes/lazygit/catppuccin
url = git@github.com:catppuccin/lazygit.git

@ -0,0 +1 @@
Subproject commit a544cef9a18c3a94e0344281e0ddcf99a18a8ede

1
.tmux/plugins/tpm Submodule

@ -0,0 +1 @@
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946