Regenerated
This commit is contained in:
+397
-397
File diff suppressed because it is too large
Load Diff
+5
-5
@@ -269,7 +269,7 @@ Setting the colors for Droidnix.
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
colors = {
|
||||
border = "#97C9E6";
|
||||
border = "#96cdd2";
|
||||
crust = "#11111b";
|
||||
mantle = "#181825";
|
||||
base = "#1e1e2e";
|
||||
@@ -2856,7 +2856,7 @@ bind = $mainMod, U, exec, qs -c updater
|
||||
#+END_SRC
|
||||
|
||||
** =generated/.config/hypr/exec-once.conf=
|
||||
These are config files for .config/hypr
|
||||
What is executed after startup, when hyprland is running?
|
||||
#+BEGIN_SRC conf :tangle generated/.config/hypr/exec-once.conf :noweb yes :mkdirp yes :eval never
|
||||
exec-once = dbus-update-activation-environment --systemd --all
|
||||
exec-once = systemctl --user start --no-block xdg-desktop-portal-hyprland
|
||||
@@ -2871,7 +2871,7 @@ exec-once = waybar
|
||||
#+END_SRC
|
||||
|
||||
** =generated/.config/hypr/hypridle.conf=
|
||||
These are config files for .config/hypr
|
||||
These are config files for hypridle
|
||||
#+BEGIN_SRC conf :tangle generated/.config/hypr/hypridle.conf :noweb yes :mkdirp yes :eval never
|
||||
general {
|
||||
lock_cmd = hyprlock
|
||||
@@ -4249,11 +4249,11 @@ wofi --show drun \
|
||||
A file containing color variables
|
||||
#+BEGIN_SRC css :tangle generated/.config/shared/colors.css :noweb yes :mkdirp yes :eval never
|
||||
/* Catppuccin Mocha Palette */
|
||||
@define-color border #97C9E6;
|
||||
@define-color border #96cdd2;
|
||||
@define-color crust #11111b;
|
||||
@define-color mantle #181825;
|
||||
@define-color base #1e1e2e;
|
||||
@define-color base-alpha rgba(30, 30, 46, 0.2);
|
||||
@define-color base-alpha rgba(30, 30, 46, 0.8);
|
||||
|
||||
@define-color surface0 #313244;
|
||||
@define-color surface1 #45475a;
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
#!/run/current-system/sw/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
WALLPAPER_DIR="$HOME/Wallpapers/pictures"
|
||||
echo "Wallpaper dir = $WALLPAPER_DIR"
|
||||
|
||||
randomize_and_rename_wallpapers() {
|
||||
echo "Randomizing JPG filenames..."
|
||||
|
||||
shopt -s nullglob
|
||||
|
||||
# Grab all jpg/JPG files
|
||||
files=("$WALLPAPER_DIR"/*.[jJ][pP][gG])
|
||||
|
||||
if [ ${#files[@]} -eq 0 ]; then
|
||||
echo "No JPG files found in $WALLPAPER_DIR"
|
||||
return
|
||||
fi
|
||||
|
||||
# Shuffle the array
|
||||
mapfile -t files < <(printf "%s\n" "${files[@]}" | shuf)
|
||||
|
||||
tmp_names=()
|
||||
|
||||
for file in "${files[@]}"; do
|
||||
ext="${file##*.}"
|
||||
|
||||
# generate a random 16-character alphanumeric name
|
||||
while : ; do
|
||||
rand_name=$(head /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c16)
|
||||
new_path="$WALLPAPER_DIR/$rand_name.$ext"
|
||||
if [[ ! -e "$new_path" ]]; then
|
||||
mv "$file" "$new_path"
|
||||
tmp_names+=("$new_path")
|
||||
echo "Renamed $file -> $new_path"
|
||||
break
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
# Sequentially rename to 01.jpg ... 99.jpg
|
||||
counter=1
|
||||
for file in "${tmp_names[@]}"; do
|
||||
new_name=$(printf "%02d.jpg" "$counter")
|
||||
mv "$file" "$WALLPAPER_DIR/$new_name"
|
||||
echo "Final rename $file -> $WALLPAPER_DIR/$new_name"
|
||||
((counter++))
|
||||
[[ $counter -gt 99 ]] && break
|
||||
done
|
||||
|
||||
echo "Randomization complete."
|
||||
}
|
||||
|
||||
randomize_and_rename_wallpapers
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SOCK="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"
|
||||
|
||||
exec socat -U - UNIX-CONNECT:"$SOCK" | while IFS= read -r line; do
|
||||
case "$line" in
|
||||
workspace\>\>*)
|
||||
WS="${line#workspace>>}"
|
||||
"$HOME/Wallpapers/scripts/ws-wallpaper.sh" "$WS"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
@@ -1,10 +1,10 @@
|
||||
/* --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- */
|
||||
/* Catppuccin Mocha Palette */
|
||||
@define-color border #97C9E6;
|
||||
@define-color border #96cdd2;
|
||||
@define-color crust #11111b;
|
||||
@define-color mantle #181825;
|
||||
@define-color base #1e1e2e;
|
||||
@define-color base-alpha rgba(30, 30, 46, 0.2);
|
||||
@define-color base-alpha rgba(30, 30, 46, 0.8);
|
||||
|
||||
@define-color surface0 #313244;
|
||||
@define-color surface1 #45475a;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
colors = {
|
||||
border = "#97C9E6";
|
||||
border = "#96cdd2";
|
||||
crust = "#11111b";
|
||||
mantle = "#181825";
|
||||
base = "#1e1e2e";
|
||||
|
||||
Reference in New Issue
Block a user