a lot of updates to move back to awesome

This commit is contained in:
Chris Cochrun 2023-03-21 09:49:24 -05:00
parent 35f62562e9
commit c934ed25bc
14 changed files with 63 additions and 61 deletions

View file

@ -445,7 +445,7 @@
:right (dpi 5)}) :right (dpi 5)})
(set s.cputext (awful.widget.watch "cpu" 5)) (set s.cputext (awful.widget.watch "cpu" 5))
(set s.cpuicon (wibox.widget.textbox " ")) ;; (set s.cpuicon (wibox.widget.textbox " "))
(set s.cpuspace (wibox.widget.textbox " ")) (set s.cpuspace (wibox.widget.textbox " "))
(set s.cpuwidget { 1 { 1 { 1 (wibox.widget { (set s.cpuwidget { 1 { 1 { 1 (wibox.widget {
@ -464,7 +464,7 @@
:right (dpi 5)}) :right (dpi 5)})
(set s.memtext (awful.widget.watch "mem" 2)) (set s.memtext (awful.widget.watch "mem" 2))
(set s.memicon (wibox.widget.textbox " ")) ;; (set s.memicon (wibox.widget.textbox " "))
(set s.memspace (wibox.widget.textbox " ")) (set s.memspace (wibox.widget.textbox " "))
(set s.memwidget { 1 { 1 { 1 (wibox.widget { (set s.memwidget { 1 { 1 { 1 (wibox.widget {
@ -502,7 +502,7 @@
:right (dpi 5)}) :right (dpi 5)})
(set s.mailtext (awful.widget.watch "muunread" 360)) (set s.mailtext (awful.widget.watch "muunread" 360))
(set s.mailicon (wibox.widget.textbox " ")) ;; (set s.mailicon (wibox.widget.textbox " "))
(set s.mailspace (wibox.widget.textbox " ")) (set s.mailspace (wibox.widget.textbox " "))
(set s.mailwidget { 1 { 1 { 1 (wibox.widget { (set s.mailwidget { 1 { 1 { 1 (wibox.widget {

View file

@ -46,11 +46,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1678097883, "lastModified": 1679307033,
"narHash": "sha256-IG/v/syRMm0OLjT7F/naRjqN6bvAQEhlIlnS4U5y5EQ=", "narHash": "sha256-D8SzlqiLApDCPDPDkRETRfqfB6pzSeRsckBOTIyn4EE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "3f8a6436e158849050e711574a97126a6d3fec02", "rev": "e016fab49d5bb9f4db4e0dfdf925395750d6b8bc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -68,11 +68,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1672946489, "lastModified": 1678303550,
"narHash": "sha256-IliWerC9qk4MxYNRoe/8uuQZkqjPJPsph46fmVBvo9U=", "narHash": "sha256-JlpoMXL+QIO0DUIyAcGRJte2G/jF/rSeO/zze5W7S/s=",
"owner": "elkowar", "owner": "elkowar",
"repo": "eww", "repo": "eww",
"rev": "6a64a286291456984011c4fb160def106ee55dff", "rev": "45154bbf5962cad9c4e6c76f75d57dd8d740d307",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -93,11 +93,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1671802034, "lastModified": 1673201375,
"narHash": "sha256-mkv2u5nQJEV3KlWiopkt/gMz0OM4nmEXSfzkSw6welQ=", "narHash": "sha256-qlDIl1j6m3hrwbp993/1ncxyKfFRjt32zc3IHq6CeIk=",
"owner": "erikarvstedt", "owner": "erikarvstedt",
"repo": "extra-container", "repo": "extra-container",
"rev": "e34f0cca15f6f0f2e598dad0b329196d0dab6d4f", "rev": "8448f0d65bb436550c2a6eece0dd1b43c8b33462",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -200,11 +200,11 @@
}, },
"flake-utils_5": { "flake-utils_5": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1676283394,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -221,11 +221,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1678109311, "lastModified": 1679265143,
"narHash": "sha256-Q64FoCH5rp3XHoC8u1+KyjLEFGTY7kX9YaIaYfugvfY=", "narHash": "sha256-5RDMW+O4owjdPz7t4K4YxH2fOHCNOcyVmSiKRUikiv0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "04d6cad67557512452decbfe888c68fa11338a96", "rev": "1b8bf5c3270386a1b6850bd77d79dbdbaf0d7a7c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -243,11 +243,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1678093429, "lastModified": 1679277046,
"narHash": "sha256-TDegkSVDSTwOi9j1tc84xiIctxYwgt4kBLfKu88cjlQ=", "narHash": "sha256-5E/Cd1PdYwN0bfR3dyyTQ2Wu5ADK3pg/Z+viAtfaP70=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "4f647a8e8be78d3817f126e41940bef49e81232e", "rev": "d23bbd1687a5413fb7f2c08b67692d4e64f8efef",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -284,11 +284,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1678074139, "lastModified": 1678822843,
"narHash": "sha256-A8Yd/fxIwy+sV+/ewNOYg2qrbyRSUua2inu702PNiw4=", "narHash": "sha256-fsLQzwqzTwhdPjmrYzEh3jwefvwEzNv/0ZCAK/mDo28=",
"owner": "chriscochrun", "owner": "chriscochrun",
"repo": "church-presenter", "repo": "church-presenter",
"rev": "fa427c31bb8a517e2ef0d8a82907ff3581dd0cd3", "rev": "3809e697e8e688b5323c7add4dfc643a9afdf135",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -305,11 +305,11 @@
"nixpkgs-unstable": "nixpkgs-unstable" "nixpkgs-unstable": "nixpkgs-unstable"
}, },
"locked": { "locked": {
"lastModified": 1675430516, "lastModified": 1678712159,
"narHash": "sha256-ufVc6eJGlmk8J80ZCeSp2wwv4NvX6JzlfO2wNKp20Ls=", "narHash": "sha256-NVGsO1cw2U9FMgve0SJ1OpwgcfsEjPKtVjHwCNgFt9Q=",
"owner": "fort-nix", "owner": "fort-nix",
"repo": "nix-bitcoin", "repo": "nix-bitcoin",
"rev": "479e21a122169a979ce63934f9f30a3ce1e39acb", "rev": "282c45b7466c1028aa2c4287e4bb675e01caeb03",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -352,11 +352,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1678072060, "lastModified": 1679224734,
"narHash": "sha256-6a9Tbjhir5HxDx4uw0u6Z+LHUfYf7tsT9QxF9FN/32w=", "narHash": "sha256-1Ab3xY7Wgo1h1TNwRt6fp2XjV+KUo+hP1Bolh0KiDJs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "47c003416297e4d59a5e3e7a8b15cdbdf5110560", "rev": "eac7da7b519a5aefe92c33c90b4450a24ebe0ab3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -368,11 +368,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1674487464, "lastModified": 1678116888,
"narHash": "sha256-Jgq50e4S4JVCYpWLqrabBzDp/1mfaxHCh8/OOorHTy0=", "narHash": "sha256-/Y4RTkPq+RVJjkoM/mYyCREFLZhvtISc/rLcgM1vLvo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3954218cf613eba8e0dcefa9abe337d26bc48fd0", "rev": "49596eb4e50b18337aad3b73317371bcd4e3b047",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -416,11 +416,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1674407282, "lastModified": 1678072060,
"narHash": "sha256-2qwc8mrPINSFdWffPK+ji6nQ9aGnnZyHSItVcYDZDlk=", "narHash": "sha256-6a9Tbjhir5HxDx4uw0u6Z+LHUfYf7tsT9QxF9FN/32w=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ab1254087f4cdf4af74b552d7fc95175d9bdbb49", "rev": "47c003416297e4d59a5e3e7a8b15cdbdf5110560",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -432,11 +432,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1677932085, "lastModified": 1679172431,
"narHash": "sha256-+AB4dYllWig8iO6vAiGGYl0NEgmMgGHpy9gzWJ3322g=", "narHash": "sha256-XEh5gIt5otaUbEAPUY5DILUTyWe1goAyeqQtmwaFPyI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3c5319ad3aa51551182ac82ea17ab1c6b0f0df89", "rev": "1603d11595a232205f03d46e635d919d1e1ec5b9",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -12,6 +12,7 @@ with lib;
consult-eglot consult-eglot
org org
org-roam org-roam
org-ql
denote denote
denote-refs denote-refs
command-log-mode command-log-mode

View file

@ -53,8 +53,7 @@
;; here we take that string and pipe it into mpv ;; here we take that string and pipe it into mpv
(mpv url))) (mpv url)))
:annotate-visible-only-p :annotate-visible-only-p
nyxt/web-mode::annotate-visible-only-p) nyxt/web-mode::annotate-visible-only-p))
(nyxt/) )
;; Let's create a function to hint videos, convert the url to a sting, and download with ytdl ;; Let's create a function to hint videos, convert the url to a sting, and download with ytdl
(define-command hint-ytdl (&key nyxt/web-mode::annotate-visible-only-p) (define-command hint-ytdl (&key nyxt/web-mode::annotate-visible-only-p)
@ -239,7 +238,7 @@
(in-package #:nyxt-user) ; While implicit, this allows SLY to know which package we are in. (in-package #:nyxt-user) ; While implicit, this allows SLY to know which package we are in.
(load "~/quicklisp/setup.lisp") ;; (load "~/quicklisp/setup.lisp")
;; (ql:quickload :slynk) ;; (ql:quickload :slynk)
;; (define-command-global start-slynk (&optional (slynk-port *swank-port*)) ;; (define-command-global start-slynk (&optional (slynk-port *swank-port*))

View file

@ -24,6 +24,10 @@ with lib;
krename krename
kwallet-pam kwallet-pam
nm-tray nm-tray
nyxt
sbcl
lispPackages.drakma
lispPackages.lquery
# pantalaimon # pantalaimon
plasma5Packages.kwallet plasma5Packages.kwallet
sierra-breeze-enhanced sierra-breeze-enhanced
@ -109,7 +113,7 @@ with lib;
picom-jonaburg picom-jonaburg
pamixer pamixer
playerctl playerctl
jellyfin-mpv-shim #jellyfin-mpv-shim
pfetch pfetch
macchina macchina
gimp gimp

View file

@ -4,4 +4,5 @@
# echo 100 - $(mpstat | rg all | cut -d \ -f43) | bc # echo 100 - $(mpstat | rg all | cut -d \ -f43) | bc
cpu="$(mpstat 1 1 | rg Average | awk '{print $3+$4+$5}' | sed 's/\(.*\)/\1%/g')" cpu="$(mpstat 1 1 | rg Average | awk '{print $3+$4+$5}' | sed 's/\(.*\)/\1%/g')"
echo $cpu # echo $cpu
echo " $cpu"

View file

@ -4,5 +4,5 @@
# echo 100 - $(mpstat | rg all | cut -d \ -f43) | bc # echo 100 - $(mpstat | rg all | cut -d \ -f43) | bc
cpu="$(mpstat 1 1 | rg Average | awk '{print $3+$4+$5}' | sed 's/\(.*\)/\1%/g')" cpu="$(mpstat 1 1 | rg Average | awk '{print $3+$4+$5}' | sed 's/\(.*\)/\1%/g')"
echo "$cpu" # echo " $cpu"
# echo " $cpu | color=#D75F00 font='VictorMono Nerd Font' size=11" echo "$cpu | bash='alacritty -e btop --class btop' color=#D75F00 font='VictorMono Nerd Font' size=11 iconname=cpu-symbolic"

View file

@ -18,7 +18,7 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
fi fi
else else
if [ "$KDE_FULL_SESSION" = "true" ]; then if [ "$KDE_FULL_SESSION" = "true" ]; then
exec /home/chris/bin/ww -fa Emacs -c emacsclient exec /home/chris/bin/ww -f emacs -c emacsclient
exit exit
else else
echo WAYLAND echo WAYLAND

View file

@ -1,7 +1,7 @@
#!/usr/bin/sbcl --script ;; #!/run/current-system/sw/bin/sbcl --script
(load "~/quicklisp/setup.lisp") ;; (load "~/quicklisp/setup.lisp")
(ql:quickload '(drakma lquery)) ;; (ql:quickload '(drakma lquery))
(defun get-images () (defun get-images ()
(loop for i from 748 to 1489 do (loop for i from 748 to 1489 do

View file

@ -8,4 +8,5 @@ mem=$(awk -v u=$used -v t=$total -v p=$percent 'BEGIN {printf "%sMi/%sMi %.1f% "
memperc=$(echo $mem | awk '{print $2}') memperc=$(echo $mem | awk '{print $2}')
echo $memperc # echo $memperc
echo " $memperc "

View file

@ -7,6 +7,6 @@ percent=$(bc -l <<< "100 * $total / $used")
mem=$(awk -v u=$used -v t=$total -v p=$percent 'BEGIN {printf "%sMi/%sMi %.1f% ", t, u, p}'| awk '{printf $2}') mem=$(awk -v u=$used -v t=$total -v p=$percent 'BEGIN {printf "%sMi/%sMi %.1f% ", t, u, p}'| awk '{printf $2}')
echo "$mem " # echo " $mem "
# echo " $mem | color=#9aedfe font='VictorMono Nerd Font' size=11" echo "$mem | bash='alacritty -e btop --class btop' color=#9aedfe font='VictorMono Nerd Font' size=11 iconname=memory-symbolic"
# echo " $mem | color=#007687 font='VictorMono Nerd Font' size=11" # echo " $mem | color=#007687 font='VictorMono Nerd Font' size=11"

View file

@ -1,2 +1,4 @@
#!/bin/sh #!/bin/sh
mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" | wc -l muunread="$(mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" | wc -l)"
echo " $muunread "

View file

@ -1,6 +0,0 @@
#!/usr/bin/env sh
muunread="$(mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" AND NOT maildir:\"/office/Archive\" AND NOT maildir:\"/outlook/Archive\" AND NOT maildir:\"/cochrun/Archive\" | wc -l)"
echo "$muunread "
# echo " $muunread | color=#f3f99d font='VictorMono Nerd Font' size=11"
# echo " $muunread | color=#AF8700 font='VictorMono Nerd Font' size=11"

View file

@ -97,7 +97,7 @@
IMAPAccount cochrun IMAPAccount cochrun
Host mail.cochrun.xyz Host mail.cochrun.xyz
User chris@cochrun.xyz User chris@cochrun.xyz
PassCmd "rbw get 'Office 365'" PassCmd "${pkgs.rbw}/bin/rbw get 'Office 365'"
AuthMechs LOGIN AuthMechs LOGIN
SSLType IMAPS SSLType IMAPS
# SSLVersions SSLv3 # SSLVersions SSLv3