From cb2490baae462300cdecd9f4ac5c48ffb6c6f422 Mon Sep 17 00:00:00 2001 From: opal Date: Sun, 15 Sep 2024 22:51:12 -0700 Subject: [PATCH] stuff --- .bash_profile | 2 +- .config/alacritty/alacritty.toml | 3 ++- .config/doom/config.el | 8 ++++---- .config/sway/config | 27 +++++++++++++++++---------- .config/waybar/config | 18 +++++++++--------- .config/waybar/scripts/weather.scm | 3 +++ .config/waybar/style.css | 16 ++++------------ 7 files changed, 40 insertions(+), 37 deletions(-) diff --git a/.bash_profile b/.bash_profile index c590679..6451ef8 100644 --- a/.bash_profile +++ b/.bash_profile @@ -4,4 +4,4 @@ if [ -f ~/.bash_env ]; then . "$HOME"/.bash_env fi -[ "$(tty)" = "/dev/tty1" ] && exec sway +# [ "$(tty)" = "/dev/tty1" ] && exec sway diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 5c48b5e..255c484 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -15,4 +15,5 @@ x = 0 y = 0 [window] -opacity = 0.95 +opacity = 0.9 + diff --git a/.config/doom/config.el b/.config/doom/config.el index 5d588dc..cbf20ff 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -26,7 +26,7 @@ ;; Font configuration (set-face-attribute 'default nil :font "Terminus" :height 200) (set-face-attribute 'fixed-pitch nil :font "Terminus" :height 200) -(set-face-attribute 'variable-pitch nil :font "ETBookOT" :height 200) +(set-face-attribute 'variable-pitch nil :font "ETBembo" :height 200) (defun opal/org-font-setup () ;; Replace list hyphen with dot @@ -44,7 +44,7 @@ (org-level-6 . 1.1) (org-level-7 . 1.1) (org-level-8 . 1.1))) - (set-face-attribute (car face) nil :font "ETBookOT" :weight 'regular :height (cdr face))) + (set-face-attribute (car face) nil :font "ETBembo" :weight 'regular :height (cdr face))) ;; Set properties and scheduling faces to inherit variable-pitch and be smaller ;; Comment out these lines because mixed-pitch-mode will handle these. @@ -96,7 +96,7 @@ (setq org-todo-keywords '((sequence "NEXT(n)" "TODO(t)" "|" "DONE(d!)") - (sequence "ACTIVE(a)" "PROJ(p)" "READY(r)" "WAIT(w@/!)" "HOLD(h)" "BACKLOG(b)" "WORKOUT(wo)" "|" "CANC(k@)"))) + (sequence "ACTIVE(a)" "PROJ(p)" "READY(r)" "HOLD(h)" "BACKLOG(b)" "WORKOUT(w)" "|" "CANC(k@)"))) (setq org-todo-keyword-faces '(("NEXT" . "red") ("TODO" . "orange") ("WAIT" . "yellow") ("DONE" . "green"))) @@ -122,7 +122,7 @@ (tags "+TODO=\"WORKOUT\"+SCHEDULED=\"<+0d>\"" ((org-agenda-overriding-header "\nToday's Workout\n"))) ; Show WORKOUT scheduled for today ;; DONE items for today - (tags "+TODO=\"DONE\"+CLOSED>=\"\"" + (tags "+TODO=\"DONE\"+CLOSED>=\"<-3d>\"" ((org-agenda-overriding-header "\nDone Items for Today\n"))) ; Show DONE items closed today ;; Agenda for today (agenda "" diff --git a/.config/sway/config b/.config/sway/config index af26954..34832b2 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -217,17 +217,28 @@ exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activati # before-sleep 'swaylock -f' # timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \ - ####################### # DECORATIONS ####################### -# Window Borders -default_border pixel 3 -default_floating_border none -client.focused "#38761d" "#38761d" "#ffffff" "#38761d" +# SwayFX specific directions +corner_radius 3 +shadows enable +default_dim_inactive 0.2 +blur enable +blur_xray disable -set $opacity 0.95 +# Gaps +smart_gaps off +gaps inner 5 +gaps outer 5 + +# Window Borders +default_border pixel 0 +default_floating_border none +client.focused "#000000" "#000000" "#000000" "#000000" + +set $opacity 0.9 for_window [app_id="emacs"] opacity $opacity for_window [app_id="strawberry"] opacity $opacity for_window [app_id="pcmanfm-qt"] opacity $opacity @@ -235,10 +246,6 @@ for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] floating enable for_window [app_id="bemenu"] floating enable for_window [app_id="bemenu"] layer top -# Gaps -smart_gaps on -gaps inner 5 -gaps outer 2 ####################### # INPUTS diff --git a/.config/waybar/config b/.config/waybar/config index 30c2748..8649654 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -4,7 +4,7 @@ "height": 44, "modules-left": ["sway/workspaces"], "modules-center": ["clock","custom/padd","custom/weather"], - "modules-right": ["custom/l_end","custom/music","custom/padd","pulseaudio","custom/padd","network", "custom/padd","battery","custom/padd","custom/wlsunset","custom/padd", "tray","custom/power","custom/padd"], + "modules-right": ["custom/l_end","custom/music","custom/padd","pulseaudio","custom/padd","network", "custom/padd","battery","custom/padd", "tray","custom/power","custom/padd"], "sway/workspaces": { "disable-scroll": true, "all-outputs": true, @@ -20,7 +20,7 @@ }, "clock": { - "format": " {:%H:%M  %a %B %d}", + "format": " {:%H:%M  %D}", "tooltip-format": "{calendar}" }, "custom/music": { @@ -29,7 +29,7 @@ "tooltip": false }, "custom/weather": { - "exec": "~/.config/waybar/scripts/weather.py", + "exec": "~/.config/waybar/scripts/weather.scm", "interval": 600, "tooltip": false }, @@ -42,9 +42,9 @@ }, "full-at": "99", "format": "{icon} {capacity}%", - "format-icons": ["","", "","", ""], - "format-good": " {capacity}%", // An empty format will hide the module - "format-full": " Full", + "format-icons": [" ","", "","", ""], + "format-good": " %", // An empty format will hide the module + "format-full": "", "format-charging": " {capacity}% " }, "custom/wlsunset": { @@ -54,8 +54,8 @@ }, "network": { "interval": 5, - "format-wifi": " {essid}", - "format-ethernet": " {ifname}", + "format-wifi": "", + "format-ethernet": "", "format-disconnected": " ", "tooltip-format-wifi": "{essid}:{signalStrength}\nSpeed:{bandwidthDownBits} \n{ipaddr}", "on-click": "alacritty -e nmtui" @@ -76,7 +76,7 @@ }, "custom/power": { - "format": "{}", + "format": "", //"exec": "echo ; echo  logout", "on-click": "wlogout -p layer-shell", "interval" : 86400, // once every day diff --git a/.config/waybar/scripts/weather.scm b/.config/waybar/scripts/weather.scm index 56d8a70..60a15bc 100755 --- a/.config/waybar/scripts/weather.scm +++ b/.config/waybar/scripts/weather.scm @@ -24,6 +24,7 @@ ("overcast clouds" . "☁️") ("shower rain" . "🌦️") ("light rain" . "🌧️") + ("light intensity drizzle" . "🌧️") ("rain" . "🌧️") ("moderate rain" . "🌧️") ("thunderstorm" . "⛈️") @@ -73,6 +74,8 @@ (call-with-values (lambda () (extract-weather-data json-data)) (lambda (temp-c temp-f description icon) + ;; For debugging + ;;(format #t "Description: ~a ~%" description) ;; Display the weather information (if temp-c diff --git a/.config/waybar/style.css b/.config/waybar/style.css index d553779..696a2bf 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -2,7 +2,7 @@ * { border: none; border-radius: 0; - font-family: "ETBookOT", "Font Awesome 6 Free"; + font-family: "ETBembo", "Font Awesome 6 Free"; font-size: 20px; min-height: 0; color: #bebebe; @@ -32,7 +32,6 @@ window#waybar { } #mode { - font-family: "ETBookOT"; color: black; background: white; } @@ -72,20 +71,13 @@ window#waybar { animation-direction: alternate; } -#clock { - font-family: "ETBookOT"; -} +#clock {} -#custom-weather { - font-family: ETBookOT; -} +#custom-weather {} -#custom-music { - font-family: ETBookOT; -} +#custom-music {} #custom-wlsunset {} - #pulseaudio { background: transparent; }