From 5bac14c05420f17cc8547e25ec79d1eeabf8e0ce Mon Sep 17 00:00:00 2001 From: The_miro Date: Mon, 24 Feb 2025 00:49:54 +0100 Subject: [PATCH] figured out how to theme individual applications without it cascading into other apps --- .zshrc | 2 + desktopenvs/hyprland/gtk/gtk-3.0/gtk.css | 24 ---------- desktopenvs/hyprland/hypr/hyprland.conf | 2 +- gtk-themes/cyberqueer/gtk-3.0/gtk.css | 58 ++++++++++++++++++++++++ hyprland-eww-wofi-installer.sh | 2 + update.sh | 2 + 6 files changed, 65 insertions(+), 25 deletions(-) delete mode 100644 desktopenvs/hyprland/gtk/gtk-3.0/gtk.css create mode 100644 gtk-themes/cyberqueer/gtk-3.0/gtk.css diff --git a/.zshrc b/.zshrc index efe53da..da17e90 100755 --- a/.zshrc +++ b/.zshrc @@ -193,3 +193,5 @@ function y() { calc() { printf "%s\n" "$@" | bc -l; } eval "$(starship init zsh)" + +export PATH=$PATH:/home/themiro/.spicetify diff --git a/desktopenvs/hyprland/gtk/gtk-3.0/gtk.css b/desktopenvs/hyprland/gtk/gtk-3.0/gtk.css deleted file mode 100644 index 4b4248c..0000000 --- a/desktopenvs/hyprland/gtk/gtk-3.0/gtk.css +++ /dev/null @@ -1,24 +0,0 @@ - - * { - - - all: initial; - all: inherit; - all: unset; - - font-family: Agave Nerd Font Mono, Arial, sans-serif; - font-size: 25pt; - - border-radius: 15px; - - padding-top: 1px; - padding-bottom: 1px; - padding-right: 6px; - padding-left: 6px; - - margin-top: 2px; - margin-bottom: 2px; - margin-right: 2px; - margin-left: 2px; - } - diff --git a/desktopenvs/hyprland/hypr/hyprland.conf b/desktopenvs/hyprland/hypr/hyprland.conf index 1c5b103..cd90736 100644 --- a/desktopenvs/hyprland/hypr/hyprland.conf +++ b/desktopenvs/hyprland/hypr/hyprland.conf @@ -210,7 +210,7 @@ bind = $mainMod, L, exec, hyprctl dispatch exit 1 #bind = $mainMod, A, exec, killall waybar ; waybar bind = $mainMod, A, exec, eww reload bind = $mainMod, N, exec, nextcloud -bind = $mainMod, I, exec, bash ~/Dotfiles/desktopenvs/hyprland/wofi/netman/wofi-network-manager.sh +bind = $mainMod, I, exec, env GTK_THEME=cyberqueer bash ~/Dotfiles/desktopenvs/hyprland/wofi/netman/wofi-network-manager.sh bind = $mainMod, S, exec, [tag +mixer] kitty pulsemixer bind = $mainMod, X, exec, wofi --show=run diff --git a/gtk-themes/cyberqueer/gtk-3.0/gtk.css b/gtk-themes/cyberqueer/gtk-3.0/gtk.css new file mode 100644 index 0000000..4336637 --- /dev/null +++ b/gtk-themes/cyberqueer/gtk-3.0/gtk.css @@ -0,0 +1,58 @@ + + * { + font-family: Agave Nerd Font Mono, Arial, sans-serif; + border-radius: 15px; + font-size: 18pt; + + background-color: #1a1a1a; + + + padding-top: 1px; + padding-bottom: 1px; + padding-right: 6px; + padding-left: 6px; + + margin-top: 2px; + margin-bottom: 2px; + margin-right: 2px; + margin-left: 2px; + } + + window { + + color: #E40046; + background-color: #1a1a1a; + } + #input { + border: solid; + border-width: 4px; + color: #5018dd; + border-radius: 30px; + + + + #padding-top: 15px; + + margin-top: 15px; + padding-right: 15px; + padding-left: 15px; + + margin-right: 15px; + margin-left: 15px; + } + #entry { + color: #5018dd; + } + + #entry:selected { + border: solid; + background-color: #1a1a1a; + border-width: 4px; + color: #E40046; + border-radius: 30px; + + } + + #inner-box { + + } diff --git a/hyprland-eww-wofi-installer.sh b/hyprland-eww-wofi-installer.sh index e90b394..4aaf89f 100644 --- a/hyprland-eww-wofi-installer.sh +++ b/hyprland-eww-wofi-installer.sh @@ -94,6 +94,8 @@ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM: git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions sudo cp -r .config /etc/skel/ +sudo cp -r ~/Dotfiles/gtk-themes/cyberqueer /usr/share/themes + #zsh setup echo "Setting up zsh" diff --git a/update.sh b/update.sh index 25020b7..05dbd99 100644 --- a/update.sh +++ b/update.sh @@ -15,6 +15,8 @@ ln -s ~/Dotfiles/desktopenvs/hyprland/dunst/ ~/.config/ ln -s ~/Dotfiles/desktopenvs/hyprland/alacritty ~/.config/alacritty ln -s ~/Dotfiles/desktopenvs/hyprland/gtk/* ~/.config +sudo cp -r ~/Dotfiles/gtk-themes/cyberqueer /usr/share/themes + #cli dotfiles echo "Installing bash and zsh setting files"