Update awesome config
This commit is contained in:
parent
e79dd17b50
commit
6338e4cac3
|
@ -15,7 +15,7 @@ font:
|
|||
family: Source Code Pro
|
||||
style: Bold Italic
|
||||
|
||||
size: 9.5
|
||||
size: 16
|
||||
|
||||
# Colors (Molokai Dark)
|
||||
colors:
|
||||
|
|
|
@ -103,7 +103,7 @@ top_panel.create = function(s)
|
|||
client.connect_signal("focus", change_panel_visibility)
|
||||
|
||||
updates_indicator:connect_signal("button::press", function(c, _, _, button)
|
||||
awful.spawn('kitty --single-instance -e bash -c "yay ; echo \'\nDone, press any key to exit...\' ; read"')
|
||||
awful.spawn('alacritty -e bash -c "yay ; echo \'\nDone, press any key to exit...\' ; read"')
|
||||
end)
|
||||
|
||||
updates_indicator:connect_signal("mouse::enter", function(c) c:set_bg(theme.bg_normal .. "99") end)
|
||||
|
|
|
@ -150,6 +150,9 @@ keys.globalkeys = gears.table.join(
|
|||
{description = "application launcher", group = "launcher"}
|
||||
),
|
||||
|
||||
-- Quake
|
||||
awful.key({ }, "F9", function () awful.screen.focused().quake:toggle() end),
|
||||
|
||||
-- =========================================
|
||||
-- FUNCTION KEYS
|
||||
-- =========================================
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
local awful = require("awful")
|
||||
local gears = require("gears")
|
||||
local lain = require("lain")
|
||||
local quake = lain.util.quake({app="kitty", followtag=true, argname = '--class %s', extra="-e tmux", height=0.3})
|
||||
|
||||
local pastel = {}
|
||||
|
||||
|
@ -35,7 +37,6 @@ pastel.initialize = function()
|
|||
for i = 1, 9, 1
|
||||
do
|
||||
awful.tag.add(i, {
|
||||
icon = gears.filesystem.get_configuration_dir() .. "/icons/tags/pastel/" .. i .. ".png",
|
||||
icon_only = true,
|
||||
layout = awful.layout.suit.tile,
|
||||
screen = s,
|
||||
|
@ -43,6 +44,8 @@ pastel.initialize = function()
|
|||
})
|
||||
end
|
||||
|
||||
s.quake = quake
|
||||
|
||||
-- Only add the top panel on the primary screen
|
||||
if s.index == 1 then
|
||||
top_panel.create(s)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
-- Standard awesome libraries
|
||||
local gears = require("gears")
|
||||
local naughty = require("naughty")
|
||||
local awful = require("awful")
|
||||
|
||||
|
||||
|
@ -78,9 +77,13 @@ awful.rules.rules = create_rules(keys.clientkeys, keys.clientbuttons)
|
|||
|
||||
-- Define layouts
|
||||
awful.layout.layouts = {
|
||||
awful.layout.suit.tile,
|
||||
awful.layout.suit.floating,
|
||||
awful.layout.suit.max,
|
||||
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,
|
||||
}
|
||||
|
||||
-- remove gaps if layout is set to max
|
||||
|
|
|
@ -89,9 +89,11 @@ theme.titlebars_enabled = false
|
|||
|
||||
|
||||
-- Define layout icons
|
||||
theme.layout_tile = "~/.config/awesome/icons/layouts/tiled.png"
|
||||
theme.layout_floating = "~/.config/awesome/icons/layouts/floating.png"
|
||||
theme.layout_max = "~/.config/awesome/icons/layouts/maximized.png"
|
||||
-- theme.layout_tile = "~/.config/awesome/icons/layouts/tiled.png"
|
||||
-- theme.layout_tiletop = "~/.config/awesome/icons/layouts/tiled.png"
|
||||
-- theme.layout_tileleft = "~/.config/awesome/icons/layouts/tiled.png"
|
||||
-- theme.layout_floating = "~/.config/awesome/icons/layouts/floating.png"
|
||||
-- theme.layout_max = "~/.config/awesome/icons/layouts/maximized.png"
|
||||
|
||||
theme.icon_theme = "Tela-dark"
|
||||
|
||||
|
|
Loading…
Reference in New Issue