final theming scripts and modification

This commit is contained in:
2023-09-21 22:26:22 +02:00
parent 17145cd0dd
commit 775de83e85
74 changed files with 218 additions and 527 deletions

3
.gitignore vendored
View File

@@ -3,4 +3,5 @@ dwm/.dwm/dwm.o
dwm/.dwm/util.o
dwm/.dwm/dwm
dwm/.dwm/drw.o
ulauncher/.config/ulauncher/ext_preferences
ulauncher/.config/ulauncher/ext_preferences
spicetify/.config/spicetify/Extracted

View File

@@ -1,31 +0,0 @@
#!/bin/bash
# Update alacritty config to apply Xresources color scheme
# Target file
target_file="$HOME/.config/alacritty/alacritty.yml"
# copy input file to temporary file for black magic fuckery
# (alacritty applies colors when the config file is written, so we want to do it
# all in one write)
cp $target_file.in $target_file.tmp
# Grab colors from Xresources
xrdb ~/.cache/wal/colors.Xresources
# Numbered colors
for i in {0..15}
do
v=`xrdb -query | awk '/*.color'"$i":'/ { print substr($2,2) }'`
#echo $v
eval "sed -i 's/%cl${i}%/\x270x${v}\x27/g' $target_file.tmp";
done
# Named colors
foreground=`xrdb -query | awk '/*.foreground/ { print substr($2,2) }'`
background=`xrdb -query | awk '/*.background/ { print substr($2,2) }'`
sed -i "s/%clfg%/\x270x${foreground}\x27/g" $target_file.tmp
sed -i "s/%clbg%/\x270x${background}\x27/g" $target_file.tmp
# Finally, replace target file with our updated one
rm $target_file
mv $target_file.tmp $target_file

11
cava/.config/cava/config Normal file
View File

@@ -0,0 +1,11 @@
[color]
; background = #0b0c16
; foreground = #c2c2c4
gradient = 1
gradient_count = 4
gradient_color_1 = '#554D8D'
gradient_color_2 = '#A33582'
gradient_color_3 = '#2482BC'
gradient_color_4 = '#2D8FCB'

View File

@@ -0,0 +1,5 @@
#!/bin/bash
cp -r $HOME/.cache/wal/colors-cava.cava $HOME/.config/cava
cd $HOME/.config/cava
mv colors-cava.cava config

View File

@@ -66,7 +66,8 @@ source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
# wallpaper engine and theming
# nitrogen --restore &
wal --backend colorz -i $HOME/.dots/nitrogen/.config/nitrogen/pexels-engin-akyurt-1435752.jpg &
# wal --backend colorz -i $HOME/.dots/nitrogen/.config/nitrogen/pexels-engin-akyurt-1435752.jpg &
. ~/.fehbg &
xrdb merge ~/.cache/wal/colors.Xresources &
## Set screen locker

View File

@@ -9,30 +9,30 @@
/* CSS variables
Generated by 'wal' */
:root {
--wallpaper: url("/home/mike/.config/nitrogen/pexels-skyler-ewing-5228890.jpg");
--wallpaper: url("/home/mike/Wallpapers/bigsur.jpeg");
/* Special */
--background: #080102;
--foreground: #c1bfbf;
--cursor: #c1bfbf;
--background: #0b0c16;
--foreground: #c2c2c4;
--cursor: #c2c2c4;
/* Colors */
--color0: #080102;
--color1: #3e335c;
--color2: #732324;
--color3: #6f273b;
--color4: #442e64;
--color5: #3b4374;
--color6: #6d439f;
--color7: #838080;
--color8: #454041;
--color9: #53447B;
--color10: #9A2F31;
--color11: #94344F;
--color12: #5B3E86;
--color13: #4F5A9B;
--color14: #925AD4;
--color15: #c1bfbf;
--color0: #0b0c16;
--color1: #0c5484;
--color2: #3f3969;
--color3: #7a2761;
--color4: #1b618d;
--color5: #216b98;
--color6: #3e81ab;
--color7: #85858a;
--color8: #484850;
--color9: #1171B0;
--color10: #554D8D;
--color11: #A33582;
--color12: #2482BC;
--color13: #2D8FCB;
--color14: #53ACE4;
--color15: #c2c2c4;
}
/** colors will come from .cache/wal/colors.css as variables defined in :root
* see: cat $HOME/.cache/wal/colors.css

View File

@@ -11,4 +11,6 @@ shell zsh
confirm_os_window_close 0
detect_urls yes
detect_urls yes
enable_audio_bell no

22
mako/.config/mako/config Normal file
View File

@@ -0,0 +1,22 @@
sort=-time
layer=overlay
background-color=#0b0c16
width=300
height=110
border-size=3
text-color=#c2c2c4
border-color=#2D8FCB
border-radius=10
icons=1
padding=24
max-icon-size=64
default-timeout=5000
ignore-timeout=1
font=CartographCF Nerd Font 11
[urgency=high]
default-timeout=0
[category=mpd]
default-timeout=2000
group-by=category

View File

@@ -0,0 +1,22 @@
#!/bin/bash
. "${HOME}/.cache/wal/colors.sh"
conffile="${HOME}/.config/mako/config"
# Associative array, color name -> color code.
declare -A colors
colors=(
["background-color"]="$background"
["text-color"]="$foreground"
["border-color"]="$color13"
)
for color_name in "${!colors[@]}"; do
# replace first occurance of each color in config file
sed -i "0,/^$color_name.*/{s//$color_name=${colors[$color_name]}/}" $conffile
done
makoctl reload
notify-send "Wallpaper and colors updated"

View File

@@ -0,0 +1,22 @@
#!/bin/bash
. "${HOME}/.cache/wal/colors.sh"
conffile="${HOME}/.config/mako/config"
# Associative array, color name -> color code.
declare -A colors
colors=(
["background-color"]="$background"
["text-color"]="$foreground"
["border-color"]="$color13"
)
for color_name in "${!colors[@]}"; do
# replace first occurance of each color in config file
sed -i "0,/^$color_name.*/{s//$color_name=${colors[$color_name]}/}" $conffile
done
makoctl reload
notify-send "Wallpaper and colors updated"

View File

@@ -1,14 +0,0 @@
[xin_0]
file=/home/mike/.config/nitrogen/pexels-skyler-ewing-5228890.jpg
mode=5
bgcolor=#24273a
[xin_1]
file=/home/mike/.config/nitrogen/pexels-skyler-ewing-5228890.jpg
mode=5
bgcolor=#24273a
[xin_2]
file=/home/mike/.config/nitrogen/pexels-skyler-ewing-5228890.jpg
mode=5
bgcolor=#24273a

View File

@@ -1,4 +0,0 @@
'/home/mike/.dots/nitrogen/.config/nitrogen/pexels-skyler-ewing-5228890.jpg\'#A5BFC3#C0C8C6#A7B5B4#9D7055#322C2B
'/home/mike/.dots/nitrogen/.config/nitrogen/cat-waves.png\'#1E1E2E#242436#43455E#707DA0#B6BEF2
'/home/mike/.dots/nitrogen/.config/nitrogen/pexels-engin-akyurt-1435752.jpg\'#017898#0486A2#2FB7D6#028CAC#9FDCE9
'/home/mike/.dots/nitrogen/.config/nitrogen/z3in53x1r1d81.png\'#615D71#CCA2B4#302D41#1A1927

View File

@@ -168,6 +168,7 @@ opacity-rule = [
"90:class_g = 'Spotify'",
"90:class_g = 'notion-app'",
"90:class_g = 'easyeffects'",
"85:class_g = 'kitty'",
# "85:class_g = 'firefox'",
]

View File

@@ -181,5 +181,3 @@ configuration {
me-accept-custom: "Control+MouseDPrimary";
*/
}
@theme "catppuccin-macchiato"

View File

@@ -21,13 +21,16 @@ else
exit 1
fi
swww img $wallpaper --transition-type grow --transition-fps 60 --transition-duration 1.0 --transition-bezier 0.65,0,0.35,1 --transition-step 255
# swww img $wallpaper --transition-type grow --transition-fps 60 --transition-duration 1.0 --transition-bezier 0.65,0,0.35,1 --transition-step 255
feh --bg-fill $wallpaper
wal -i $wallpaper --cols16
pywalfox update
pywal-discord -t default
wal-telegram --wal
kill -HUP $(pgrep dwm)
. $HOME/.config/mako/update-colors.sh
. $HOME/.config/spicetify/Themes/Pywal/update-colors.sh
. $HOME/.config/cava/scripts/update-colors.sh

View File

@@ -6,6 +6,7 @@ theme='style-1'
declare -A URLS
URLS=(
["kvasir"]="https://czyz.icu/search?q="
["google"]="https://www.google.com/search?q="
["bing"]="https://www.bing.com/search?q="
["yahoo"]="https://search.yahoo.com/search?p="

View File

@@ -1 +0,0 @@
(43 × 4) (43 × 2) = 86

View File

@@ -1,111 +0,0 @@
* {
bg-col: #303446;
bg-col-light: #303446;
border-col: #303446;
selected-col: #303446;
blue: #8caaee;
fg-col: #c6d0f5;
fg-col2: #e78284;
grey: #737994;
width: 600;
font: "JetBrainsMono Nerd Font 14";
}
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
lines: 5;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
}
message {
background-color: @bg-col-light;
margin: 2px;
padding: 2px;
border-radius: 5px;
}
textbox {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: @blue;
background-color: @bg-col-light;
}

View File

@@ -1,111 +0,0 @@
* {
bg-col: #eff1f5;
bg-col-light: #eff1f5;
border-col: #eff1f5;
selected-col: #eff1f5;
blue: #1e66f5;
fg-col: #4c4f69;
fg-col2: #d20f39;
grey: #9ca0b0;
width: 600;
font: "JetBrainsMono Nerd Font 14";
}
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
lines: 5;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
}
message {
background-color: @bg-col-light;
margin: 2px;
padding: 2px;
border-radius: 5px;
}
textbox {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: @blue;
background-color: @bg-col-light;
}

View File

@@ -1,111 +0,0 @@
* {
bg-col: #24273a;
bg-col-light: #24273a;
border-col: #24273a;
selected-col: #24273a;
blue: #8aadf4;
fg-col: #cad3f5;
fg-col2: #8aadf4;
grey: #6e738d;
width: 600;
font: "JetBrainsMono Nerd Font 14";
}
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
lines: 5;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
}
message {
background-color: @bg-col-light;
margin: 2px;
padding: 2px;
border-radius: 5px;
}
textbox {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: @blue;
background-color: @bg-col-light;
}

View File

@@ -1,111 +0,0 @@
* {
bg-col: #1e1e2e;
bg-col-light: #1e1e2e;
border-col: #1e1e2e;
selected-col: #1e1e2e;
blue: #89b4fa;
fg-col: #cdd6f4;
fg-col2: #f38ba8;
grey: #6c7086;
width: 600;
font: "JetBrainsMono Nerd Font 14";
}
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
lines: 5;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
}
message {
background-color: @bg-col-light;
margin: 2px;
padding: 2px;
border-radius: 5px;
}
textbox {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: @blue;
background-color: @bg-col-light;
}

View File

@@ -33,7 +33,6 @@ echo "Installing additional software (this may take a long time!)"
paru -S \
adobe-source-code-pro-fonts \
alacritty \
bat \
betterlockscreen \
calf \
@@ -63,6 +62,7 @@ helvum \
jq \
json-c \
json-glib \
kitty \
kleopatra \
kvantum \
less \
@@ -170,3 +170,46 @@ xss-lock \
zoxide \
zsh
# stowing
echo "Stowing dotfiles"
cd $HOME/.dots
stow alacritty
stow bash
stow bat
stow common
stow desktop
stow dunst
stow feh
stow gtk
stow htop
stow kitty
stow kvantum
stow libvirt
stow neofetch
stow nitrogen
stow picom
stow rofi
stow wal
stow zsh
# compiling desktop environment
echo "Compiling desktop environment"
cd $HOME/.dwm
sudo make clean install
cd $HOME/.dmenu
sudo make clean install
cd $HOME/.st
sudo make clean install
# disable lightdm
echo "Disable lightdm (setup uses .xinitrc)"
sudo systemctl disable lightdm.service
echo "Setup complete!"
echo "Please reboot your computer for changes to apply"

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,16 @@
[Dynamic]
text = c2c2c4
subtext = c2c2c4
main = 0b0c16
sidebar = 0b0c16
player = 0b0c16
card = 0b0c16
shadow = 0b0c16
selected-row = 53ACE4
button = 1171B0
button-active = 53ACE4
button-disabled = 484850
tab-active = 1171B0
notification = 0b0c16
notification-error = 1171B0
misc = 0b0c16

View File

@@ -0,0 +1,5 @@
#!/bin/bash
cp -r $HOME/.cache/wal/colors-spicetify.ini $HOME/.config/spicetify/Themes/Pywal
cd $HOME/.config/spicetify/Themes/Pywal
mv colors-spicetify.ini color.ini

View File

@@ -0,0 +1,31 @@
[Setting]
inject_theme_js = 1
overwrite_assets = 0
check_spicetify_upgrade = 1
prefs_path = /home/mike/.config/spotify/prefs
current_theme = Pywal
inject_css = 1
replace_colors = 1
spotify_launch_flags =
spotify_path = /opt/spotify/
color_scheme =
[Preprocesses]
expose_apis = 1
disable_sentry = 1
disable_ui_logging = 1
remove_rtl_rule = 1
[AdditionalOptions]
extensions =
custom_apps =
sidebar_config = 1
home_config = 1
experimental_features = 1
[Patch]
; DO NOT CHANGE!
[Backup]
version = 1.2.20.1210.g2a8a8a57
with = Dev

View File

@@ -71,25 +71,25 @@ URxvt*depth: 32
dwm.normfgcolor: {foreground}
dwm.normbgcolor: {background}
dwm.normbordercolor: {color15}
dwm.normbordercolor: {background}
dwm.normfloatcolor: {color7}
dwm.selfgcolor: {color0}
dwm.selbgcolor: {color1}
dwm.selbordercolor: {color9}
dwm.selfloatcolor: {color9}
dwm.titlenormfgcolor: {color7}
dwm.titlenormfgcolor: {foreground}
dwm.titlenormbgcolor: {color0}
dwm.titlenormbordercolor: {color8}
dwm.titlenormfloatcolor: {color0}
dwm.titleselfgcolor: {color2}
dwm.titleselfgcolor: {color5}
dwm.titleselbgcolor: {background}
dwm.titleselbordercolor: {color15}
dwm.titleselfloatcolor: {color15}
dwm.tagsnormfgcolor: {color7}
dwm.tagsnormfgcolor: {foreground}
dwm.tagsnormbgcolor: {color0}
dwm.tagsnormbordercolor: {color15}
dwm.tagsnormfloatcolor: {color15}
dwm.tagsselfgcolor: {color2}
dwm.tagsselfgcolor: {color5}
dwm.tagsselbgcolor: {color0}
dwm.tagsselbordercolor: {color4}
dwm.tagsselfloatcolor: {color5}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 MiB

After

Width:  |  Height:  |  Size: 9.1 MiB

View File

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 MiB

View File

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@@ -28,3 +28,4 @@ fi
export FZF_DEFAULT_OPTS="--color=bg+:#363a4f,bg:#24273a,spinner:#f4dbd6,hl:#ed8796 --color=fg:#cad3f5,header:#ed8796,info:#c6a0f6,pointer:#f4dbd6 --color=marker:#f4dbd6,fg+:#cad3f5,prompt:#c6a0f6,hl+:#ed8796";
export PATH=$PATH:$HOME/.local/bin