summaryrefslogtreecommitdiff
path: root/common/programs
diff options
context:
space:
mode:
authorbrustybee <bee@4d2.org>2026-03-14 20:48:08 +0530
committerbrustybee <bee@4d2.org>2026-03-14 20:48:08 +0530
commitf33743bfd1fa3924d67a33ea8816c1b45d92e6a1 (patch)
tree32100d087fac464626a5df68ca9c1949c5d473e5 /common/programs
parent8ae1bc8bc07b938a7fa44106ce699ad0dc17b510 (diff)
ummmmmm light mode
Diffstat (limited to 'common/programs')
-rw-r--r--common/programs/rofi.nix46
-rw-r--r--common/programs/vesktop.nix2
2 files changed, 1 insertions, 47 deletions
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;