Update theme switcher, change icons to papirus

This commit is contained in:
Wiktor Zykubek 2020-03-24 14:20:57 +01:00
parent 7a0020068e
commit d2f0e62684
6 changed files with 28 additions and 14 deletions

View File

@ -6,6 +6,6 @@ GeometryX=538
GeometryY=223 GeometryY=223
GeometryWidth=840 GeometryWidth=840
GeometryHeight=630 GeometryHeight=630
SortColumn=name SortColumn=modified
SortOrder=ascending SortOrder=descending
StartupMode=recent StartupMode=recent

View File

@ -1,5 +1,5 @@
[Settings] [Settings]
gtk-theme-name=AdwaitaDark gtk-theme-name=Adwaita
gtk-icon-theme-name=Papirus-Dark gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Cantarell 11 gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita gtk-cursor-theme-name=Adwaita

View File

@ -100,12 +100,10 @@ frame-opacity = 1;
inactive-opacity-override = false; inactive-opacity-override = false;
opacity-rule = [ opacity-rule = [
"95:class_g = 'St' && focused", "92:class_g = 'St' && focused",
"95:class_g = 'Tabbed' && focused", "90:class_g = 'St' && !focused",
"93:class_g = 'St' && !focused", "90:class_g = 'Polybar'",
"93:class_g = 'Tabbed' && !focused", "90:class_g = 'Rofi'"
"93:class_g = 'Polybar'",
"93:class_g = 'Rofi'"
]; ];
# Dim inactive windows. (0.0 - 1.0) # Dim inactive windows. (0.0 - 1.0)

View File

@ -0,0 +1 @@
ip a show wlp8s0 | grep -Eo '(inet)?*([0-9]*\.){3}[0-9]*' | grep -v '**\.255'

View File

@ -2,24 +2,39 @@
xfile="$HOME/.Xresources" xfile="$HOME/.Xresources"
theme="$(printf "cyan\nmagenta" | rofi -dmenu -i -p "Theme" -l 2)" theme="$(printf "cyan\nmagenta\ndark\norange\nred" | rofi -dmenu -i -p "Theme" -l 5)"
case "$theme" in case "$theme" in
cyan) cyan)
bg="#071616" bg="#071616"
bunfoc="#353234" bunfoc="#353234"
bfoc="#144949" bfoc="#144949"
dselb="#144949"
;; ;;
magenta) magenta)
bg="#211019" bg="#211019"
bunfoc="#2d060e" bunfoc="#2d060e"
bfoc="#4c1139" bfoc="#4c1139"
dselb="#4c1139" ;;
dark)
bg="#0a0200"
bunfoc="#262323"
bfoc="#353131"
;;
orange)
bg="#351909"
bunfoc="#1e0e05"
bfoc="#51250c"
;;
red)
bg="#680e10"
bunfoc="#380a0b"
bfoc="#a31619"
;; ;;
*) exit;; *) exit;;
esac esac
dselb="$bfoc"
sed -i \ sed -i \
-e "s/\*\.background:.*/\*\.background: $bg/" \ -e "s/\*\.background:.*/\*\.background: $bg/" \
-e "s/\*\.border_unfocused:.*/\*\.border_unfocused: $bunfoc/" \ -e "s/\*\.border_unfocused:.*/\*\.border_unfocused: $bunfoc/" \

4
dotman
View File

@ -33,7 +33,7 @@ install_repo_packages() {
# Packages # Packages
FONTS="otf-ipafont noto-fonts-emoji gnu-free-fonts ttf-arphic-uming ttf-indic-otf ttf-joypixels ttf-font-awesome ttf-dejavu" FONTS="otf-ipafont noto-fonts-emoji gnu-free-fonts ttf-arphic-uming ttf-indic-otf ttf-joypixels ttf-font-awesome ttf-dejavu"
UTILS="neovim qutebrowser telegram-desktop htop mpd ncmpcpp rofi transmission-cli vlc zsh youtube-dl grc curl wget xclip figlet w3m vifm feh alsa-utils tmux networkmanager maim fzf exfat-utils fuse2 udiskie udisks2 imagemagick i3lock-color man pacman-contrib ncdu mpc neomutt bc clipmenu xdotool" UTILS="neovim qutebrowser telegram-desktop htop mpd ncmpcpp rofi transmission-cli vlc zsh youtube-dl grc curl wget xclip figlet w3m vifm feh alsa-utils tmux networkmanager maim fzf exfat-utils fuse2 udiskie udisks2 imagemagick i3lock-color man pacman-contrib ncdu mpc neomutt bc clipmenu xdotool"
WM="dunst bspwm sxhkd picom xorg-server xorg-xinit xorg-xsetroot" WM="dunst bspwm sxhkd picom xorg-server xorg-xinit xorg-xsetroot papirus-icon-theme"
DEV="python-pip yarn gradle ccls eslint flake8 shellcheck prettier python-black hub git" DEV="python-pip yarn gradle ccls eslint flake8 shellcheck prettier python-black hub git"
sudo pacman -S --noconfirm --needed $FONTS $UTILS $WM $DEV sudo pacman -S --noconfirm --needed $FONTS $UTILS $WM $DEV
@ -281,7 +281,7 @@ fi
greeter greeter
printf "\nDo you want to copy configs? (Y/n): "; read CHOICE printf "\nDo you want to copy configs? (y/n): "; read CHOICE
if [ "$CHOICE" = "Y" ] || [ "$CHOICE" = "y" ]; then if [ "$CHOICE" = "Y" ] || [ "$CHOICE" = "y" ]; then
printf "Moving configs..." printf "Moving configs..."
copy_configs &>$LOG_DIR/copy_configs.log copy_configs &>$LOG_DIR/copy_configs.log