Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
feat(mazurek): i did it again mom
Browse files Browse the repository at this point in the history
  • Loading branch information
sneexy-boi committed Mar 9, 2024
1 parent 11f466e commit 03ee9ad
Show file tree
Hide file tree
Showing 25 changed files with 388 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/common/sneexy/mazurek/files.yml
Original file line number Diff line number Diff line change
@@ -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
64 changes: 64 additions & 0 deletions config/files/sneexy/mazurek/homedir/.config/swaync/config.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
255 changes: 255 additions & 0 deletions config/files/sneexy/mazurek/homedir/.config/swaync/style.css
Original file line number Diff line number Diff line change
@@ -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;
}

66 changes: 66 additions & 0 deletions config/files/sneexy/mazurek/homedir/.config/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 03ee9ad

Please sign in to comment.