update scripts and add leftwm specific ones

This commit is contained in:
Lucas Barbieri 2024-06-17 20:18:06 -03:00
parent abcead8ae7
commit 4dc7e7dc19
7 changed files with 61 additions and 29 deletions

View File

@ -19,15 +19,34 @@ SOLARIZED_NORMAL_WPP=~/pics/wallpapers/solarized4.png
MONOCHROME_WIDE_WPP=~/pics/wallpapers/monochrome-1.png
MONOCHROME_NORMAL_WPP=~/pics/wallpapers/monochrome-1.jpg
EVERFOREST_WIDE_WPP=~/pics/wallpapers/ef1.jpg
EVERFOREST_NORMAL_WPP=~/pics/wallpapers/ef2.jpg
CHOICE=$(tofi <$HOME/scripts/choices)
case "$CHOICE" in
forest)
~/scripts/swww.sh $EVERFOREST_WIDE_WPP $EVERFOREST_NORMAL_WPP
gsettings set org.gnome.desktop.interface gtk-theme Everforest-Dark-BL
gsettings set org.gnome.desktop.interface icon-theme Everforest-Dark
ln -sf ~/.config/tmux/themes/tmux-everforest.conf ~/.config/tmux/theme.conf
tmux source-file ~/.config/tmux/tmux.conf
sed -i 's/color_scheme = .*/color_scheme = "Everforest Dark Hard (Gogh)"/g' ~/.config/wezterm/wezterm.lua
sed -i 's/image_source=.*/image_source="$HOME\/pics\/the pitiful2.jpg"/g' ~/.config/neofetch/config.conf
ln -sf ~/.config/tofi/everforest.conf ~/.config/tofi/theme.conf
;;
monochrome)
~/scripts/swww.sh $MONOCHROME_WIDE_WPP $MONOCHROME_NORMAL_WPP
ln -sf ~/.config/tmux/tmux-monochrome.conf ~/.config/tmux/theme.conf
ln -sf ~/.config/tmux/themes/tmux-monochrome.conf ~/.config/tmux/theme.conf
tmux source-file ~/.config/tmux/tmux.conf
sed -i 's/color_scheme = .*/color_scheme = "monochrome_glorb"/g' ~/.config/wezterm/wezterm.lua
@ -42,7 +61,7 @@ case "$CHOICE" in
~/scripts/swww.sh $SOLARIZED_WIDE_WPP $SOLARIZED_NORMAL_WPP
#change tmux theme
ln -sf ~/.config/tmux/tmux-solarized.conf ~/.config/tmux/theme.conf
ln -sf ~/.config/tmux/themes/tmux-solarized.conf ~/.config/tmux/theme.conf
tmux source-file ~/.config/tmux/tmux.conf
# change wezterm theme
@ -62,7 +81,7 @@ case "$CHOICE" in
~/scripts/swww.sh $MELANGE_WIDE_WPP $MELANGE_NORMAL_WPP
#change tmux theme
ln -sf ~/.config/tmux/tmux-melange.conf ~/.config/tmux/theme.conf
ln -sf ~/.config/tmux/themes/tmux-melange.conf ~/.config/tmux/theme.conf
tmux source-file ~/.config/tmux/tmux.conf
# change wezterm theme
@ -77,7 +96,7 @@ case "$CHOICE" in
;;
white)
ln -sf ~/.config/tmux/tmux-white.conf ~/.config/tmux/theme.conf
ln -sf ~/.config/tmux/themes/tmux-white.conf ~/.config/tmux/theme.conf
tmux source-file ~/.config/tmux/tmux.conf
# change wezterm theme
@ -97,7 +116,7 @@ case "$CHOICE" in
~/scripts/swww.sh $RED_WIDE_WPP $RED_NORMAL_WPP
# change tmux theme and reload
ln -sf ~/.config/tmux/tmux-red.conf ~/.config/tmux/theme.conf
ln -sf ~/.config/tmux/themes/tmux-red.conf ~/.config/tmux/theme.conf
tmux source-file ~/.config/tmux/tmux.conf
# change wezterm theme

View File

@ -3,3 +3,4 @@ red
solarized
melange
monochrome
forest

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
## Change following to '0' for output to be like ls and '1' for exa features
# Don't list implied . and .. by default with -a
@ -109,4 +109,4 @@ shift "$((OPTIND - 1))"
(( git == 1 )) && \
[[ $(git -C "${*:-.}" rev-parse --is-inside-work-tree) == true ]] 2>/dev/null && exa_opts+=(--git)
eza --color-scale all "${exa_opts[@]}" "$@"
eza "${exa_opts[@]}" "$@"

View File

@ -4,25 +4,30 @@
CURRENT_THEME=$(cat ~/colorscheme)
case "$CURRENT_THEME" in
forest)
pkill waybar; waybar -c ~/.config/waybar/dwm.jsonc \
-s ~/.config/waybar/dwm-forest.css > /dev/null &
# hyprctl keyword general:col.active_border todo
;;
monochrome)
killall waybar; waybar -c ~/.config/waybar/dwm.jsonc \
pkill waybar; waybar -c ~/.config/waybar/dwm.jsonc \
-s ~/.config/waybar/dwm.css > /dev/null &
# hyprctl keyword general:col.active_border todo
;;
solarized)
killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null &
pkill waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null &
# hyprctl keyword general:col.active_border todo
;;
melange)
killall waybar; waybar -s ~/.config/waybar/style-melange.css > /dev/null &
pkill waybar; waybar -s ~/.config/waybar/style-melange.css > /dev/null &
hyprctl keyword general:col.active_border "rgba(7892bdff) rgba(6e9b72ff) 45deg"
;;
white)
killall waybar; waybar -s ~/.config/waybar/style-solarized-light.css > /dev/null &
pkill waybar; waybar -s ~/.config/waybar/style-solarized-light.css > /dev/null &
# hyprctl keyword general:col.active_border todo
;;
red)
killall waybar; waybar > /dev/null &
pkill waybar; waybar > /dev/null &
hyprctl keyword general:col.active_border "rgba(ff0038ee) rgba(33e2c5ee) 45deg"
;;
*)

View File

@ -1,18 +1,16 @@
#!/bin/bash
sh ~/screenlayout.sh
gentoo-pipewire-launcher &
spotifyd &
autorandr tv_off
pkill spotifyd; spotifyd &
setxkbmap -option ctrl:nocaps br abnt2
xinput --set-prop 'pointer:''Gaming Mouse' 'libinput Accel Profile Enabled' 0, 1 && xinput --set-prop 'pointer:''Gaming Mouse' 'libinput Accel Speed' 0.5
dunst &
lxqt-policykit-agent &
pkill dunst; dunst &
pkill lxqt-policykit-agent; lxqt-policykit-agent &
touch ~/tmp/touchy && rm -rf ~/tmp/*
otd &
gsettings set org.gnome.desktop.interface icon-theme Win10Sur-black-dark & gsettings set org.gnome.desktop.interface gtk-theme Numix-BLACK-Pomegranate & gsettings set org.gnome.desktop.interface cursor-theme Simp1e
corectrl --minimize-systray &
gammastep -t 4500:3500 -l -23.5475:-46.63611 -b 1.0:0.5 &
xset -dpms
setterm -blank 0 -powerdown 0
xset s off
pkill otd; otd-daemon &
pkill corectrl; corectrl --minimize-systray &
pkill syncthing; syncthing &
tmux kill-session -t weechat; ~/scripts/weechat.sh
pkill pipewire; pkill wireplumber; pkill pipewire-pulse; pipewire & wireplumber & pipewire-pulse
pkill emacs; emacs --daemon &
pkill gammastep; gammastep -t 4500:3500 -l -23.5475:-46.63611 -b 1.0:0.6 &
~/.local/bin/picom-ibhagwan -b --experimental-backends

View File

@ -1,2 +1,2 @@
#!/bin/sh
xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 1920x0 --rotate normal
xrandr --output DisplayPort-0 --off --output DisplayPort-1 --mode 1920x1080 --pos 2560x1080 --rotate normal --output DisplayPort-2 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --primary --mode 2560x1080 --pos 0x1080 --rotate normal

View File

@ -23,6 +23,14 @@ if [[ -z "$1" ]]; then
solarized)
FIRST=~/pics/wallpapers/solarized5.jpg
SECOND=~/pics/wallpapers/solarized4.png
;;
monochrome)
FIRST=~/pics/wallpapers/monochrome-1.png
SECOND=~/pics/wallpapers/monochrome-1.jpg
;;
forest)
FIRST=~/pics/wallpapers/ef1.jpg
SECOND=~/pics/wallpapers/ef2.jpg
esac
else
FIRST=$1
@ -30,8 +38,9 @@ else
fi
swww init &
swww-daemon &
sleep 0.3
swww img -o HDMI-A-1 $FIRST
swww img -o DP-3 $SECOND
swww img -o DP-2 $SECOND
swww img -o DP-3 ~/pics/wallpapers/cottage.jpg