lazy push before updates

This commit is contained in:
Noella
2025-12-30 13:23:54 -07:00
parent 44ab8019bc
commit 34b678e020
30 changed files with 727 additions and 208 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 MiB

38
theme/elements.lua Normal file
View File

@@ -0,0 +1,38 @@
local gmc = require("theme.gmc")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
local elements = {}
elements.font = "sans 8"
elements.useless_gap = dpi(3)
elements.border_width = dpi(2)
elements.border_normal = gmc.color["green300"] .. "11"
elements.border_focus = gmc.color["green800"] .. "11"
elements.border_marked = gmc.color["green500"] .. "11"
elements.bg_normal = gmc.color["white"] .. "44"
elements.bg_focus = gmc.color["green200"] .. "44"
elements.bg_urgent = gmc.color["orange900"] .. "44"
elements.bg_minimize = gmc.color["grey500"] .. "44"
elements.bg_systray = gmc.color["grey800"] .. "44"
elements.systray_icon_spacing = dpi(5)
elements.fg_normal = gmc.color["black"]
elements.fg_focus = gmc.color["white"]
elements.fg_urgent = gmc.color["white"]
elements.fg_minimize = gmc.color["white"]
elements.taglist_bg_focus = gmc.color["green400"] .. "44"
elements.taglist_fg_focus = gmc.color["white"]
elements.taglist_separator = gmc.color["green300"]
elements.taglist_bg_tag = gmc.color["green600"] .. "88"
elements.tasklist_bg_normal = gmc.color["green300"] .. "44"
elements.tasklist_bg_focus = gmc.color["green800"] .. "44"
elements.tasklist_fg_focus = gmc.color["black"]
return elements

144
theme/gmc.lua Normal file
View File

@@ -0,0 +1,144 @@
local _M = {}
-- google material colors
-- https://material.io/guidelines/style/color.html
-- Associative Array (Hash)
_M.color = {
['white'] = '#ffffff',
['black'] = '#000000',
['grey50'] = '#fafafa',
['grey100'] = '#f5f5f5',
['grey200'] = '#eeeeee',
['grey300'] = '#e0e0e0',
['grey400'] = '#bdbdbd',
['grey500'] = '#9e9e9e',
['grey600'] = '#757575',
['grey700'] = '#616161',
['grey800'] = '#424242',
['grey900'] = '#212121',
['red50'] = '#ffebee',
['red100'] = '#ffcdd2',
['red200'] = '#ef9a9a',
['red300'] = '#e57373',
['red400'] = '#ef5350',
['red500'] = '#f44336',
['red600'] = '#e53935',
['red700'] = '#d32f2f',
['red800'] = '#c62828',
['red900'] = '#b71c1c',
['redA100'] = '#ff8a80',
['redA200'] = '#ff5252',
['redA400'] = '#ff1744',
['redA700'] = '#d50000',
['pink50'] = '#fce4ec',
['pink100'] = '#f8bbd0',
['pink200'] = '#f48fb1',
['pink300'] = '#f06292',
['pink400'] = '#ec407a',
['pink500'] = '#e91e63',
['pink600'] = '#d81b60',
['pink700'] = '#c2185b',
['pink800'] = '#ad1457',
['pink900'] = '#880e4f',
['pinkA100'] = '#ff80ab',
['pinkA200'] = '#ff4081',
['pinkA400'] = '#f50057',
['pinkA700'] = '#c51162',
['blue50'] = '#e3f2fd',
['blue100'] = '#bbdefb',
['blue200'] = '#90caf9',
['blue300'] = '#64b5f6',
['blue400'] = '#42a5f5',
['blue500'] = '#2196f3',
['blue600'] = '#1e88e5',
['blue700'] = '#1976d2',
['blue800'] = '#1565c0',
['blue900'] = '#0d47a1',
['blueA100'] = '#82b1ff',
['blueA200'] = '#448aff',
['blueA400'] = '#2979ff',
['blueA700'] = '#2962ff',
['yellow50'] = '#fffde7',
['yellow100'] = '#fff9c4',
['yellow200'] = '#fff59d',
['yellow300'] = '#fff176',
['yellow400'] = '#ffee58',
['yellow500'] = '#ffeb3b',
['yellow600'] = '#fdd835',
['yellow700'] = '#fbc02d',
['yellow800'] = '#f9a825',
['yellow900'] = '#f57f17',
['yellowA100'] = '#ffff8d',
['yellowA200'] = '#ffff00',
['yellowA400'] = '#ffea00',
['yellowA700'] = '#ffd600',
['teal50'] = '#e0f2f1',
['teal100'] = '#b2dfdb',
['teal200'] = '#80cbc4',
['teal300'] = '#4db6ac',
['teal400'] = '#26a69a',
['teal500'] = '#009688',
['teal600'] = '#00897b',
['teal700'] = '#00796b',
['teal800'] = '#00695c',
['teal900'] = '#004d40',
['tealA100'] = '#a7ffeb',
['tealA200'] = '#64ffda',
['tealA400'] = '#1de9b6',
['tealA700'] = '#00bfa5',
['green50'] = '#e8f5e9',
['green100'] = '#c8e6c9',
['green200'] = '#a5d6a7',
['green300'] = '#81c784',
['green400'] = '#66bb6a',
['green500'] = '#4caf50',
['green600'] = '#43a047',
['green700'] = '#388e3c',
['green800'] = '#2e7d32',
['green900'] = '#1b5e20',
['greenA100'] = '#b9f6ca',
['greenA200'] = '#69f0ae',
['greenA400'] = '#00e676',
['greenA700'] = '#00c853',
['orange50'] = '#fff3e0',
['orange100'] = '#ffe0b2',
['orange200'] = '#ffcc80',
['orange300'] = '#ffb74d',
['orange400'] = '#ffa726',
['orange500'] = '#ff9800',
['orange600'] = '#fb8c00',
['orange700'] = '#f57c00',
['orange800'] = '#ef6c00',
['orange900'] = '#e65100',
['orangeA100'] = '#ffd180',
['orangeA200'] = '#ffab40',
['orangeA400'] = '#ff9100',
['orangeA700'] = '#ff6d00',
['deepOrange50'] = '#fbe9e7',
['deepOrange100'] = '#ffccbc',
['deepOrange200'] = '#ffab91',
['deepOrange300'] = '#ff8a65',
['deepOrange400'] = '#ff7043',
['deepOrange500'] = '#ff5722',
['deepOrange600'] = '#f4511e',
['deepOrange700'] = '#e64a19',
['deepOrange800'] = '#d84315',
['deepOrange900'] = '#bf360c',
['deepOrangeA100'] = '#ff9e80',
['deepOrangeA200'] = '#ff6e40',
['deepOrangeA400'] = '#ff3d00',
['deepOrangeA700'] = '#dd2c00'
}
return _M

View File

@@ -1,129 +1,23 @@
---------------------------
-- Default awesome theme --
---------------------------
local theme_assets = require("beautiful.theme_assets")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
local gfs = require("gears.filesystem")
local themes_path = gfs.get_themes_dir()
local awful = require("awful")
local gears = require("gears")
awful.util = require("awful.util")
local theme = {}
theme.font = "sans 8"
local elements = require("theme.elements")
theme = gears.table.join(theme, elements)
theme.bg_normal = "#222222"
theme.bg_focus = "#535d6c"
theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444"
theme.bg_systray = theme.bg_normal
local layout_icons = require("theme.layout_icons")
theme = gears.table.join(theme, layout_icons)
theme.fg_normal = "#aaaaaa"
theme.fg_focus = "#ffffff"
theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff"
local titlebar = require("theme.titlebar")
theme = gears.table.join(theme, titlebar)
theme.useless_gap = dpi(0)
theme.border_width = dpi(1)
theme.border_normal = "#000000"
theme.border_focus = "#535d6c"
theme.border_marked = "#91231c"
local widgets = require("theme.widgets")
theme = gears.table.join(theme, widgets)
-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:
-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile]
-- tasklist_[bg|fg]_[focus|urgent]
-- titlebar_[bg|fg]_[normal|focus]
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
-- prompt_[fg|bg|fg_cursor|bg_cursor|font]
-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font]
-- Example:
--theme.taglist_bg_focus = "#ff0000"
-- Generate taglist squares:
local taglist_square_size = dpi(4)
theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
taglist_square_size, theme.fg_normal
)
theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
taglist_square_size, theme.fg_normal
)
-- Variables set for theming notifications:
-- notification_font
-- notification_[bg|fg]
-- notification_[width|height|margin]
-- notification_[border_color|border_width|shape|opacity]
-- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width]
theme.menu_submenu_icon = themes_path.."default/submenu.png"
theme.menu_height = dpi(15)
theme.menu_width = dpi(100)
-- You can add as many variables as
-- you wish and access them by using
-- beautiful.variable in your rc.lua
--theme.bg_widget = "#cc0000"
-- Define the image to load
theme.titlebar_close_button_normal = themes_path.."default/titlebar/close_normal.png"
theme.titlebar_close_button_focus = themes_path.."default/titlebar/close_focus.png"
theme.titlebar_minimize_button_normal = themes_path.."default/titlebar/minimize_normal.png"
theme.titlebar_minimize_button_focus = themes_path.."default/titlebar/minimize_focus.png"
theme.titlebar_ontop_button_normal_inactive = themes_path.."default/titlebar/ontop_normal_inactive.png"
theme.titlebar_ontop_button_focus_inactive = themes_path.."default/titlebar/ontop_focus_inactive.png"
theme.titlebar_ontop_button_normal_active = themes_path.."default/titlebar/ontop_normal_active.png"
theme.titlebar_ontop_button_focus_active = themes_path.."default/titlebar/ontop_focus_active.png"
theme.titlebar_sticky_button_normal_inactive = themes_path.."default/titlebar/sticky_normal_inactive.png"
theme.titlebar_sticky_button_focus_inactive = themes_path.."default/titlebar/sticky_focus_inactive.png"
theme.titlebar_sticky_button_normal_active = themes_path.."default/titlebar/sticky_normal_active.png"
theme.titlebar_sticky_button_focus_active = themes_path.."default/titlebar/sticky_focus_active.png"
theme.titlebar_floating_button_normal_inactive = themes_path.."default/titlebar/floating_normal_inactive.png"
theme.titlebar_floating_button_focus_inactive = themes_path.."default/titlebar/floating_focus_inactive.png"
theme.titlebar_floating_button_normal_active = themes_path.."default/titlebar/floating_normal_active.png"
theme.titlebar_floating_button_focus_active = themes_path.."default/titlebar/floating_focus_active.png"
theme.titlebar_maximized_button_normal_inactive = themes_path.."default/titlebar/maximized_normal_inactive.png"
theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar/maximized_focus_inactive.png"
theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png"
theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png"
theme.wallpaper = themes_path.."default/background.png"
-- You can use your own layout icons like this:
theme.layout_fairh = themes_path.."default/layouts/fairhw.png"
theme.layout_fairv = themes_path.."default/layouts/fairvw.png"
theme.layout_floating = themes_path.."default/layouts/floatingw.png"
theme.layout_magnifier = themes_path.."default/layouts/magnifierw.png"
theme.layout_max = themes_path.."default/layouts/maxw.png"
theme.layout_fullscreen = themes_path.."default/layouts/fullscreenw.png"
theme.layout_tilebottom = themes_path.."default/layouts/tilebottomw.png"
theme.layout_tileleft = themes_path.."default/layouts/tileleftw.png"
theme.layout_tile = themes_path.."default/layouts/tilew.png"
theme.layout_tiletop = themes_path.."default/layouts/tiletopw.png"
theme.layout_spiral = themes_path.."default/layouts/spiralw.png"
theme.layout_dwindle = themes_path.."default/layouts/dwindlew.png"
theme.layout_cornernw = themes_path.."default/layouts/cornernww.png"
theme.layout_cornerne = themes_path.."default/layouts/cornernew.png"
theme.layout_cornersw = themes_path.."default/layouts/cornersww.png"
theme.layout_cornerse = themes_path.."default/layouts/cornersew.png"
-- Generate Awesome icon:
theme.awesome_icon = theme_assets.awesome_icon(
theme.menu_height, theme.bg_focus, theme.fg_focus
)
-- Define the icon theme for application icons. If not set then the icons
-- from /usr/share/icons and /usr/share/icons/hicolor will be used.
theme.icon_theme = nil
theme.icon_theme = "Arc"
theme.font = "JetBrainsMono Nerd Font Mono 10"
theme.wallpaper = os.getenv("HOME") .. "/Pictures/background.jpg"
return theme

23
theme/layout_icons.lua Normal file
View File

@@ -0,0 +1,23 @@
local gfs = require("gears.filesystem")
local theme_path = gfs.get_themes_dir()
local icons = {}
icons.layout_fairh = theme_path .. "zenburn/layouts/fairh.png"
icons.layout_fairv = theme_path .. "zenburn/layouts/fairv.png"
icons.layout_floating = theme_path .. "zenburn/layouts/floating.png"
icons.layout_magnifier = theme_path .. "zenburn/layouts/magnifier.png"
icons.layout_max = theme_path .. "zenburn/layouts/max.png"
icons.layout_fullscreen = theme_path .. "zenburn/layouts/fullscreen.png"
icons.layout_tilebottom = theme_path .. "zenburn/layouts/tilebottom.png"
icons.layout_tileleft = theme_path .. "zenburn/layouts/tileleft.png"
icons.layout_tile = theme_path .. "zenburn/layouts/tile.png"
icons.layout_tiletop = theme_path .. "zenburn/layouts/tiletop.png"
icons.layout_spiral = theme_path .. "zenburn/layouts/spiral.png"
icons.layout_dwindle = theme_path .. "zenburn/layouts/dwindle.png"
icons.layout_cornernw = theme_path .. "zenburn/layouts/cornernw.png"
icons.layout_cornerne = theme_path .. "zenburn/layouts/cornerne.png"
icons.layout_cornersw = theme_path .. "zenburn/layouts/cornersw.png"
icons.layout_cornerse = theme_path .. "zenburn/layouts/cornerse.png"
return icons

20
theme/titlebar.lua Normal file
View File

@@ -0,0 +1,20 @@
local gmc = require("theme.gmc")
local icon_path = "/usr/share/icons/Papirus-Dark/22x22"
local titlebar = {}
titlebar.titlebar_fg_normal = gmc.color["black"]
titlebar.titlebar_fg_focus = gmc.color["green100"]
titlebar.titlebar_close_button_normal = icon_path .. "/actions/window-close.svg"
titlebar.titlebar_close_button_focus = icon_path .. "/actions/window-close.svg"
titlebar.titlebar_minimize_button_normal = icon_path .. "/actions/list-remove.svg"
titlebar.titlebar_minimize_button_focus = icon_path .. "/actions/list-remove.svg"
titlebar.titlebar_maximized_button_normal_inactive = icon_path .. "/actions/list-add.svg"
titlebar.titlebar_maximized_button_focus_inactive = icon_path .. "/actions/list-add.svg"
titlebar.titlebar_maximized_button_normal_active = icon_path .. "/actions/go-bottom.svg"
titlebar.titlebar_maximized_button_focus_active = icon_path .. "/actions/go-bottom.svg"
return titlebar

View File

@@ -1 +0,0 @@
return require("gears.filesystem").get_themes_dir() .. "background.png"

29
theme/widgets.lua Normal file
View File

@@ -0,0 +1,29 @@
local gmc = require("theme.gmc")
local icon_path = "/usr/share/icons/Papirus-Dark/22x22"
local widgets = {}
function widgets.battery_icon(icon)
icon = icon or "battery-missing"
return icon_path .. "/panel/" .. icon:gsub("'", "") .. ".svg"
end
widgets.battery_text_color_charging = gmc.color["green900"]
widgets.battery_text_color_full = gmc.color["green900"]
widgets.battery_text_color_medium = gmc.color["yellow900"]
widgets.battery_text_color_low = gmc.color["orange900"]
widgets.battery_text_color_critical = gmc.color["red900"]
widgets.clock_icon = icon_path .. "/actions/clock.svg"
widgets.clock_text_color = gmc.color["black"]
widgets.clock_date_color = gmc.color["green300"]
widgets.net_internt_connected_icon = icon_path .. "/status/network-wireless-connected.svg"
widgets.net_internt_disconnected_icon = icon_path .. "/status/network-wireless-disconnected.svg"
widgets.volume_high_icon = icon_path .. "/panel/audio-volume-high.svg"
widgets.volume_medium_icon = icon_path .. "/panel/audio-volume-medium.svg"
widgets.volume_low_icon = icon_path .. "/panel/audio-volume-low.svg"
widgets.volume_muted_icon = icon_path .. "/panel/audio-volume-muted.svg"
return widgets