This commit is contained in:
2024-09-15 22:51:12 -07:00
parent 7c9c25f09d
commit cb2490baae
7 changed files with 40 additions and 37 deletions

View File

@@ -4,4 +4,4 @@ if [ -f ~/.bash_env ]; then
. "$HOME"/.bash_env
fi
[ "$(tty)" = "/dev/tty1" ] && exec sway
# [ "$(tty)" = "/dev/tty1" ] && exec sway

View File

@@ -15,4 +15,5 @@ x = 0
y = 0
[window]
opacity = 0.95
opacity = 0.9

View File

@@ -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>=\"<today>\""
(tags "+TODO=\"DONE\"+CLOSED>=\"<-3d>\""
((org-agenda-overriding-header "\nDone Items for Today\n"))) ; Show DONE items closed today
;; Agenda for today
(agenda ""

View File

@@ -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

View File

@@ -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": "<tt><big>{calendar}</big></tt>"
},
"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

View File

@@ -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

View File

@@ -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;
}