Regenerated

This commit is contained in:
2026-04-21 22:20:17 +02:00
parent 449e4826c0
commit 37fdb75bd9
7 changed files with 1238 additions and 398 deletions
+676 -378
View File
File diff suppressed because it is too large Load Diff
+287 -10
View File
@@ -135,6 +135,7 @@ zoxide
#flatpaks
eu.betterbird.Betterbird
com.todoist.Todoist
com.logseq.Logseq
#+END_SRC
** =generated/assets/aliases.conf=
@@ -2022,6 +2023,27 @@ in
}
#+END_SRC
** =generated/modules/traveldroid/system/swaync.nix=
This sets the dbus implementation
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/swaync.nix :noweb yes :mkdirp yes :eval never
{ config, pkgs, lib, ... }:
{
environment.systemPackages = [ pkgs.swaynotificationcenter ];
home-manager.users.${config.mainUser} = {
services.swaync = {
enable = true;
# Neither settings nor style are managed by Nix.
# Swaync will read both from ~/.config/swaync/ directly:
# ~/.config/swaync/config.json
# ~/.config/swaync/style.css
};
};
}
#+END_SRC
* generated/users
** =generated/users/=
@@ -2635,18 +2657,18 @@ bind = $mainMod, X , exec, qs -c powermenu
bind = $mainMod, L, exec, hyprlock
# grimblast
bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active
bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area
bind = , XF86Screenshot, exec, grimblast -n -f copysave area
bind = $mainMod ALT, P, exec, grimblast -n -f copysave output
bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen
# bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active
# bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area
# bind = , XF86Screenshot, exec, grimblast -n -f copysave area
# bind = $mainMod ALT, P, exec, grimblast -n -f copysave output
# bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen
# Flameshot keybindings
# bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c
# bind = $mainMod SHIFT, S, exec, flameshot gui
# bind = , XF86Screenshot, exec, flameshot gui
# bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c
# bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c
bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c
bind = $mainMod SHIFT, S, exec, flameshot gui
bind = , XF86Screenshot, exec, flameshot gui
bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c
bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c
# Switch windows
bind = ALT, TAB, cyclenext, prev
@@ -4251,6 +4273,261 @@ These are config files for .config/stylix
<p>See the <a href="https://nix-community.github.io/stylix">Stylix documentation</a> for how to apply these colors on NixOS.</p>
</body>
</html>
#+END_SRC
** =generated/.config/swaync/config.json=
These are config files for waybar
#+BEGIN_SRC json :tangle generated/.config/swaync/config.json :noweb yes :mkdirp yes :eval never
{
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"cssPriority": "application",
"control-center-margin-top": 8,
"control-center-margin-bottom": 8,
"control-center-margin-right": 8,
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": false,
"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": 500,
"control-center-height": 600,
"notification-window-width": 400,
"keyboard-shortcuts": true,
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": [
"inhibitors",
"title",
"dnd",
"notifications"
],
"widget-config": {
"inhibitors": {
"text": "Inhibitors",
"button-text": "Clear All",
"clear-all-button": true
},
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear All"
},
"dnd": {
"text": "Do Not Disturb"
},
"notifications": {}
}
}
#+END_SRC
** =generated/.config/swaync/style.css=
These are config files for waybar
#+BEGIN_SRC css :tangle generated/.config/swaync/style.css :noweb yes :mkdirp yes :eval never
@import url("~/.config/shared/Colors.css");
* {
all: unset;
font-size: 13px;
font-family: sans-serif;
transition: 200ms;
}
/* ── Gradient border mixin via background-image trick ──────────────────────
Elements that need a gradient border get:
background-image: linear-gradient(@base, @base),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
border: 1px solid transparent;
This paints the gradient behind the element, clipped to the border area.
────────────────────────────────────────────────────────────────────────── */
/* ── Notification rows ─────────────────────────────────────────────────── */
.notification-row {
outline: none;
margin: 4px 0;
}
.notification-row:focus,
.notification-row:hover {
opacity: 0.85;
}
/* ── Individual notification ───────────────────────────────────────────── */
.notification {
border-radius: 12px;
padding: 8px;
margin: 4px 8px;
color: @text;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
/* gradient border */
border: 1px solid transparent;
background-image:
linear-gradient(@base-alpha, @base-alpha),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
}
.notification-content {
padding: 4px;
}
.notification-default-action {
border-radius: 12px;
}
.notification-default-action:hover {
background: alpha(@blue, 0.1);
}
/* ── Text elements ─────────────────────────────────────────────────────── */
.summary {
font-size: 13px;
font-weight: bold;
color: @text;
}
.time {
font-size: 11px;
color: @overlay0;
}
.body {
font-size: 12px;
color: @subtext1;
}
/* ── Control center ────────────────────────────────────────────────────── */
.control-center {
border-radius: 16px;
padding: 8px;
margin: 8px;
color: @text;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
/* gradient border */
border: 1px solid transparent;
background-image:
linear-gradient(@mantle, @mantle),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
}
.control-center-list {
background: transparent;
}
.control-center-list-placeholder {
opacity: 0.4;
font-size: 14px;
}
/* ── Misc windows ──────────────────────────────────────────────────────── */
.floating-notifications {
background: transparent;
}
.blank-window {
background: transparent;
}
/* ── Widget: title ─────────────────────────────────────────────────────── */
.widget-title {
font-size: 14px;
font-weight: bold;
color: @blue;
padding: 8px 4px 4px 4px;
}
.widget-title > button {
font-size: 12px;
color: @overlay0;
background: alpha(@blue, 0.1);
border-radius: 8px;
padding: 2px 8px;
}
.widget-title > button:hover {
background: alpha(@blue, 0.2);
color: @text;
}
/* ── Widget: Do Not Disturb ────────────────────────────────────────────── */
.widget-dnd {
padding: 4px;
}
.widget-dnd > switch {
border-radius: 20px;
background: alpha(@surface1, 0.3);
/* gradient border */
border: 1px solid transparent;
background-image:
linear-gradient(alpha(@surface1, 0.3), alpha(@surface1, 0.3)),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
}
.widget-dnd > switch:checked {
background-image:
linear-gradient(alpha(@blue, 0.5), alpha(@blue, 0.5)),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
}
.widget-dnd > switch slider {
border-radius: 20px;
background: @text;
min-width: 20px;
min-height: 20px;
}
/* ── Widget: inhibitors ────────────────────────────────────────────────── */
.widget-inhibitors {
padding: 4px;
color: @red;
font-size: 12px;
}
/* ── Close button ──────────────────────────────────────────────────────── */
.close-button {
background: alpha(@red, 0.15);
border-radius: 6px;
color: @red;
padding: 2px 6px;
font-size: 11px;
}
.close-button:hover {
background: alpha(@red, 0.3);
}
#+END_SRC
+10 -10
View File
@@ -12,18 +12,18 @@ bind = $mainMod, X , exec, qs -c powermenu
bind = $mainMod, L, exec, hyprlock
# grimblast
bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active
bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area
bind = , XF86Screenshot, exec, grimblast -n -f copysave area
bind = $mainMod ALT, P, exec, grimblast -n -f copysave output
bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen
# bind = $mainMod SHIFT, P, exec, grimblast -n -f copysave active
# bind = $mainMod SHIFT, S, exec, grimblast -n -f copysave area
# bind = , XF86Screenshot, exec, grimblast -n -f copysave area
# bind = $mainMod ALT, P, exec, grimblast -n -f copysave output
# bind = $mainMod CTRL, P, exec, grimblast -n -f copysave screen
# Flameshot keybindings
# bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c
# bind = $mainMod SHIFT, S, exec, flameshot gui
# bind = , XF86Screenshot, exec, flameshot gui
# bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c
# bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c
bind = $mainMod SHIFT, P, exec, flameshot full -p ~/Pictures/Screenshots -c
bind = $mainMod SHIFT, S, exec, flameshot gui
bind = , XF86Screenshot, exec, flameshot gui
bind = $mainMod ALT, P, exec, flameshot full -d 5000 -p ~/Pictures/Screenshots -c
bind = $mainMod CTRL, P, exec, flameshot screen -n 0 -p ~/Pictures/Screenshots -c
# Switch windows
bind = ALT, TAB, cyclenext, prev
@@ -0,0 +1,53 @@
// --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"cssPriority": "application",
"control-center-margin-top": 8,
"control-center-margin-bottom": 8,
"control-center-margin-right": 8,
"control-center-margin-left": 0,
"notification-2fa-action": true,
"notification-inline-replies": false,
"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": 500,
"control-center-height": 600,
"notification-window-width": 400,
"keyboard-shortcuts": true,
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,
"script-fail-notify": true,
"widgets": [
"inhibitors",
"title",
"dnd",
"notifications"
],
"widget-config": {
"inhibitors": {
"text": "Inhibitors",
"button-text": "Clear All",
"clear-all-button": true
},
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear All"
},
"dnd": {
"text": "Do Not Disturb"
},
"notifications": {}
}
}
+194
View File
@@ -0,0 +1,194 @@
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
@import url("~/.config/shared/Colors.css");
* {
all: unset;
font-size: 13px;
font-family: sans-serif;
transition: 200ms;
}
/* ── Gradient border mixin via background-image trick ──────────────────────
Elements that need a gradient border get:
background-image: linear-gradient(@base, @base),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
border: 1px solid transparent;
This paints the gradient behind the element, clipped to the border area.
────────────────────────────────────────────────────────────────────────── */
/* ── Notification rows ─────────────────────────────────────────────────── */
.notification-row {
outline: none;
margin: 4px 0;
}
.notification-row:focus,
.notification-row:hover {
opacity: 0.85;
}
/* ── Individual notification ───────────────────────────────────────────── */
.notification {
border-radius: 12px;
padding: 8px;
margin: 4px 8px;
color: @text;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
/* gradient border */
border: 1px solid transparent;
background-image:
linear-gradient(@base-alpha, @base-alpha),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
}
.notification-content {
padding: 4px;
}
.notification-default-action {
border-radius: 12px;
}
.notification-default-action:hover {
background: alpha(@blue, 0.1);
}
/* ── Text elements ─────────────────────────────────────────────────────── */
.summary {
font-size: 13px;
font-weight: bold;
color: @text;
}
.time {
font-size: 11px;
color: @overlay0;
}
.body {
font-size: 12px;
color: @subtext1;
}
/* ── Control center ────────────────────────────────────────────────────── */
.control-center {
border-radius: 16px;
padding: 8px;
margin: 8px;
color: @text;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
/* gradient border */
border: 1px solid transparent;
background-image:
linear-gradient(@mantle, @mantle),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
}
.control-center-list {
background: transparent;
}
.control-center-list-placeholder {
opacity: 0.4;
font-size: 14px;
}
/* ── Misc windows ──────────────────────────────────────────────────────── */
.floating-notifications {
background: transparent;
}
.blank-window {
background: transparent;
}
/* ── Widget: title ─────────────────────────────────────────────────────── */
.widget-title {
font-size: 14px;
font-weight: bold;
color: @blue;
padding: 8px 4px 4px 4px;
}
.widget-title > button {
font-size: 12px;
color: @overlay0;
background: alpha(@blue, 0.1);
border-radius: 8px;
padding: 2px 8px;
}
.widget-title > button:hover {
background: alpha(@blue, 0.2);
color: @text;
}
/* ── Widget: Do Not Disturb ────────────────────────────────────────────── */
.widget-dnd {
padding: 4px;
}
.widget-dnd > switch {
border-radius: 20px;
background: alpha(@surface1, 0.3);
/* gradient border */
border: 1px solid transparent;
background-image:
linear-gradient(alpha(@surface1, 0.3), alpha(@surface1, 0.3)),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
}
.widget-dnd > switch:checked {
background-image:
linear-gradient(alpha(@blue, 0.5), alpha(@blue, 0.5)),
linear-gradient(45deg, @blue, @green);
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
}
.widget-dnd > switch slider {
border-radius: 20px;
background: @text;
min-width: 20px;
min-height: 20px;
}
/* ── Widget: inhibitors ────────────────────────────────────────────────── */
.widget-inhibitors {
padding: 4px;
color: @red;
font-size: 12px;
}
/* ── Close button ──────────────────────────────────────────────────────── */
.close-button {
background: alpha(@red, 0.15);
border-radius: 6px;
color: @red;
padding: 2px 6px;
font-size: 11px;
}
.close-button:hover {
background: alpha(@red, 0.3);
}
@@ -66,3 +66,4 @@ zoxide
#flatpaks
eu.betterbird.Betterbird
com.todoist.Todoist
com.logseq.Logseq
@@ -0,0 +1,17 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ config, pkgs, lib, ... }:
{
environment.systemPackages = [ pkgs.swaynotificationcenter ];
home-manager.users.${config.mainUser} = {
services.swaync = {
enable = true;
# Neither settings nor style are managed by Nix.
# Swaync will read both from ~/.config/swaync/ directly:
# ~/.config/swaync/config.json
# ~/.config/swaync/style.css
};
};
}