diff --git a/.config/awesome/.luarc.json b/.config/awesome/.luarc.json index b65a4b4..90910e5 100644 --- a/.config/awesome/.luarc.json +++ b/.config/awesome/.luarc.json @@ -1,5 +1,5 @@ { "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", "diagnostics.globals": ["awesome", "client", "button", "dbus", "drawable", "drawin", "key", "keygrabber", "mousegrabber", "root", "selection", "tag", "window", "table.unpack", "unpack", "math.atan2", "jit", "pack", "mouse", "screen", "nlog", "log", "context"], - "workspace.library": ["/usr/share/awesome/lib/"] + "workspace.library": ["/usr/share/awesome/lib/", "/usr/share/lua/5.4/"] } diff --git a/.config/awesome/themes/catppuccin-macchiato/assets/music.png b/.config/awesome/themes/catppuccin-macchiato/assets/music.png new file mode 100644 index 0000000..aae8c49 Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/assets/music.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/assets/pfp.jpg b/.config/awesome/themes/catppuccin-macchiato/assets/pfp.jpg new file mode 100644 index 0000000..8d4863a Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/assets/pfp.jpg differ diff --git a/.config/awesome/themes/catppuccin-macchiato/assets/volume-off.png b/.config/awesome/themes/catppuccin-macchiato/assets/volume-off.png new file mode 100644 index 0000000..842d7de Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/assets/volume-off.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/assets/volume-on.png b/.config/awesome/themes/catppuccin-macchiato/assets/volume-on.png new file mode 100644 index 0000000..81124d7 Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/assets/volume-on.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/assets/volume.svg b/.config/awesome/themes/catppuccin-macchiato/assets/volume.svg new file mode 100644 index 0000000..7a59aa1 --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/assets/volume.svg @@ -0,0 +1,57 @@ + + + + + + image/svg+xml + + + + + + + + + diff --git a/.config/awesome/themes/catppuccin-macchiato/buttons.png b/.config/awesome/themes/catppuccin-macchiato/buttons.png new file mode 100644 index 0000000..de4cce8 Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/buttons.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/layouts/centered.png b/.config/awesome/themes/catppuccin-macchiato/layouts/centered.png new file mode 100644 index 0000000..180f6de Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/layouts/centered.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/layouts/dwindle.png b/.config/awesome/themes/catppuccin-macchiato/layouts/dwindle.png new file mode 100644 index 0000000..318db09 Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/layouts/dwindle.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/layouts/equalarea.png b/.config/awesome/themes/catppuccin-macchiato/layouts/equalarea.png new file mode 100644 index 0000000..89280ab Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/layouts/equalarea.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/layouts/floating.png b/.config/awesome/themes/catppuccin-macchiato/layouts/floating.png new file mode 100644 index 0000000..501cb4e Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/layouts/floating.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/layouts/machi.png b/.config/awesome/themes/catppuccin-macchiato/layouts/machi.png new file mode 100644 index 0000000..fa158b5 Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/layouts/machi.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/layouts/max.png b/.config/awesome/themes/catppuccin-macchiato/layouts/max.png new file mode 100644 index 0000000..fcbad9a Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/layouts/max.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/layouts/mstab.png b/.config/awesome/themes/catppuccin-macchiato/layouts/mstab.png new file mode 100644 index 0000000..874c6a5 Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/layouts/mstab.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/layouts/tile.png b/.config/awesome/themes/catppuccin-macchiato/layouts/tile.png new file mode 100644 index 0000000..960158b Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/layouts/tile.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/submenu.png b/.config/awesome/themes/catppuccin-macchiato/submenu.png new file mode 100644 index 0000000..b2778e2 Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/submenu.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/taglist/squarefw.png b/.config/awesome/themes/catppuccin-macchiato/taglist/squarefw.png new file mode 100644 index 0000000..2a86430 Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/taglist/squarefw.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/taglist/squarew.png b/.config/awesome/themes/catppuccin-macchiato/taglist/squarew.png new file mode 100644 index 0000000..913f2ca Binary files /dev/null and b/.config/awesome/themes/catppuccin-macchiato/taglist/squarew.png differ diff --git a/.config/awesome/themes/catppuccin-macchiato/theme.lua b/.config/awesome/themes/catppuccin-macchiato/theme.lua new file mode 100644 index 0000000..7402954 --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/theme.lua @@ -0,0 +1,161 @@ +local palette = require("catppuccin.mocha") +local filesystem = require("gears.filesystem") +local dpi = require("beautiful.xresources").apply_dpi +local theme_assets = require("beautiful.theme_assets") +local helpers = require("helpers") + +local theme_path = filesystem.get_configuration_dir() .. "themes/catppuccin-macchiato" + +local theme = {} + +-- Transparent Color +theme.transparent = "#00000000" + +-- Font +theme.font_name = "FiraCode Nerd Font " +theme.font = theme.font_name .. "10" + +-- Assets +theme.music = theme_path .. "assets/music.png" +theme.volume_on = theme_path .. "assets/volume-on.png" +theme.volume_off = theme_path .. "assets/volume-off.png" +theme.pfp = theme_path .. "assets/pfp.jpg" + +-- Theme -- +theme.titlebar_bg_focus = palette.base.hex +theme.titlebar_bg = palette.base.hex +theme.bg_normal = palette.base.hex +theme.bg_focus = palette.surface0.hex +theme.bg_urgent = palette.red.hex +theme.bg_minimize = "#444" +theme.bg_systray = theme.bg_normal + +theme.fg_normal = palette.text.hex +theme.fg_focus = palette.pink.hex +theme.fg_urgent = "#fff" +theme.fg_minimize = "#fff" + +theme.useless_gap = dpi(10) +theme.border_width = dpi(3) +theme.border_normal = palette.surface0.hex +theme.border_focus = palette.pink.hex +theme.border_marked = palette.red.hex + +theme.menu_font = theme.font_name .. "12" +theme.menu_bg_focus = palette.base.hex +theme.menu_fg_focus = palette.blue.hex +theme.menu_border_width = dpi(2) +theme.submenu = "ยป " +theme.menu_height = dpi(37) +theme.menu_width = dpi(194) + +theme.tasklist_bg_focus = palette.base.hex +theme.tasklist_fg_focus = palette.lavender.hex +theme.tasklist_disable_icon = true +theme.tasklist_font = theme.font_name .. "11" + +theme.taglist_spacing = dpi(2) +theme.taglist_bg_focus = palette.base.hex +theme.taglist_disable_icon = true +theme.taglist_font = theme.font_name .. "11" +theme.taglist_fg_focus = palette.blue.hex +theme.taglist_fg_empty = palette.surface2.hex +theme.taglist_fg_occupied = "#526c96" + +-- Generate taglist squares. +local taglist_square_size = dpi(0) +theme.taglist_squares_sel = theme_assets.taglist_squares_sel(taglist_square_size, palette.blue.hex) +theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(taglist_square_size, theme.taglist_fg_occupied) + +-- Edge snap. +theme.snap_bg = palette.pink.hex +theme.snap_border_width = dpi(5) +theme.snap_shape = helpers.ui.rrect(0) + +-- Hotkey popup. +theme.hotkeys_shape = helpers.ui.rrect(12) +theme.hotkeys_border_color = palette.pink.hex +theme.hotkeys_modifiers_fg = palette.overlay2.hex +theme.hotkeys_font = theme.font_name .. "9" +theme.hotkeys_description_font = theme.hotkeys_font + +-- Layout list. +theme.layoutlist_shape_selected = helpers.ui.rrect(7) + +-- Tabs. +theme.mstab_bar_height = 1 +theme.mstab_dont_resize_slaves = true +theme.mstab_bar_padding = dpi(10) +theme.mstab_border_radius = dpi(6) +theme.mstab_bar_ontop = false +theme.mstab_tabbar_position = "top" +theme.mstab_tabbar_style = "default" +theme.mstab_bar_disable = true + +-- Layout machi. +theme.machi_switcher_border_color = palette.surface0.hex +theme.machi_switcher_border_opacity = 0.4 +theme.machi_editor_border_color = palette.surface1.hex +theme.machi_editor_border_opacity = 0.4 +theme.machi_editor_active_opacity = 0.4 + +-- Bling. +theme.tag_preview_widget_border_radius = dpi(6) +theme.tag_preview_client_border_radius = dpi(6) +theme.tag_preview_client_opacity = 1 +theme.tag_preview_client_bg = palette.base.hex +theme.tag_preview_client_border_color = palette.surface0.hex +theme.tag_preview_client_border_width = dpi(2) +theme.tag_preview_widget_border_color = palette.pink.hex +theme.tag_preview_widget_border_width = dpi(2) +theme.tag_preview_widget_margin = 4 + +-- Notifications. +theme.notification_spacing = dpi(4) +theme.notification_bg = palette.base.hex + +-- Titlebar images. +theme.titlebar_close_button_normal = theme_path .. "titlebar/unfocus.svg" +theme.titlebar_close_button_focus = theme_path .. "titlebar/close.svg" +theme.titlebar_close_button_normal_hover = theme_path .. "titlebar/close_hover.svg" +theme.titlebar_close_button_focus_hover = theme_path .. "titlebar/close_hover.svg" + +theme.titlebar_minimize_button_normal = theme_path .. "titlebar/unfocus.svg" +theme.titlebar_minimize_button_focus = theme_path .. "titlebar/minimize.svg" +theme.titlebar_minimize_button_normal_hover = theme_path .. "titlebar/minimize_hover.svg" +theme.titlebar_minimize_button_focus_hover = theme_path .. "titlebar/minimize_hover.svg" + +theme.titlebar_ontop_button_normal_inactive = theme_path .. "titlebar/unfocus.svg" +theme.titlebar_ontop_button_focus_inactive = theme_path .. "titlebar/ontop.svg" + +theme.titlebar_ontop_button_normal_active = theme_path .. "titlebar/unfocus.svg" +theme.titlebar_ontop_button_focus_active = theme_path .. "titlebar/ontop.svg" + +theme.titlebar_maximized_button_normal_active = theme_path .. "titlebar/unfocus.svg" +theme.titlebar_maximized_button_focus_active = theme_path .. "titlebar/maximize.svg" +theme.titlebar_maximized_button_normal_active_hover = theme_path .. "titlebar/maximize_hover.svg" +theme.titlebar_maximized_button_focus_active_hover = theme_path .. "titlebar/maximize_hover.svg" + +theme.titlebar_maximized_button_normal_inactive = theme_path .. "titlebar/unfocus.svg" +theme.titlebar_maximized_button_focus_inactive = theme_path .. "titlebar/maximize.svg" +theme.titlebar_maximized_button_normal_inactive_hover = theme_path .. "titlebar/maximize_hover.svg" +theme.titlebar_maximized_button_focus_inactive_hover = theme_path .. "titlebar/maximize_hover.svg" + +theme.wallpaper = theme_path .. "buttons.png" + +theme.layout_floating = theme_path .. "layouts/floating.png" +theme.layout_max = theme_path .. "layouts/max.png" +theme.layout_tile = theme_path .. "layouts/tile.png" +theme.layout_dwindle = theme_path .. "layouts/dwindle.png" +theme.layout_centered = theme_path .. "layouts/centered.png" +theme.layout_mstab = theme_path .. "layouts/mstab.png" +theme.layout_equalarea = theme_path .. "layouts/equalarea.png" +theme.layout_machi = theme_path .. "layouts/machi.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. +theme.icon_theme = "Papirus" + +return theme diff --git a/.config/awesome/themes/catppuccin-macchiato/titlebar/close.svg b/.config/awesome/themes/catppuccin-macchiato/titlebar/close.svg new file mode 100644 index 0000000..e322f94 --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/titlebar/close.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.config/awesome/themes/catppuccin-macchiato/titlebar/close_hover.svg b/.config/awesome/themes/catppuccin-macchiato/titlebar/close_hover.svg new file mode 100644 index 0000000..ce5e14d --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/titlebar/close_hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.config/awesome/themes/catppuccin-macchiato/titlebar/maximize.svg b/.config/awesome/themes/catppuccin-macchiato/titlebar/maximize.svg new file mode 100644 index 0000000..6e2c884 --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/titlebar/maximize.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.config/awesome/themes/catppuccin-macchiato/titlebar/maximize_hover.svg b/.config/awesome/themes/catppuccin-macchiato/titlebar/maximize_hover.svg new file mode 100644 index 0000000..ec5e48a --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/titlebar/maximize_hover.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/.config/awesome/themes/catppuccin-macchiato/titlebar/minimize.svg b/.config/awesome/themes/catppuccin-macchiato/titlebar/minimize.svg new file mode 100644 index 0000000..3c233b7 --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/titlebar/minimize.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.config/awesome/themes/catppuccin-macchiato/titlebar/minimize_hover.svg b/.config/awesome/themes/catppuccin-macchiato/titlebar/minimize_hover.svg new file mode 100644 index 0000000..bfb63e6 --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/titlebar/minimize_hover.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/.config/awesome/themes/catppuccin-macchiato/titlebar/ontop.svg b/.config/awesome/themes/catppuccin-macchiato/titlebar/ontop.svg new file mode 100644 index 0000000..901dd95 --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/titlebar/ontop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.config/awesome/themes/catppuccin-macchiato/titlebar/unfocus.svg b/.config/awesome/themes/catppuccin-macchiato/titlebar/unfocus.svg new file mode 100644 index 0000000..14ba0b1 --- /dev/null +++ b/.config/awesome/themes/catppuccin-macchiato/titlebar/unfocus.svg @@ -0,0 +1 @@ + \ No newline at end of file