From f33743bfd1fa3924d67a33ea8816c1b45d92e6a1 Mon Sep 17 00:00:00 2001 From: brustybee Date: Sat, 14 Mar 2026 20:48:08 +0530 Subject: ummmmmm light mode --- common/programs/rofi.nix | 46 --------------------------------------------- common/programs/vesktop.nix | 2 +- 2 files changed, 1 insertion(+), 47 deletions(-) (limited to 'common/programs') diff --git a/common/programs/rofi.nix b/common/programs/rofi.nix index ce335dc..66ff00c 100644 --- a/common/programs/rofi.nix +++ b/common/programs/rofi.nix @@ -12,54 +12,8 @@ theme = "~/.config/rofi/themes/config.rasi"; }; - # custom scripts home.packages = [ pkgs.rofi-power-menu - (pkgs.writeShellScriptBin "wall-picker" '' - WALL_DIR="$HOME/Pictures/Wallpapers" - - list_wallpapers() { - for wall in "$WALL_DIR"/*.{jpg,jpeg,png,webp}; do - if [ -f "$wall" ]; then - echo -en "$(basename "$wall")\0icon\x1f$wall\n" - fi - done - } - - SELECTED=$(list_wallpapers | rofi -dmenu -i -p "Wallpaper" \ - -show-icons \ - -theme-str 'element { orientation: vertical; padding: 15px; }' \ - -theme-str 'element-icon { size: 10em; horizontal-align: 0.5; }' \ - -theme-str 'element-text { horizontal-align: 0.5; }' \ - -theme-str 'listview { columns: 3; lines: 2; }' \ - -theme-str 'window { width: 50%; }') - - if [ -n "$SELECTED" ]; then - FULL_PATH="$WALL_DIR/$SELECTED" - - if [ -n "$WAYLAND_DISPLAY" ]; then - if command -v swaybg >/dev/null 2>&1; then - pkill swaybg - echo "swaybg -i \"$FULL_PATH\" -m fill &" > "$HOME/.swaybg" - sh "$HOME/.swaybg" - elif command -v swww >/dev/null 2>&1; then - swww img "$FULL_PATH" --transition-type grow --transition-fps 120 --transition-step 60 --transition-duration 1.5 - else - dunstify "Error: No Wayland wallpaper tool found" - fi - echo "feh --no-fehbg --bg-fill '$FULL_PATH'" > ~/.fehbg - else - feh --bg-fill "$FULL_PATH" - echo "swaybg -i \"$FULL_PATH\" -m fill &" > "$HOME/.swaybg" - fi - - matugen image "$FULL_PATH" --source-color-index 0 2>/dev/null && wallust -q -s run "$FULL_PATH" 2>/dev/null - if [ -z "$WAYLAND_DISPLAY" ] && [ -n "$DISPLAY" ]; then - xrdb -merge "$HOME/.Xresources" - fi - sh ~/.config/sequences - fi - '') ]; xdg.configFile = { diff --git a/common/programs/vesktop.nix b/common/programs/vesktop.nix index cf2da1d..41a9e56 100644 --- a/common/programs/vesktop.nix +++ b/common/programs/vesktop.nix @@ -4,7 +4,7 @@ enable = true; vencord = { settings = { - enabledThemes = lib.optionals config.beeMods.matugen.enable [ "system24.theme.css" ]; + enabledThemes = lib.optionals config.beeMods.matugen.enable [ "system24.css" ]; autoUpdate = false; autoUpdateNotification = false; notifyAboutUpdates = false; -- cgit v1.3.1