feat: adhere to the PARA orgazational system (https://fortelabs.com/blog/para/)

pull/1/head
anemofilia 2023-08-29 10:54:24 -03:00
parent 1e797edbcc
commit 4f37a30b9e
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
2 changed files with 11 additions and 11 deletions

View File

@ -7,13 +7,13 @@ abbr --add zxz --set-cursor 'curl -F "file=@%" https://0.vern.cc | xsel -b'
abbr --add mpv --position anywhere --set-cursor 'mpv "%"'
# Projects
set -l PROJECTS "$HOME/projects"
abbr --add @guix --position anywhere "$PROJECTS/guile/guix"
set -l PROJECTS "$HOME/projects/code"
abbr --add @guix --position anywhere "$PROJECTS/scm/guix"
abbr --add @punk --position anywhere "$PROJECTS/cpp/Punk"
abbr --add @tomato --position anywhere "$PROJECTS/python/tomato-engine"
abbr --add @tomato --position anywhere "$PROJECTS/py/tomato-engine"
## Radix
set -l RADIX_REPO "$PROJECTS/guile/radix"
set -l RADIX_REPO area/code/scm/radix
abbr --add :system --position anywhere "$RADIX_REPO && $EDITOR /etc/config.scm"
abbr --add :home --position anywhere "$RADIX_REPO && $EDITOR radio.scm"
abbr --add @radix --position anywhere "$RADIX_REPO"
@ -21,7 +21,7 @@ abbr --add @files --position anywhere "$RADIX_REPO/files"
abbr --add @modules --position anywhere "$RADIX_REPO/modules/radix"
## Guix TODO
abbr --add @todo --position anywhere "$PROJECTS/guile/guix-todo"
abbr --add @todo --position anywhere "$PROJECTS/org/guix-todo"
# System and Home
abbr --add !system --position anywhere "doas guix system reconfigure /etc/config.scm"

View File

@ -101,12 +101,12 @@
(simple-service 'xdg-user-directories-service
home-xdg-user-directories-service-type
(home-xdg-user-directories-configuration
(desktop "$HOME/desktop")
(desktop "$HOME/area")
(documents "$HOME/documents")
(download "$HOME/.local/share/downloads")
(music "$HOME/music")
(pictures "$HOME/pictures")
(videos "$HOME/videos")
(music "$HOME/media/music")
(pictures "$HOME/media/pictures")
(videos "$HOME/media/videos")
(publicshare "")
(templates "")))
@ -278,7 +278,7 @@
("GUILE_WARN_DEPRECATED" . "detailed")
("GUILE_HISTORY" . "$XDG_CACHE_HOME/guile/history")
("GUILE_LOAD_PATH" . ,((flip string-join) ":"
(cons "$HOME/projects/guile/radix/modules"
(cons "$HOME/area/code/scm/radix/modules"
(map (cut string-append <> "/share/guile/site/3.0")
'("/run/current-system/profile"
"$XDG_CONFIG_HOME/guix/current"
@ -313,4 +313,4 @@
(service home-mcron-service-type
(home-mcron-configuration
(jobs (list #~(job "30 5 * * *"
"mpv --shuffle music"))))))))
"mpv --shuffle ~/media/music"))))))))