Little decorative change

This commit is contained in:
Андреев Григорий 2025-04-01 16:57:50 +03:00
parent 73dfb4981e
commit 428be86f1a
3 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ dwm
*.orig
config.h
transient
*.tar
*.gz

View File

@ -31,7 +31,7 @@ static const char dmenufont[] = "monospace:size=10";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { "#eeeeee", "#222222", "#111111" },
[SchemeSel] = { "#ffffff", "#e00000", "#e00000" },
[SchemeSel] = { "#000000", "#e0b000", "#e0b000" },
};
/* tagging */
@ -75,7 +75,7 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
//static const char *dmenucmd_old[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *dmenucmd[] = {"dmenu_run.sh", "-p", "🚂💻〰️", NULL};
static const char *dmenucmd[] = {"sh", "-c", "${HOME}/.config/suckless_desktop/win_r_out/invoke.sh", NULL};
static const char* termtmuxzshcmd[] = {"st", "-e", "tmux", "new-session", "zsh", NULL};
static const char* flameshotcmd[] = {"flameshot", "gui", NULL};
static const char* pa_mute[] = {"pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL};

View File

@ -1,9 +1,9 @@
#!/bin/bash
# Directory containing wallpapers
WALLPAPER_DIR="$HOME/.config/suckless_desktop/wallpaper"
WALLPAPER_DIR="$HOME/.config/suckless_desktop/wallpaper/allowed"
# Find all .png, .jpg, and .jpwg files (case-insensitive)
files=( $(find "$WALLPAPER_DIR" -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpwg" \)) )
files=( $(find -L "$WALLPAPER_DIR" -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpwg" \)) )
# Check if we found any wallpapers
if [ ${#files[@]} -eq 0 ]; then