add solarized dark colorscheme

This commit is contained in:
Lucas Barbieri 2024-03-03 22:00:48 -03:00
parent f19044fb79
commit 6b868d519b
17 changed files with 176 additions and 38 deletions

View File

@ -6,6 +6,7 @@ source = ~/.config/hypr/init.conf
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = QT_QPA_PLATOFORMTHEME=qt5ct env = QT_QPA_PLATOFORMTHEME=qt5ct
env = QT_STYLE_OVERRIDE=kvantum
source = ~/.config/hypr/settings.conf source = ~/.config/hypr/settings.conf

View File

@ -2,7 +2,7 @@ exec-once = ~/scripts/fix.sh
exec-once = spotifyd & exec-once = spotifyd &
exec-once = lxqt-policykit-agent & exec-once = lxqt-policykit-agent &
exec-once = gentoo-pipewire-launcher & exec-once = gentoo-pipewire-launcher &
exec-once = ~/scripts/wppengine.sh exec-once = ~/scripts/swww.sh
exec-once = gammastep -t 4500:3500 -l -23.5475:-46.63611 -b 1.0:0.6 & exec-once = gammastep -t 4500:3500 -l -23.5475:-46.63611 -b 1.0:0.6 &
exec-once = gsettings set org.gnome.desktop.interface icon-theme Win10Sur-black-dark & gsettings set org.gnome.desktop.interface gtk-theme Numix-BLACK-Pomegranate & gsettings set org.gnome.desktop.interface cursor-theme Simp1e exec-once = gsettings set org.gnome.desktop.interface icon-theme Win10Sur-black-dark & gsettings set org.gnome.desktop.interface gtk-theme Numix-BLACK-Pomegranate & gsettings set org.gnome.desktop.interface cursor-theme Simp1e
exec-once = dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

View File

@ -11,6 +11,7 @@ windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
windowrulev2=float,class:anki,title:Add windowrulev2=float,class:anki,title:Add
windowrulev2=size 0%,class:explorer.exe,title:Wine System Tray windowrulev2=size 0%,class:explorer.exe,title:Wine System Tray
windowrulev2=float, class:(firefox), title:(Picture-in-Picture) windowrulev2=float, class:(firefox), title:(Picture-in-Picture)
windowrulev2=workspace 5 silent, class:(jetbrains-idea)
windowrule=float,xdg-desktop-portal-gtk windowrule=float,xdg-desktop-portal-gtk
windowrule=workspace 11 silent,org.corectrl.corectrl windowrule=workspace 11 silent,org.corectrl.corectrl
@ -49,5 +50,4 @@ windowrule=workspace 9 silent,steam_.*
windowrule=workspace 10 silent,SFP_UI windowrule=workspace 10 silent,SFP_UI
windowrule=workspace 4 silent,Spotify windowrule=workspace 4 silent,Spotify
windowrule=workspace 3 silent,parsecd windowrule=workspace 3 silent,parsecd
windowrule=workspace 12 silent,org.pwmt.zathura
windowrule=workspace 13 silent,Chromium-browser-chromium windowrule=workspace 13 silent,Chromium-browser-chromium

View File

@ -0,0 +1,60 @@
# status bar
set -g status-style fg=colour16,bg=colour0
# set-option -g status-attr default
set-option -g status-position bottom
set-option -g status-interval 60
set-option -g status-bg default
set-option -g status-fg colour7
# Left side of status bar
set-option -g status-left-length 20
# set-option -g status-left "#[fg=colour7,bg=colour0] #S #[fg=default,bg=default] "
set-option -g status-left '#{?client_prefix,#[fg=black]#[bg=colour2]  ,#[bg=colour0] #S }#[fg=default,bg=default] '
# Window status
set-option -g window-status-format "#[fg=colour7,bg=colour0] #I #[fg=colour7,bg=colour0] #W "
set-option -g window-status-current-format "#[fg=black,bg=colour2] #I #[fg=colour7,bg=colour0] #W "
set-option -g window-status-separator " "
set-option -g status-justify left
# Right side of status bar
set-option -g status-right-length 200
set -g status-right "#{playerctl_short} | #(whoami)@#h "
set -g @short_length "50"
# set -g @short_length "30"
# set -g @short_append_chars "..."
# WEATHER='#(curl -s wttr.in/Berlin\?format\="%%t+%%C+%%w+%%m")'
# set-option -g status-right "#[fg=colour7,bg=colour2]🌡 BER #[fg=colour7,bg=colour0] $WEATHER #[fg=colour7,bg=colour2]  #[fg=colour7,bg=colour0] #(whoami)@#h "
# pane border
set -g pane-border-style fg=colour238,bg=colour0
set -g pane-active-border-style fg=colour2,bg=colour0
# Pane number indicator
set-option -g display-panes-colour colour0
set-option -g display-panes-active-colour colour7
# Clock mode
# set-option -g clock-mode-colour colour7
# set-option -g clock-mode-style 24
# Message
set -g message-style fg=default,bg=default
# Activity
set-option -g monitor-activity on
set-option -g monitor-silence 0
set-option -g monitor-bell on
set-option -g activity-action other
set-option -g visual-activity off
# Window numbering
set-option -g base-index 1
set-option -g pane-base-index 1
set-option -g renumber-windows on
# select default layout
set-option -g main-pane-width 65
set-option -g main-pane-height 65

View File

@ -1,3 +1,3 @@
background-color = #fbf1c7DD background-color = #f1f1f1DD
text-color = #54433a text-color = #54433a
selection-color = #a06d00 selection-color = #bc5c00

View File

@ -0,0 +1,3 @@
background-color = #002b36BB
text-color = #839496
selection-color = #859900

View File

@ -1 +1 @@
/yang/.config/tofi/melange.conf /yang/.config/tofi/solarized.conf

View File

@ -7,8 +7,8 @@
} }
window#waybar { window#waybar {
background: #fbf1c7; background: #f1f1f1;
color: #3c3836; color: #54433a;
} }
#custom-logo { #custom-logo {
@ -23,13 +23,13 @@ window#waybar {
#workspaces button { #workspaces button {
margin-left: 2px; margin-left: 2px;
margin-right: 10px; margin-right: 10px;
color: #3c3836; color: #54433a;
} }
#workspaces button:hover, #workspaces button:hover,
#workspaces button:active { #workspaces button:active {
background-color: #fbf1c7; background-color: #f1f1f1;
color: #3c3836; color: #54433a;
} }
#workspaces button.focused { #workspaces button.focused {

View File

@ -0,0 +1,50 @@
* {
border: none;
border-radius: 0;
padding: 0;
margin: 0;
font-size: 11px;
}
window#waybar {
background: #fff;
color: #292828;
}
#custom-logo {
font-size: 18px;
margin: 0;
margin-left: 7px;
margin-right: 12px;
padding: 0;
font-family: NotoSans Nerd Font Mono;
}
#workspaces button {
margin-left: 2px;
margin-right: 10px;
color: #292828;
}
#workspaces button:hover,
#workspaces button:active {
background-color: #fff;
color: #292828;
}
#workspaces button.focused {
background-color: #383737;
}
#language {
margin-right: 7px;
}
#battery {
margin-left: 7px;
margin-right: 3px;
}
#clock {
margin: 0px 6px;
}

View File

@ -7,8 +7,8 @@
} }
window#waybar { window#waybar {
background: #fff; background: #002b36;
color: #292828; color: #839496;
} }
#custom-logo { #custom-logo {
@ -23,13 +23,13 @@ window#waybar {
#workspaces button { #workspaces button {
margin-left: 2px; margin-left: 2px;
margin-right: 10px; margin-right: 10px;
color: #292828; color: #839496;
} }
#workspaces button:hover, #workspaces button:hover,
#workspaces button:active { #workspaces button:active {
background-color: #fff; background-color: #002b36;
color: #292828; color: #839496;
} }
#workspaces button.focused { #workspaces button.focused {

View File

@ -8,30 +8,47 @@ RED_NORMAL_WPP=~/pics/wallpapers/bm3.png
RED_WIDE_LIVE=2883426230 RED_WIDE_LIVE=2883426230
RED_NORMAL_LIVE=2011974721 RED_NORMAL_LIVE=2011974721
MELANGE_WIDE_WPP=~/pics/wallpapers/melange1.png
MELANGE_NORMAL_WPP=~/pics/wallpapers/melange1.jpg
MELANGE_WIDE_LIVE=2980001176 MELANGE_WIDE_LIVE=2980001176
MELANGE_NORMAL_LIVE=3033188884 MELANGE_NORMAL_LIVE=3033188884
SOLARIZED_WIDE_WPP=~/pics/wallpapers/solarized5.jpg
SOLARIZED_NORMAL_WPP=~/pics/wallpapers/solarized4.png
CHOICE=$(tofi <$HOME/scripts/choices) CHOICE=$(tofi <$HOME/scripts/choices)
case "$CHOICE" in case "$CHOICE" in
solarized)
~/scripts/swww.sh $SOLARIZED_WIDE_WPP $SOLARIZED_NORMAL_WPP
#change tmux theme
ln -sf ~/.config/tmux/tmux-solarized.conf ~/.config/tmux/theme.conf
tmux source-file ~/.config/tmux/tmux.conf
# change wezterm theme
sed -i 's/color_scheme = .*/color_scheme = "Solarized Dark (Gogh)"/g' ~/.config/wezterm/wezterm.lua
# neofetch
sed -i 's/image_source=.*/image_source="$HOME\/pics\/neofetch\/sol\/☆ICON☆.jpg"/g' ~/.config/neofetch/config.conf
sed -i 's/{cl11}/{cl3}/' ~/.config/neofetch/config.conf
# change tofi theme
ln -sf ~/.config/tofi/solarized.conf ~/.config/tofi/theme.conf
;;
melange) melange)
# i'll give linux-wppengine a try # i'll give linux-wppengine a try
~/scripts/wppengine.sh $MELANGE_WIDE_LIVE $MELANGE_NORMAL_LIVE ~/scripts/swww.sh $MELANGE_WIDE_WPP $MELANGE_NORMAL_WPP
#change tmux theme #change tmux theme
ln -sf ~/.config/tmux/tmux-melange.conf ~/.config/tmux/theme.conf ln -sf ~/.config/tmux/tmux-melange.conf ~/.config/tmux/theme.conf
tmux source-file ~/.config/tmux/tmux.conf tmux source-file ~/.config/tmux/tmux.conf
# waybar white css
killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null &
# change wezterm theme # change wezterm theme
sed -i 's/color_scheme = .*/color_scheme = "Gruvbox light, medium (base16)"/g' ~/.config/wezterm/wezterm.lua sed -i 's/color_scheme = .*/color_scheme = "melange_light"/g' ~/.config/wezterm/wezterm.lua
# change waybar theme
killall waybar; waybar -s ~/.config/waybar/style-melange.css > /dev/null &
# neofetch # neofetch
sed -i 's/image_source=.*/image_source="$HOME\/pics\/neofetch\/melangium.jpg"/g' ~/.config/neofetch/config.conf sed -i 's/image_source=.*/image_source="$HOME\/pics\/neofetch\/melangium.jpg"/g' ~/.config/neofetch/config.conf
@ -50,10 +67,7 @@ case "$CHOICE" in
# neofetch # neofetch
sed -i 's/image_source=.*/image_source="$HOME\/pics\/rh.jpg"/g' ~/.config/neofetch/config.conf sed -i 's/image_source=.*/image_source="$HOME\/pics\/rh.jpg"/g' ~/.config/neofetch/config.conf
sed -i '0,/cl3/{s/cl3/cl11/}' ~/.config/neofetch/config.conf sed -i 's/{cl11}/{cl3}/' ~/.config/neofetch/config.conf
# waybar white css
killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null &
# change tofi theme # change tofi theme
ln -sf ~/.config/tofi/white.conf ~/.config/tofi/theme.conf ln -sf ~/.config/tofi/white.conf ~/.config/tofi/theme.conf
@ -62,7 +76,7 @@ case "$CHOICE" in
red) red)
# wpp engine? # wpp engine?
~/scripts/wppengine.sh $RED_WIDE_LIVE $RED_NORMAL_LIVE ~/scripts/swww.sh $RED_WIDE_WPP $RED_NORMAL_WPP
# change tmux theme and reload # change tmux theme and reload
ln -sf ~/.config/tmux/tmux-red.conf ~/.config/tmux/theme.conf ln -sf ~/.config/tmux/tmux-red.conf ~/.config/tmux/theme.conf
@ -73,10 +87,7 @@ case "$CHOICE" in
# change neofetch pic (yes lmao) # change neofetch pic (yes lmao)
sed -i 's/image_source=.*/image_source="$HOME\/pics\/red.jpg"/g' ~/.config/neofetch/config.conf sed -i 's/image_source=.*/image_source="$HOME\/pics\/red.jpg"/g' ~/.config/neofetch/config.conf
sed -i '0,/cl11/{s/cl11/cl3/}' ~/.config/neofetch/config.conf sed -i '{cl11}/{cl3}/' ~/.config/neofetch/config.conf
# waybar black css
killall waybar; waybar > /dev/null &
# change tofi theme # change tofi theme
ln -sf ~/.config/tofi/red.conf ~/.config/tofi/theme.conf ln -sf ~/.config/tofi/red.conf ~/.config/tofi/theme.conf
@ -89,3 +100,4 @@ case "$CHOICE" in
esac esac
echo $CHOICE > ~/colorscheme echo $CHOICE > ~/colorscheme
hyprctl reload

View File

@ -1,3 +1,4 @@
white white
red red
solarized
melange melange

View File

@ -2,7 +2,12 @@
# i adapted this script from maze, a dear friend of mine # i adapted this script from maze, a dear friend of mine
# maze42d/dotfiles on github # maze42d/dotfiles on github
hostname="$(uname -a) | awk '{print $2}'"
if [[ $hostname == "sovereign" ]]; then
firefox_binary="firefox"
else
firefox_binary="firefox-bin" firefox_binary="firefox-bin"
fi
if [[ -z $1 ]]; then if [[ -z $1 ]]; then
echo "Usage: $0 <profile> <workspace>" echo "Usage: $0 <profile> <workspace>"

View File

@ -4,12 +4,16 @@
CURRENT_THEME=$(cat ~/colorscheme) CURRENT_THEME=$(cat ~/colorscheme)
case "$CURRENT_THEME" in case "$CURRENT_THEME" in
solarized)
killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null &
# hyprctl keyword general:col.active_border todo
;;
melange) melange)
killall waybar; waybar -s ~/.config/waybar/style-melange.css > /dev/null & killall waybar; waybar -s ~/.config/waybar/style-melange.css > /dev/null &
hyprctl keyword general:col.active_border "rgba(7892bdff) rgba(6e9b72ff) 45deg" hyprctl keyword general:col.active_border "rgba(7892bdff) rgba(6e9b72ff) 45deg"
;; ;;
white) white)
killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null & killall waybar; waybar -s ~/.config/waybar/style-solarized-light.css > /dev/null &
# hyprctl keyword general:col.active_border todo # hyprctl keyword general:col.active_border todo
;; ;;
red) red)

View File

@ -12,7 +12,9 @@ if [[ -z "$1" ]]; then
FIRST=~/pics/wallpapers/bm5.jpg FIRST=~/pics/wallpapers/bm5.jpg
SECOND=~/pics/wallpapers/bm3.png SECOND=~/pics/wallpapers/bm3.png
;; ;;
melange) #todo melange)
FIRST=~/pics/wallpapers/melange1.png
SECOND=~/pics/wallpapers/melange1.jpg
;; ;;
white) # todo white) # todo
FIRST=~/pics/wallpapers/sl3.jpg FIRST=~/pics/wallpapers/sl3.jpg

View File

@ -9,7 +9,7 @@ if [[ -z "$1" ]]; then
;; ;;
melange) melange)
FIRST=2980001176 FIRST=2980001176
SECOND=3033188884 SECOND=1607915797
;; ;;
white) # todo white) # todo
;; ;;