From f5ca2e9c67d3d9b8c19bf22cbeaf2b37e0f27206 Mon Sep 17 00:00:00 2001
From: tavo-wasd <gustavo@gustavocalvo.xyz>
Date: Fri, 16 Feb 2024 18:02:36 -0600
Subject: [PATCH] theming

---
 .gitignore        |  1 +
 dunst/dunstrc     | 14 +++++++-------
 foot/foot.ini     |  3 ---
 scripts/menu/menu | 10 +++++-----
 shell/aliasrc     |  3 +--
 shell/envvar      |  1 +
 sway/config       | 19 +++++++++++++------
 7 files changed, 28 insertions(+), 23 deletions(-)

diff --git a/.gitignore b/.gitignore
index 49da333..2e9befe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -217,3 +217,4 @@ retroarch/
 gcolor3/
 pcmanfm-qt/
 cni/
+btop/
diff --git a/dunst/dunstrc b/dunst/dunstrc
index bb330b1..ef3237c 100644
--- a/dunst/dunstrc
+++ b/dunst/dunstrc
@@ -27,7 +27,7 @@
     horizontal_padding = 24
     text_icon_padding = 0
     frame_width = 1
-    frame_color = "#2e9ef4"
+    frame_color = "#83a598"
     gap_size = 0
     separator_color = frame
 
@@ -70,18 +70,18 @@
     per_monitor_dpi = false
 
 [urgency_low]
-    background = "#2e9ef499"
-    foreground = "#ffffff"
+    background = "#83a598"
+    foreground = "#121212"
     timeout = 2
 
 [urgency_normal]
-    background = "#2e9ef499"
-    foreground = "#ffffff"
+    background = "#83a598"
+    foreground = "#121212"
     timeout = 8
 
 [urgency_critical]
-    background = "#2e9ef499"
-    foreground = "#ffffff"
+    background = "#83a598"
+    foreground = "#121212"
     frame_color = "#FB4934"
     timeout = 0
 
diff --git a/foot/foot.ini b/foot/foot.ini
index 30fe66a..f8a0672 100644
--- a/foot/foot.ini
+++ b/foot/foot.ini
@@ -3,9 +3,6 @@ font=JetBrainsMono:size=9
 [environment]
 # name=value
 
-[colors]
-alpha=0.9
-
 [colors]
 background=121212
 foreground=ebdbb2
diff --git a/scripts/menu/menu b/scripts/menu/menu
index 83f6deb..9e66ac5 100755
--- a/scripts/menu/menu
+++ b/scripts/menu/menu
@@ -11,9 +11,9 @@ font="JetbrainsMono"
 font_size="10"
 col_white="#ffffff" # White
 col_nb="#121212"    # Normal background
-col_nf="#665c54"    # Normal foreground
+col_nf="#282828"    # Normal foreground
 col_sb="#121212"    # Selected background
-col_sf="#2e9ef4"    # Selected foreground
+col_sf="#83a598"    # Selected foreground
 
 menu_bemenu() {
 bemenu$BRUN \
@@ -22,12 +22,12 @@ bemenu$BRUN \
     -c \
     -l 10 \
     -W 0.4 \
-    -B 1 \
+    -B 2 \
     --cw 1 \
     --tb $col_sb \
-    --tf $col_nf  \
+    --tf $col_sf  \
     --fb $col_nb  \
-    --ff $col_white  \
+    --ff $col_sf  \
     --cb $col_nb  \
     --cf $col_nf \
     --nb $col_nb  \
diff --git a/shell/aliasrc b/shell/aliasrc
index 2a7e8e0..d505cb0 100644
--- a/shell/aliasrc
+++ b/shell/aliasrc
@@ -17,8 +17,7 @@ alias \
 
 # Common
 alias \
-    ll="exa -al --group-directories-first" \
-    ls="ls -A --color=auto" \
+    ls="exa -al --group-directories-first" \
     fzf="fzf --cycle --reverse" \
     diff="diff --color=auto" \
     grep="grep --color=auto" \
diff --git a/shell/envvar b/shell/envvar
index 8eba207..0c26fc8 100644
--- a/shell/envvar
+++ b/shell/envvar
@@ -8,6 +8,7 @@ PATH="$HOME/.config/scripts/sway${PATH:+:${PATH}}"
 PATH="$HOME/.config/wrappers${PATH:+:${PATH}}"
 PATH="$HOME/.config/scripts${PATH:+:${PATH}}"
 PATH="$HOME/.local/bin${PATH:+:${PATH}}"
+#PATH="/usr/local/plan9/bin${PATH:+:${PATH}}"
 
 # Common
 export \
diff --git a/sway/config b/sway/config
index b299eb8..b563b55 100644
--- a/sway/config
+++ b/sway/config
@@ -1,6 +1,6 @@
 # Preferences
 output * {
-    bg ~/Pictures/Backgrounds/default.png fill
+    bg ~/Pictures/Backgrounds/default.jpg fill
 }
 
 input type:touchpad {
@@ -44,6 +44,9 @@ set $brightup ~/.config/scripts/brightup
 set $brightdown ~/.config/scripts/brightdown
 set $powermenu ~/.config/scripts/menu/menu-power
 set $bookmenu ~/.config/scripts/menu/menu-bookmarks
+# -
+set $col_fg #83a598
+set $col_bg #121212
 
 # Keybinds
 floating_modifier $mod normal
@@ -122,8 +125,8 @@ bindsym $mod+f fullscreen
 bindsym $mod+Shift+f floating toggle
 
 # Layout
-client.focused #ebdbb2 #ebdbb2 #121212 #ebdbb2 #ebdbb2
-client.unfocused #121212 #121212 #ebdbb260 #121212 #121212
+client.focused $col_fg $col_fg $col_bg $col_fg $col_fg
+client.unfocused $col_bg $col_bg $col_fg $col_bg $col_bg
 default_border pixel 2
 titlebar_border_thickness 2
 titlebar_padding 2
@@ -138,12 +141,16 @@ bar {
 
     colors {
         background #00000000
-        statusline #ebdbb260
-        focused_workspace #ebdbb2 #ebdbb2 #121212
-        inactive_workspace #00000000 #00000000 #ebdbb260
+        statusline #ebdbb270
+        focused_workspace $col_fg $col_fg $col_bg
+        inactive_workspace #00000000 #00000000 #ebdbb270
     }
 }
 
+set $opacity 0.95
+for_window [class=".*"] opacity $opacity
+for_window [app_id=".*"] opacity $opacity
+
 # Autostart
 exec_always dunst
 exec_always dbus-update-activation-environment WAYLAND_DISPLAY