stuff
This commit is contained in:
@@ -4,4 +4,4 @@ if [ -f ~/.bash_env ]; then
|
|||||||
. "$HOME"/.bash_env
|
. "$HOME"/.bash_env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ "$(tty)" = "/dev/tty1" ] && exec sway
|
# [ "$(tty)" = "/dev/tty1" ] && exec sway
|
||||||
|
|||||||
@@ -15,4 +15,5 @@ x = 0
|
|||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
opacity = 0.95
|
opacity = 0.9
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
;; Font configuration
|
;; Font configuration
|
||||||
(set-face-attribute 'default nil :font "Terminus" :height 200)
|
(set-face-attribute 'default nil :font "Terminus" :height 200)
|
||||||
(set-face-attribute 'fixed-pitch 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 ()
|
(defun opal/org-font-setup ()
|
||||||
;; Replace list hyphen with dot
|
;; Replace list hyphen with dot
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
(org-level-6 . 1.1)
|
(org-level-6 . 1.1)
|
||||||
(org-level-7 . 1.1)
|
(org-level-7 . 1.1)
|
||||||
(org-level-8 . 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
|
;; Set properties and scheduling faces to inherit variable-pitch and be smaller
|
||||||
;; Comment out these lines because mixed-pitch-mode will handle these.
|
;; Comment out these lines because mixed-pitch-mode will handle these.
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
|
|
||||||
(setq org-todo-keywords
|
(setq org-todo-keywords
|
||||||
'((sequence "NEXT(n)" "TODO(t)" "|" "DONE(d!)")
|
'((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
|
(setq org-todo-keyword-faces
|
||||||
'(("NEXT" . "red") ("TODO" . "orange") ("WAIT" . "yellow") ("DONE" . "green")))
|
'(("NEXT" . "red") ("TODO" . "orange") ("WAIT" . "yellow") ("DONE" . "green")))
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
(tags "+TODO=\"WORKOUT\"+SCHEDULED=\"<+0d>\""
|
(tags "+TODO=\"WORKOUT\"+SCHEDULED=\"<+0d>\""
|
||||||
((org-agenda-overriding-header "\nToday's Workout\n"))) ; Show WORKOUT scheduled for today
|
((org-agenda-overriding-header "\nToday's Workout\n"))) ; Show WORKOUT scheduled for today
|
||||||
;; DONE items 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
|
((org-agenda-overriding-header "\nDone Items for Today\n"))) ; Show DONE items closed today
|
||||||
;; Agenda for today
|
;; Agenda for today
|
||||||
(agenda ""
|
(agenda ""
|
||||||
|
|||||||
@@ -217,17 +217,28 @@ exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activati
|
|||||||
# before-sleep 'swaylock -f'
|
# before-sleep 'swaylock -f'
|
||||||
# timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
# timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
||||||
|
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# DECORATIONS
|
# DECORATIONS
|
||||||
#######################
|
#######################
|
||||||
|
|
||||||
# Window Borders
|
# SwayFX specific directions
|
||||||
default_border pixel 3
|
corner_radius 3
|
||||||
default_floating_border none
|
shadows enable
|
||||||
client.focused "#38761d" "#38761d" "#ffffff" "#38761d"
|
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="emacs"] opacity $opacity
|
||||||
for_window [app_id="strawberry"] opacity $opacity
|
for_window [app_id="strawberry"] opacity $opacity
|
||||||
for_window [app_id="pcmanfm-qt"] 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"] floating enable
|
||||||
for_window [app_id="bemenu"] layer top
|
for_window [app_id="bemenu"] layer top
|
||||||
|
|
||||||
# Gaps
|
|
||||||
smart_gaps on
|
|
||||||
gaps inner 5
|
|
||||||
gaps outer 2
|
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# INPUTS
|
# INPUTS
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"height": 44,
|
"height": 44,
|
||||||
"modules-left": ["sway/workspaces"],
|
"modules-left": ["sway/workspaces"],
|
||||||
"modules-center": ["clock","custom/padd","custom/weather"],
|
"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": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"all-outputs": true,
|
"all-outputs": true,
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": " {:%H:%M %a %B %d}",
|
"format": " {:%H:%M %D}",
|
||||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||||
},
|
},
|
||||||
"custom/music": {
|
"custom/music": {
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"custom/weather": {
|
"custom/weather": {
|
||||||
"exec": "~/.config/waybar/scripts/weather.py",
|
"exec": "~/.config/waybar/scripts/weather.scm",
|
||||||
"interval": 600,
|
"interval": 600,
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
@@ -42,9 +42,9 @@
|
|||||||
},
|
},
|
||||||
"full-at": "99",
|
"full-at": "99",
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-icons": ["","", "","", ""],
|
"format-icons": [" ","", "","", ""],
|
||||||
"format-good": " {capacity}%", // An empty format will hide the module
|
"format-good": " %", // An empty format will hide the module
|
||||||
"format-full": " Full",
|
"format-full": "",
|
||||||
"format-charging": " {capacity}% "
|
"format-charging": " {capacity}% "
|
||||||
},
|
},
|
||||||
"custom/wlsunset": {
|
"custom/wlsunset": {
|
||||||
@@ -54,8 +54,8 @@
|
|||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format-wifi": " {essid}",
|
"format-wifi": "",
|
||||||
"format-ethernet": " {ifname}",
|
"format-ethernet": "",
|
||||||
"format-disconnected": " ",
|
"format-disconnected": " ",
|
||||||
"tooltip-format-wifi": "{essid}:{signalStrength}\nSpeed:{bandwidthDownBits} \n{ipaddr}",
|
"tooltip-format-wifi": "{essid}:{signalStrength}\nSpeed:{bandwidthDownBits} \n{ipaddr}",
|
||||||
"on-click": "alacritty -e nmtui"
|
"on-click": "alacritty -e nmtui"
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"custom/power": {
|
"custom/power": {
|
||||||
"format": "{}",
|
"format": "",
|
||||||
//"exec": "echo ; echo logout",
|
//"exec": "echo ; echo logout",
|
||||||
"on-click": "wlogout -p layer-shell",
|
"on-click": "wlogout -p layer-shell",
|
||||||
"interval" : 86400, // once every day
|
"interval" : 86400, // once every day
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
("overcast clouds" . "☁️")
|
("overcast clouds" . "☁️")
|
||||||
("shower rain" . "🌦️")
|
("shower rain" . "🌦️")
|
||||||
("light rain" . "🌧️")
|
("light rain" . "🌧️")
|
||||||
|
("light intensity drizzle" . "🌧️")
|
||||||
("rain" . "🌧️")
|
("rain" . "🌧️")
|
||||||
("moderate rain" . "🌧️")
|
("moderate rain" . "🌧️")
|
||||||
("thunderstorm" . "⛈️")
|
("thunderstorm" . "⛈️")
|
||||||
@@ -73,6 +74,8 @@
|
|||||||
(call-with-values
|
(call-with-values
|
||||||
(lambda () (extract-weather-data json-data))
|
(lambda () (extract-weather-data json-data))
|
||||||
(lambda (temp-c temp-f description icon)
|
(lambda (temp-c temp-f description icon)
|
||||||
|
;; For debugging
|
||||||
|
;;(format #t "Description: ~a ~%" description)
|
||||||
|
|
||||||
;; Display the weather information
|
;; Display the weather information
|
||||||
(if temp-c
|
(if temp-c
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
font-family: "ETBookOT", "Font Awesome 6 Free";
|
font-family: "ETBembo", "Font Awesome 6 Free";
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
color: #bebebe;
|
color: #bebebe;
|
||||||
@@ -32,7 +32,6 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#mode {
|
#mode {
|
||||||
font-family: "ETBookOT";
|
|
||||||
color: black;
|
color: black;
|
||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
@@ -72,20 +71,13 @@ window#waybar {
|
|||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {}
|
||||||
font-family: "ETBookOT";
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-weather {
|
#custom-weather {}
|
||||||
font-family: ETBookOT;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-music {
|
#custom-music {}
|
||||||
font-family: ETBookOT;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-wlsunset {}
|
#custom-wlsunset {}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user