From 0743d43dd291dd5bd0b89cc802b3257e4019f647 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Thu, 27 Mar 2025 13:07:51 +0700 Subject: [PATCH] updated --- bin/background.sh | 12 ++++-------- bin/lisascreens | 3 +-- bin/startdwm.sh | 16 ++++++---------- shell/source.sh | 4 ++-- 4 files changed, 13 insertions(+), 22 deletions(-) diff --git a/bin/background.sh b/bin/background.sh index 50ac97e..55f61fd 100755 --- a/bin/background.sh +++ b/bin/background.sh @@ -2,12 +2,8 @@ directory=~/Pictures/wallpaper -while true; do - if [ -d "$directory" ]; then - random_background=$(ls $directory/* | shuf -n 1) - - feh --bg-fill $random_background - fi - sleep 60 -done +if [ -d "$directory" ]; then + random_background=$(ls $directory/* | shuf -n 1) + feh --bg-fill $random_background +fi diff --git a/bin/lisascreens b/bin/lisascreens index 90fefe7..6ace456 100755 --- a/bin/lisascreens +++ b/bin/lisascreens @@ -8,5 +8,4 @@ xrandr --newmode "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1 xrandr --addmode DVI-0 1920x1200_60.00 xrandr --output DVI-0 --mode 1920x1200_60.00 -~/dotfiles/bin/lisascreenslayout.sh - +~/dotfiles-dwm/bin/lisascreenslayout.sh diff --git a/bin/startdwm.sh b/bin/startdwm.sh index f8a6d67..3095f16 100755 --- a/bin/startdwm.sh +++ b/bin/startdwm.sh @@ -1,17 +1,13 @@ #!/bin/sh -export GTK_THEME=Adwaita:dark -export GTK2_RC_FILES=/usr/share/themes/Adwaita-dark/gtk-2.0/gtkrc -gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark -gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark -~/dotfiles/bin/background.sh & +export GTK_THEME=Colloid-Dark +gsettings set org.gnome.desktop.interface gtk-theme Colloid-Dark +gsettings set org.gnome.desktop.interface icon-theme Colloid-Dark +~/dotfiles-dwm/bin/background.sh & setxkbmap "us,ru" -option 'grp:win_space_toggle' dunst & lxpolkit & -touch /tmp/wttr && slstatus & -xrdb -merge ~/dotfiles/Xresources +xrdb -merge ~/dotfiles-dwm/Xresources -while true; do - dwm 2> ~/.dwm.log & -done +exec dwm 2> ~/.dwm.log diff --git a/shell/source.sh b/shell/source.sh index ca21bed..0e41908 100644 --- a/shell/source.sh +++ b/shell/source.sh @@ -1,9 +1,9 @@ #--- path ------------------------------------------------------------------------------------------------------------------------------------------- -export PATH=$PATH:~/dotfiles/bin:~/dotfiles/hypr/bin:~/dotfiles/dwm/bin/:~/.cargo/bin +export PATH=$PATH:~/dotfiles-dwm/bin:~/dotfiles-dwm/hypr/bin:~/dotfiles-dwm/dwm/bin/:~/.cargo/bin export GTK2_RC_FILES=~/.config/gtk-2.0/gtkrc # gtk2 theme #---------------------------------------------------------------------------------------------------------------------------------------------------- #--- colors ----------------------------------------------------------------------------------------------------------------------------------------- -. ~/dotfiles/shell/colors.sh # include bash colors +. ~/dotfiles-dwm/shell/colors.sh # include bash colors #---------------------------------------------------------------------------------------------------------------------------------------------------- #--- sys -------------------------------------------------------------------------------------------------------------------------------------------- alias psa='busybox ps' # show all processes