Regenerated

This commit is contained in:
2026-04-29 22:35:22 +02:00
parent c7aa148a67
commit 5d98c8f325
16 changed files with 429 additions and 716 deletions
+402 -457
View File
File diff suppressed because it is too large Load Diff
+14 -62
View File
@@ -98,6 +98,7 @@ handbrake
hyperfine hyperfine
just just
jq jq
libinput
libreoffice libreoffice
lua lua
nextcloud-client nextcloud-client
@@ -315,8 +316,8 @@ in
{ {
home-manager.users.${username} = { home-manager.users.${username} = {
home.file = { home.file = {
".config/shared/colors.css" = { ".config/shared/css/colors.css" = {
source = "${flakeRoot}/generated/.config/shared/colors.css"; source = "${flakeRoot}/generated/.config/shared/css/colors.css";
force = true; force = true;
}; };
".config/quickshell/Colors.qml" = { ".config/quickshell/Colors.qml" = {
@@ -2743,7 +2744,6 @@ These are config files for .config/hypr
#+BEGIN_SRC conf :tangle generated/.config/hypr/behaviour.conf :noweb yes :exports code :wrap nil :mkdirp yes :eval never #+BEGIN_SRC conf :tangle generated/.config/hypr/behaviour.conf :noweb yes :exports code :wrap nil :mkdirp yes :eval never
# Keyboard and mouse settings # Keyboard and mouse settings
input { input {
numlock_by_default = true
touchpad { touchpad {
natural_scroll = true natural_scroll = true
tap-to-click = true tap-to-click = true
@@ -2914,7 +2914,7 @@ bind = , XF86Calculator, exec, gnome-calculator
######################### #########################
# System stuff # System stuff
######################### #########################
# bind = $mainMod, U, exec, kitty --class update-term -e bash -lc "~/.config/system/scripts/update.sh; exec bash" # bind = $mainMod, U, exec, kitty --class update-term -e bash -lc "~/.config/shared/scripts/update.sh; exec bash"
bind = $mainMod, U, exec, qs -c updater bind = $mainMod, U, exec, qs -c updater
#+END_SRC #+END_SRC
@@ -4228,9 +4228,9 @@ jq -c -n \
'{text: $text, tooltip: $tooltip, class: $class, alt: $art}' '{text: $text, tooltip: $tooltip, class: $class, alt: $art}'
#+END_SRC #+END_SRC
** =generated/.config/system/scripts/numlock-check.sh= ** =generated/.config/shared/scripts/numlock-check.sh=
Count keyboards and enable numlock if more then 1, else disable Count keyboards and enable numlock if more then 1, else disable
#+BEGIN_SRC sh :tangle generated/.config/system/scripts/numlock-check.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never #+BEGIN_SRC sh :tangle generated/.config/shared/scripts/numlock-check.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never
# Tel toetsenborden met volledige toetsset (geen media-only apparaten) # Tel toetsenborden met volledige toetsset (geen media-only apparaten)
COUNT=$(libinput list-devices 2>/dev/null \ COUNT=$(libinput list-devices 2>/dev/null \
| grep -A5 "Keyboard" \ | grep -A5 "Keyboard" \
@@ -4241,60 +4241,12 @@ COUNT=$(libinput list-devices 2>/dev/null \
if [ "$COUNT" -ge 2 ]; then if [ "$COUNT" -ge 2 ]; then
numlockx on numlockx on
echo $COUNT : On
else else
numlockx off numlockx off
fi fi
#+END_SRC echo $COUNT
echo libinput list-devices
** =generated/.config/system/scripts/power.sh=
Enables a terminal power menu
#+BEGIN_SRC sh :tangle generated/.config/system/scripts/power.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never
#
# Launch a power menu
#
# Requires fzf and systemd (loginctl, systemctl)
#
# Author: Jesse Mirabel <sejjymvm@gmail.com>
# Date: August 19, 2025
# License: MIT
main() {
local list=(
"󰌾 Lock"
"󰐥 Shutdown"
"󰑙 Reboot"
"󰍃 Logout"
"󰒲 Hibernate"
"󰤄 Suspend"
)
local options=(
"--border=sharp"
"--border-label= Power Menu "
"--cycle"
"--ghost=Search"
"--height=~100%"
"--highlight-line"
"--info=inline-right"
"--pointer="
"--reverse"
)
local selected
selected=$(printf "%s\n" "${list[@]}" | fzf "${options[@]}")
case $selected in
Lock) loginctl lock-session ;;
Shutdown) systemctl poweroff ;;
Reboot) systemctl reboot ;;
Logout) loginctl terminate-session "$XDG_SESSION_ID" ;;
Hibernate) systemctl hibernate ;;
Suspend) systemctl suspend ;;
*) return 1 ;;
esac
}
main
#+END_SRC #+END_SRC
** =generated/.config/wofi/scripts/wofi-launcher.sh= ** =generated/.config/wofi/scripts/wofi-launcher.sh=
@@ -4308,9 +4260,9 @@ wofi --show drun \
--prompt "Apps ..." --prompt "Apps ..."
#+END_SRC #+END_SRC
** =generated/.config/shared/colors.css= ** =generated/.config/shared/css/colors.css=
A file containing color variables A file containing color variables
#+BEGIN_SRC css :tangle generated/.config/shared/colors.css :noweb yes :mkdirp yes :eval never #+BEGIN_SRC css :tangle generated/.config/shared/css/colors.css :noweb yes :mkdirp yes :eval never
/* Catppuccin Mocha Palette */ /* Catppuccin Mocha Palette */
@define-color border #96cdd2; @define-color border #96cdd2;
@define-color crust #11111b; @define-color crust #11111b;
@@ -4820,7 +4772,7 @@ These are config files for waybar
** =generated/.config/swaync/style.css= ** =generated/.config/swaync/style.css=
These are config files for waybar These are config files for waybar
#+BEGIN_SRC css :tangle generated/.config/swaync/style.css :noweb yes :mkdirp yes :eval never #+BEGIN_SRC css :tangle generated/.config/swaync/style.css :noweb yes :mkdirp yes :eval never
@import url("/home/henrov/.config/shared/colors.css"); @import url("/home/henrov/.config/shared/css/colors.css");
* { * {
all: unset; all: unset;
@@ -5342,7 +5294,7 @@ These are config files for waybar
** =generated/.config/waybar/style-dark.css= ** =generated/.config/waybar/style-dark.css=
This file contains all css for waybar This file contains all css for waybar
#+BEGIN_SRC css :tangle generated/.config/waybar/style-dark.css :noweb yes :mkdirp yes :eval never #+BEGIN_SRC css :tangle generated/.config/waybar/style-dark.css :noweb yes :mkdirp yes :eval never
@import url("file:///home/henrov/.config/shared/colors.css"); @import url("file:///home/henrov/.config/shared/css/colors.css");
/* --- Global --- */ /* --- Global --- */
* { * {
@@ -5783,7 +5735,7 @@ prompt = > ...
** =generated/.config/wofi/style.css= ** =generated/.config/wofi/style.css=
This is the default layout for wofi This is the default layout for wofi
#+BEGIN_SRC css :tangle generated/.config/wofi/style.css :noweb yes :mkdirp yes :eval never #+BEGIN_SRC css :tangle generated/.config/wofi/style.css :noweb yes :mkdirp yes :eval never
@import "~/.config/shared/colors.css"; @import "~/.config/shared/css/colors.css";
* { * {
background-color: transparent; background-color: transparent;
@@ -1,7 +1,6 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
# Keyboard and mouse settings # Keyboard and mouse settings
input { input {
numlock_by_default = true
touchpad { touchpad {
natural_scroll = true natural_scroll = true
tap-to-click = true tap-to-click = true
@@ -154,5 +154,5 @@ bind = , XF86Calculator, exec, gnome-calculator
######################### #########################
# System stuff # System stuff
######################### #########################
# bind = $mainMod, U, exec, kitty --class update-term -e bash -lc "~/.config/system/scripts/update.sh; exec bash" # bind = $mainMod, U, exec, kitty --class update-term -e bash -lc "~/.config/shared/scripts/update.sh; exec bash"
bind = $mainMod, U, exec, qs -c updater bind = $mainMod, U, exec, qs -c updater
@@ -1,48 +0,0 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
#
# Launch a power menu
#
# Requires fzf and systemd (loginctl, systemctl)
#
# Author: Jesse Mirabel <sejjymvm@gmail.com>
# Date: August 19, 2025
# License: MIT
main() {
local list=(
"󰌾 Lock"
"󰐥 Shutdown"
"󰑙 Reboot"
"󰍃 Logout"
"󰒲 Hibernate"
"󰤄 Suspend"
)
local options=(
"--border=sharp"
"--border-label= Power Menu "
"--cycle"
"--ghost=Search"
"--height=~100%"
"--highlight-line"
"--info=inline-right"
"--pointer="
"--reverse"
)
local selected
selected=$(printf "%s\n" "${list[@]}" | fzf "${options[@]}")
case $selected in
Lock) loginctl lock-session ;;
Shutdown) systemctl poweroff ;;
Reboot) systemctl reboot ;;
Logout) loginctl terminate-session "$XDG_SESSION_ID" ;;
Hibernate) systemctl hibernate ;;
Suspend) systemctl suspend ;;
*) return 1 ;;
esac
}
main
@@ -1,24 +0,0 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
STATUS_FILE="/tmp/nixos-updater-status"
echo "0|Starting" > "$STATUS_FILE"
update_step() {
echo "$1|$2" > "$STATUS_FILE"
}
update_step 10 "Fixing ownership"
sudo chown -R "$USER":"wheel" "$REPO"
update_step 30 "Updating flake"
nix flake update
update_step 60 "Rebuilding system"
sudo nixos-rebuild switch --flake ".#$HOSTNAME"
update_step 90 "Updating Flatpaks"
flatpak update -y
update_step 100 "Done"
@@ -10,6 +10,9 @@ COUNT=$(libinput list-devices 2>/dev/null \
if [ "$COUNT" -ge 2 ]; then if [ "$COUNT" -ge 2 ]; then
numlockx on numlockx on
echo $COUNT : On
else else
numlockx off numlockx off
fi fi
echo $COUNT
echo libinput list-devices
+1 -1
View File
@@ -1,5 +1,5 @@
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */ /* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
@import url("/home/henrov/.config/shared/colors.css"); @import url("/home/henrov/.config/shared/css/colors.css");
* { * {
all: unset; all: unset;
@@ -1,15 +0,0 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
# Tel toetsenborden met volledige toetsset (geen media-only apparaten)
COUNT=$(libinput list-devices 2>/dev/null \
| grep -A5 "Keyboard" \
| grep -c "kbd")
# Of via xinput / /proc alternatief:
# COUNT=$(cat /proc/bus/input/devices | grep -B5 'KEY=.*[a-f0-9]\{10\}' | grep -c 'Name=')
if [ "$COUNT" -ge 2 ]; then
numlockx on
else
numlockx off
fi
@@ -1,48 +0,0 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
#
# Launch a power menu
#
# Requires fzf and systemd (loginctl, systemctl)
#
# Author: Jesse Mirabel <sejjymvm@gmail.com>
# Date: August 19, 2025
# License: MIT
main() {
local list=(
"󰌾 Lock"
"󰐥 Shutdown"
"󰑙 Reboot"
"󰍃 Logout"
"󰒲 Hibernate"
"󰤄 Suspend"
)
local options=(
"--border=sharp"
"--border-label= Power Menu "
"--cycle"
"--ghost=Search"
"--height=~100%"
"--highlight-line"
"--info=inline-right"
"--pointer="
"--reverse"
)
local selected
selected=$(printf "%s\n" "${list[@]}" | fzf "${options[@]}")
case $selected in
Lock) loginctl lock-session ;;
Shutdown) systemctl poweroff ;;
Reboot) systemctl reboot ;;
Logout) loginctl terminate-session "$XDG_SESSION_ID" ;;
Hibernate) systemctl hibernate ;;
Suspend) systemctl suspend ;;
*) return 1 ;;
esac
}
main
@@ -1,5 +1,5 @@
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */ /* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
@import url("file:///home/henrov/.config/shared/colors.css"); @import url("file:///home/henrov/.config/shared/css/colors.css");
/* --- Global --- */ /* --- Global --- */
* { * {
+1 -1
View File
@@ -1,5 +1,5 @@
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */ /* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
@import "~/.config/shared/colors.css"; @import "~/.config/shared/css/colors.css";
* { * {
background-color: transparent; background-color: transparent;
@@ -28,6 +28,7 @@ handbrake
hyperfine hyperfine
just just
jq jq
libinput
libreoffice libreoffice
lua lua
nextcloud-client nextcloud-client
@@ -1,52 +0,0 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ pkgs, config, lib, ... }:
let
username = config.defaultUser or "henrov";
in
{
############################
# System-level packages
############################
environment.systemPackages = with pkgs; [
flameshot
];
############################
# Home Manager user-level configuration
############################
home-manager.users."${username}" = {
home.sessionVariables = {
SCREENSHOT_TOOL = "flameshot";
USERNAME = username;
};
# Create ~/Pictures/Screenshots by touching a dummy file
home.file."Pictures/Screenshots/.keep" = {
text = ""; # empty file
};
services.flameshot = {
enable = true;
settings = {
General = {
uiColor = "#97cbbe";
contrastUiColor = "#1e1e2e";
showDesktopNotification = true;
savePath = "/home/${username}/Pictures/Screenshots";
filenamePattern = "$Y-$m-$d_$H-$M-$S";
useGrimAdapter = true;
};
};
};
systemd.user.services.flameshot = {
Service = {
Environment = [
"WAYLAND_DISPLAY=wayland-1"
"XDG_CURRENT_DESKTOP=hyprland"
"XDG_SESSION_TYPE=wayland"
];
};
};
};
}
@@ -48,8 +48,8 @@ in
{ {
home-manager.users.${username} = { home-manager.users.${username} = {
home.file = { home.file = {
".config/shared/colors.css" = { ".config/shared/css/colors.css" = {
source = "${flakeRoot}/generated/.config/shared/colors.css"; source = "${flakeRoot}/generated/.config/shared/css/colors.css";
force = true; force = true;
}; };
".config/quickshell/Colors.qml" = { ".config/quickshell/Colors.qml" = {