theme engine complete

This commit is contained in:
2024-08-09 21:14:47 +02:00
parent 05b6aeeb08
commit 1d9260e118
52 changed files with 1131 additions and 362 deletions

View File

@@ -0,0 +1,3 @@
"lat": 50.15
"lng": 18.82
"update_days": 10

7
.config/blueblack/dark.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
cd dark_mode
for f in *.sh; do
bash "$f"
done

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# trigger a small, passive popup dialog to inform the user about darkman's activity
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "switching to dark mode"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
gsettings set org.gnome.desktop.interface gtk-theme Gruvbox-Yellow-Dark
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark
gsettings set org.gnome.desktop.interface cursor-theme Simp1e-Gruvbox-Dark

View File

@@ -0,0 +1,3 @@
#!/bin/bash
hyprctl setcursor Simp1e-Gruvbox-Dark 24

View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo 'include gruvbox.conf' > $HOME/.config/kitty/colors.conf
killall -SIGUSR1 kitty || true

View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo -e '[General]\ntheme=gruvbox-kvantum' > ~/.config/Kvantum/kvantum.kvconfig

View File

@@ -0,0 +1,9 @@
#!/bin/sh
unlink $HOME/.config/mako/config
makoctl set-mode dark
ln -s $HOME/.config/mako/config-dark $HOME/.config/mako/config
makoctl reload

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# This uses the neovim-remote python package to control other neovim instances.
# see: https://github.com/mhinz/neovim-remote
# Further, it is assumed that toggling the background in neovim is enough.
# Anything else should be handled by the set color scheme.
for server in $(nvr --serverlist); do
nvr --servername "$server" -cc 'set background=dark'
done

View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo '@theme "/usr/share/rofi/themes/gruvbox-dark-soft.rasi"' > $HOME/.config/rofi/config.rasi

View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo '@import "layout.css"; @import "gruvbox-dark.css";' > $HOME/.config/waybar/style.css
killall -SIGUSR2 waybar &

7
.config/blueblack/light.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
cd light_mode
for f in *.sh; do
bash "$f"
done

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# trigger a small, passive popup dialog to inform the user about darkman's activity
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "switching to light mode"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
gsettings set org.gnome.desktop.interface gtk-theme catppuccin-latte-sapphire-standard+default
gsettings set org.gnome.desktop.interface color-scheme prefer-light
gsettings set org.gnome.desktop.interface icon-theme Papirus-Light
gsettings set org.gnome.desktop.interface cursor-theme catppuccin-latte-light-cursors

View File

@@ -0,0 +1,3 @@
#!/bin/bash
hyprctl setcursor catppuccin-latte-light 24

View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo 'include latte.conf' > $HOME/.config/kitty/colors.conf
killall -SIGUSR1 kitty || true

View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo -e '[General]\ntheme=catppuccin-latte-sapphire' > ~/.config/Kvantum/kvantum.kvconfig

View File

@@ -0,0 +1,9 @@
#!/bin/sh
unlink $HOME/.config/mako/config
makoctl set-mode light
ln -s $HOME/.config/mako/config-light $HOME/.config/mako/config
makoctl reload

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# This uses the neovim-remote python package to control other neovim instances.
# see: https://github.com/mhinz/neovim-remote
# Further, it is assumed that toggling the background in neovim is enough.
# Anything else should be handled by the set color scheme.
for server in $(nvr --serverlist); do
nvr --servername "$server" -cc 'set background=light'
done

View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo '@theme "/usr/share/rofi/themes/Arc.rasi"' > $HOME/.config/rofi/config.rasi

View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo '@import "layout.css"; @import "catppuccin-latte.css";' > $HOME/.config/waybar/style.css
killall -SIGUSR2 waybar &