GithubHelp home page GithubHelp logo

Comments (3)

Momen-MKadry avatar Momen-MKadry commented on June 9, 2024 1

I want to add two themes to my current config, I have some edits on the gh0stzk rice, when I did copy the 2 'rices' folders, they showed up in the theme selector but the mouse and font were broken across all themes

from dotfiles-v1.

adilhyz avatar adilhyz commented on June 9, 2024

yes basically, my rice is based on ghostzk here's how to install it

📦 Setup

Installation:

The installer only works for ARCH Linux, and based distros.

Open a terminal in HOME
First download the installer

curl https://raw.githubusercontent.com/adilhyz/dotfiles-v1/master/RiceInstaller -o $HOME/RiceInstaller

Now give it execute permissions

chmod +x RiceInstaller

Finally run the installer

./RiceInstaller

I have also prepared several themes and icons which automatically run when installing rice.

repo="https://adilhyz.github.io/adilhyz-repo/x86_64/"
iconsu=("adilhyz-icons")
themesu=("adilhyz-themes")
cursorsu=("adilhyz-cursors")
piles=("-1.1-1-any.pkg.tar.zst"
)

font you can visit my article for my paclists adilhyz/archlinux

simply for fonts adilhyz/archlinux/paclists/bspwm/fonts

git clone https://github.com/adilhyz/ArchLinux AIO
pacman -S --needed - < /AIO/Paclists/Bspwm/fonts

from dotfiles-v1.

adilhyz avatar adilhyz commented on June 9, 2024

Opinion

I would argue that gh0stzk basically doesn't support automatic mouse and theme switching yet, that's why I added mouse and theme icon switching as well. as I explained before

switching script:

vars

bspwm/Rices/all/Theme.sh

set_appearance() {
	XFILE="$BDIR/xsettingsd"
	GTK2FILE="$HOME/.gtkrc-2.0"
	GTK3FILE="$HOME/.config/gtk-3.0/settings.ini"

	# apply gtk theme, icons, cursor & fonts
	if [[ `pidof xsettingsd` ]]; then
		sed -i -e "s|Net/ThemeName .*|Net/ThemeName \"amarena\"|g" ${XFILE}
		sed -i -e "s|Net/IconThemeName .*|Net/IconThemeName \"Nordzy-pink-dark\"|g" ${XFILE}
		sed -i -e "s|Gtk/CursorThemeName .*|Gtk/CursorThemeName \"phinger-cursors\"|g" ${XFILE}
	else
		sed -i -e "s/gtk-font-name=.*/gtk-font-name=\"Noto Sans 9\"/g" ${GTK2FILE}
		sed -i -e "s/gtk-theme-name=.*/gtk-theme-name=\"amarena\"/g" ${GTK2FILE}
		sed -i -e "s/gtk-icon-theme-name=.*/gtk-icon-theme-name=\"Nordzy-pink-dark\"/g" ${GTK2FILE}
		sed -i -e "s/gtk-cursor-theme-name=.*/gtk-cursor-theme-name=\"phinger-cursors\"/g" ${GTK2FILE}
		
		sed -i -e "s/gtk-font-name=.*/gtk-font-name=Noto Sans 9/g" ${GTK3FILE}
		sed -i -e "s/gtk-theme-name=.*/gtk-theme-name=amarena/g" ${GTK3FILE}
		sed -i -e "s/gtk-icon-theme-name=.*/gtk-icon-theme-name=Nordzy-pink-dark/g" ${GTK3FILE}
		sed -i -e "s/gtk-cursor-theme-name=.*/gtk-cursor-theme-name=phinger-cursors/g" ${GTK3FILE}
	fi
	
	# inherit cursor theme
	if [[ -f "$HOME"/.icons/default/index.theme ]]; then
		sed -i -e "s/Inherits=.*/Inherits=phinger-cursors/g" "$HOME"/.icons/default/index.theme
	fi	
}

set_appearance

bspwm/bspwmrc

# Lauch xsettingsd daemon
xsettingsd --config="$HOME"/.config/bspwm/xsettingsd &

xsettingsd pkgs required

webp-pixbuf-loader xorg-xprop xorg-xkill xsettingsd xautolock unclutter numlockx physlock lxappearance-gtk3 papirus-icon-theme epapirus-icon-theme \

speculation

But I guess this doesn't answer the question the mouse and font were broken across all themes, maybe your rice is broken in some edits? have an example let me help you

from dotfiles-v1.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.