diff --git a/config/common/sneexy/mazurek/files.yml b/config/common/sneexy/mazurek/files.yml index 5edd521e..c0b81449 100644 --- a/config/common/sneexy/mazurek/files.yml +++ b/config/common/sneexy/mazurek/files.yml @@ -1,4 +1,5 @@ type: files files: - - sneexy/mazurek/homedir: /usr/etc/skel - sneexy/mazurek/usr: /usr + - sneexy/mazurek/etc: /usr/etc + - sneexy/mazurek/homedir: /usr/etc/skel diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/hypr-focus-mode.sh b/config/files/sneexy/mazurek/etc/mazurek/hypr-focus-mode.sh similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/hypr-focus-mode.sh rename to config/files/sneexy/mazurek/etc/mazurek/hypr-focus-mode.sh diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/hypr/binds.conf b/config/files/sneexy/mazurek/etc/mazurek/hypr/binds.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/hypr/binds.conf rename to config/files/sneexy/mazurek/etc/mazurek/hypr/binds.conf diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/hypr/hyprland.conf b/config/files/sneexy/mazurek/etc/mazurek/hypr/hyprland.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/hypr/hyprland.conf rename to config/files/sneexy/mazurek/etc/mazurek/hypr/hyprland.conf diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/hypr/monitors.conf b/config/files/sneexy/mazurek/etc/mazurek/hypr/monitors.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/hypr/monitors.conf rename to config/files/sneexy/mazurek/etc/mazurek/hypr/monitors.conf diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/hypr/startup.conf b/config/files/sneexy/mazurek/etc/mazurek/hypr/startup.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/hypr/startup.conf rename to config/files/sneexy/mazurek/etc/mazurek/hypr/startup.conf diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/hypr/variables.conf b/config/files/sneexy/mazurek/etc/mazurek/hypr/variables.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/hypr/variables.conf rename to config/files/sneexy/mazurek/etc/mazurek/hypr/variables.conf diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/hypr/windowrules.conf b/config/files/sneexy/mazurek/etc/mazurek/hypr/windowrules.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/hypr/windowrules.conf rename to config/files/sneexy/mazurek/etc/mazurek/hypr/windowrules.conf diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/mazurek-user-post-setup.sh b/config/files/sneexy/mazurek/etc/mazurek/mazurek-user-post-setup.sh similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/mazurek-user-post-setup.sh rename to config/files/sneexy/mazurek/etc/mazurek/mazurek-user-post-setup.sh diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/restart-portal-wlr.sh b/config/files/sneexy/mazurek/etc/mazurek/restart-portal-wlr.sh similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/restart-portal-wlr.sh rename to config/files/sneexy/mazurek/etc/mazurek/restart-portal-wlr.sh diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/swww-random.sh b/config/files/sneexy/mazurek/etc/mazurek/swww-random.sh similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/swww-random.sh rename to config/files/sneexy/mazurek/etc/mazurek/swww-random.sh diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/waybar/config b/config/files/sneexy/mazurek/etc/mazurek/waybar/config similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/waybar/config rename to config/files/sneexy/mazurek/etc/mazurek/waybar/config diff --git a/config/files/sneexy/mazurek/usr/etc/mazurek/waybar/style.css b/config/files/sneexy/mazurek/etc/mazurek/waybar/style.css similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/mazurek/waybar/style.css rename to config/files/sneexy/mazurek/etc/mazurek/waybar/style.css diff --git a/config/files/sneexy/mazurek/usr/etc/sddm.conf.d/10-general.conf b/config/files/sneexy/mazurek/etc/sddm.conf.d/10-general.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/sddm.conf.d/10-general.conf rename to config/files/sneexy/mazurek/etc/sddm.conf.d/10-general.conf diff --git a/config/files/sneexy/mazurek/usr/etc/sddm.conf.d/20-theme.conf b/config/files/sneexy/mazurek/etc/sddm.conf.d/20-theme.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/sddm.conf.d/20-theme.conf rename to config/files/sneexy/mazurek/etc/sddm.conf.d/20-theme.conf diff --git a/config/files/sneexy/mazurek/usr/etc/systemd/resolved.conf.d/dns_servers.conf b/config/files/sneexy/mazurek/etc/systemd/resolved.conf.d/dns_servers.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/systemd/resolved.conf.d/dns_servers.conf rename to config/files/sneexy/mazurek/etc/systemd/resolved.conf.d/dns_servers.conf diff --git a/config/files/sneexy/mazurek/usr/etc/systemd/resolved.conf.d/fallback_dns.conf b/config/files/sneexy/mazurek/etc/systemd/resolved.conf.d/fallback_dns.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/systemd/resolved.conf.d/fallback_dns.conf rename to config/files/sneexy/mazurek/etc/systemd/resolved.conf.d/fallback_dns.conf diff --git a/config/files/sneexy/mazurek/usr/etc/systemd/suspend@.service b/config/files/sneexy/mazurek/etc/systemd/suspend@.service similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/systemd/suspend@.service rename to config/files/sneexy/mazurek/etc/systemd/suspend@.service diff --git a/config/files/sneexy/mazurek/usr/etc/systemd/system/user@.service.d/local.conf b/config/files/sneexy/mazurek/etc/systemd/system/user@.service.d/local.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/systemd/system/user@.service.d/local.conf rename to config/files/sneexy/mazurek/etc/systemd/system/user@.service.d/local.conf diff --git a/config/files/sneexy/mazurek/usr/etc/sysusers.d/10-sddm.conf b/config/files/sneexy/mazurek/etc/sysusers.d/10-sddm.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/sysusers.d/10-sddm.conf rename to config/files/sneexy/mazurek/etc/sysusers.d/10-sddm.conf diff --git a/config/files/sneexy/mazurek/usr/etc/tlp.conf b/config/files/sneexy/mazurek/etc/tlp.conf similarity index 100% rename from config/files/sneexy/mazurek/usr/etc/tlp.conf rename to config/files/sneexy/mazurek/etc/tlp.conf diff --git a/config/files/sneexy/mazurek/homedir/.config/swaync/config.json b/config/files/sneexy/mazurek/homedir/.config/swaync/config.json new file mode 100644 index 00000000..f19ebbcf --- /dev/null +++ b/config/files/sneexy/mazurek/homedir/.config/swaync/config.json @@ -0,0 +1,64 @@ +{ + "$schema": "/etc/xdg/swaync/configSchema.json", + "positionX": "right", + "positionY": "top", + "layer": "overlay", + "control-center-layer": "top", + "layer-shell": true, + "cssPriority": "application", + "control-center-margin-top": 5, + "control-center-margin-bottom": 5, + "control-center-margin-right": 5, + "control-center-margin-left": 0, + "notification-icon-size": 48, + "notification-body-image-height": 100, + "notification-body-image-width": 200, + "timeout": 10, + "timeout-low": 5, + "timeout-critical": 0, + "fit-to-screen": true, + "control-center-width": 420, + "control-center-height": 722, + "notification-window-width": 500, + "keyboard-shortcuts": true, + "image-visibility": "when-available", + "transition-time": 200, + "hide-on-clear": true, + "hide-on-action": true, + "script-fail-notify": true, + "scripts": { + }, + "notification-visibility": { + }, + "widgets": [ + "volume", + "backlight", + "title", + "dnd", + "notifications" + ], + "widget-config": { + "title": { + "text": "Notifications", + "clear-all-button": true, + "button-text": "Clear All" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "volume": { + "label": "󰕾" + }, + "backlight": { + "label": "󰃠" + }, + "label": { + "max-lines": 5, + "text": "Label Text" + }, + "mpris": { + "image-size": 68, + "image-radius": 12 + } + } +} diff --git a/config/files/sneexy/mazurek/homedir/.config/swaync/style.css b/config/files/sneexy/mazurek/homedir/.config/swaync/style.css new file mode 100644 index 00000000..3d75017f --- /dev/null +++ b/config/files/sneexy/mazurek/homedir/.config/swaync/style.css @@ -0,0 +1,255 @@ +/* very bad __ +* _____ ____ _ _ _ _ __ ___ ___ ___ _ __ / _| +* / __\ \ /\ / / _` | | | | '_ \ / __| / __/ _ \| '_ \| |_ +* \__ \\ V V / (_| | |_| | | | | (__ | (_| (_) | | | | _| +* |___/ \_/\_/ \__,_|\__, |_| |_|\___| \___\___/|_| |_|_| +* |___/ +*/ + +@define-color cc-bg rgb(17, 17, 27); +@define-color text rgb(205, 214, 244); + +@define-color noti-border-color rgb(24, 24, 37); +@define-color noti-bg rgb(17, 17, 27); +@define-color noti-bg-hover rgb(24, 24, 37); +@define-color noti-bg-focus rgb(30, 30, 46); +@define-color noti-close-bg rgba(255, 255, 255, 0.1); +@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15); + +@define-color bg-selected rgb(166, 227, 161); + +.notification-row { + outline: none; +} + +.notification-row:focus, +.notification-row:hover { + background: @noti-bg-focus; +} + +.notification { + border-radius: 12px; + margin: 6px 6px; + padding: 0px; + background-color: unset; +} + +.notification-content { + padding: 12px; + border-radius: 12px; +} + +.close-button { + background: @noti-close-bg; + color: white; + text-shadow: none; + padding: 0; + border-radius: 100%; + margin-top: 10px; + margin-right: 16px; + box-shadow: none; + border: none; + min-width: 24px; + min-height: 24px; +} + +.close-button:hover { + box-shadow: none; + background: @noti-close-bg-hover; + transition: all 0.15s ease-in-out; + border: none; +} + +.notification-default-action, +.notification-action { + padding: 4px; + margin: 0; + box-shadow: none; + background: @noti-bg; + border: 1px solid @noti-border-color; + color: @text; +} + +.notification-default-action:hover, +.notification-action:hover { + -gtk-icon-effect: none; + background: @noti-bg-hover; +} + +.notification-default-action { + border-radius: 12px; +} + +/* When alternative actions are visible */ +.notification-default-action:not(:only-child) { + border-bottom-left-radius: 0px; + border-bottom-right-radius: 0px; +} + +.notification-action { + border-radius: 0px; + border-top: none; + border-right: none; +} + +/* add bottom border radius to eliminate clipping */ +.notification-action:first-child { + border-bottom-left-radius: 10px; +} + +.notification-action:last-child { + border-bottom-right-radius: 10px; + border-right: 1px solid @noti-border-color; +} + +row { + background-color: unset; +} + +.body-image { + margin-top: 6px; + background-color: @text; + border-radius: 12px; +} + +.summary { + font-size: 16px; + font-weight: bold; + background: transparent; + color: @text; + text-shadow: none; +} + +.time { + font-size: 16px; + font-weight: bold; + background: transparent; + color: @text; + text-shadow: none; + margin-right: 18px; +} + +.body { + font-size: 15px; + font-weight: normal; + background: transparent; + color: @text; + text-shadow: none; +} + +scale { + min-width: 4px; + min-height: 4px; + background: #1e1e2e; + border-radius: 30px; + margin-left: 16px; + margin-right: 2px; + margin-top: 5px; + margin-bottom: 5px; +} + +scale trough, scale highlight { + min-width: 15px; + min-height: 15px; + border-radius: 10px; +} + +scale slider { + min-width: 1px; + min-height: 1px; + color: unset; + background-color: unset; + box-shadow: unset; +} + +/* The "Notifications" and "Do Not Disturb" text widget */ +.top-action-title { + color: @text; + text-shadow: none; +} + +.control-center { + background: @cc-bg; + border-radius: 10px; + border-style: solid; + border-width: 2px; + border-color: #a6e3a1; +} + +.control-center-list { + background: transparent; +} + +.floating-notifications { + background: transparent; +} + +/* Window behind control center and on all other monitors */ +.blank-window { + background: transparent; +} + +/*** Widgets ***/ + +/* Title widget */ +.widget-title { + margin: 8px; + font-size: 1.5rem; +} +.widget-title > button { + font-size: initial; + color: @text; + text-shadow: none; + background: @noti-bg-focus; + border: 1px solid @noti-border-color; + box-shadow: none; + border-radius: 12px; +} +.widget-title > button:hover { + background: @noti-bg-hover; +} + +/* Volume and Brightness */ +.widget-volume { + margin: 10px 8px 10px 8px; + padding: 1px 4px 1px 11px; + font-size: 20px; + color: #1e1e2e; + background: #f9e2af; +} +.widget-backlight { + margin: 0px 8px 0px 8px; + padding: 1px 4px 1px 11px; + font-size: 20px; + color: #1e1e2e; + background: #89dceb; +} + +/* DND widget */ +.widget-dnd { + margin: 0px 8px 0px 8px; + font-size: 1.1rem; +} +.widget-dnd > switch { + font-size: initial; + border-radius: 12px; + background: #585b70; + border: 1px solid @noti-border-color; + box-shadow: none; +} +.widget-dnd > switch:checked { + background: @bg-selected; +} +.widget-dnd > switch slider { + background: @noti-bg-hover; + border-radius: 12px; +} + +/* Label widget */ +.widget-label { + margin: 8px; +} +.widget-label > label { + font-size: 1.1rem; +} + diff --git a/config/files/sneexy/mazurek/homedir/.config/wezterm/wezterm.lua b/config/files/sneexy/mazurek/homedir/.config/wezterm/wezterm.lua new file mode 100644 index 00000000..1c4b8d9a --- /dev/null +++ b/config/files/sneexy/mazurek/homedir/.config/wezterm/wezterm.lua @@ -0,0 +1,66 @@ +local wezterm = require 'wezterm'; +local config = wezterm.config_builder() + +config.front_end = 'WebGpu' + +config.font = wezterm.font 'JetBrainsMono NF' +config.freetype_load_target = 'Normal' +config.font_size = 11 + +config.window_background_opacity = 1 +config.enable_scroll_bar = true +config.window_padding = { + left = 11, + right = 11, + top = 11, + bottom = 11, +} +config.window_frame = { + font = wezterm.font { family = 'Lexend', weight = 'Bold' }, + font_size = 10, + active_titlebar_bg = '#1e1e2e', + inactive_titlebar_bg = '#1e1e2e', +} + +config.colors = { + tab_bar = { + background = '#1e1e2e', + inactive_tab_edge = '#181825', + active_tab = { + bg_color = '#a6e3a1', + fg_color = '#1e1e2e', + italic = true, + }, + inactive_tab = { + bg_color = '#181825', + fg_color = '#cdd6f4', + }, + inactive_tab_hover = { + bg_color = '#11111b', + fg_color = '#cdd6f4', + italic = false, + }, + new_tab = { + bg_color = '#11111b', + fg_color = '#cdd6f4', + italic = false, + }, + new_tab_hover = { + bg_color = '#74c7ec', + fg_color = '#1e1e2e', + italic = false, + }, + }, +} + +config.use_fancy_tab_bar = true +config.hide_tab_bar_if_only_one_tab = true +config.tab_bar_at_bottom = true +config.enable_scroll_bar = false + +config.color_scheme = 'Catppuccin Mocha' + +config.default_cursor_style = 'BlinkingBar' +config.animation_fps = 60 + +return config diff --git a/config/recipes/sneexy/mazurek.yml b/config/recipes/sneexy/mazurek.yml index 5201bc20..b5f047fa 100644 --- a/config/recipes/sneexy/mazurek.yml +++ b/config/recipes/sneexy/mazurek.yml @@ -1,7 +1,7 @@ # image will be published to ghcr.io/sernik-tech/ name: mazurek # description will be included in the image's metadata -description: sneexy swayfx +description: sneexy's personal hyprland spin # the base image to build on top of (FROM) and the version tag to use base-image: ghcr.io/ublue-os/base-main