diff --git a/emacs/.config/emacs/.org-id-locations b/emacs/.config/emacs/.org-id-locations new file mode 100644 index 0000000..59de06e --- /dev/null +++ b/emacs/.config/emacs/.org-id-locations @@ -0,0 +1,2 @@ + +(("~/org/roam/20261017171536-sovereign_mlops_ci_cd_pipeline.org" "b0806c21-2e80-4ea9-81fc-ec619a6e5ea8") ("~/org/roam/20261017171509-tinyml_vibration_anomaly_detector.org" "12b279b8-406b-4316-b64e-0a0e71599133") ("~/org/roam/20261017171440-low_power_sovereign_edge_sensor_node.org" "6a377381-f063-46ac-b244-85be7552ee28") ("~/org/roam/20261017171337-protocol_driver_deep_dive.org" "d1bcc697-f95a-4ca6-9651-5d94c325c5a5") ("~/org/roam/20261015160810-system_calls.org" "9a86cc72-7999-4a44-aac9-2f827357275c") ("~/org/roam/20261015160909-traps_tratamento_de_interrupcoes.org" "b4699fb9-0b20-4f2c-bc33-74eabfd8305f") ("~/org/roam/20261015160951-comunicacao_inter_processos_ipc.org" "f7a4463d-24f8-4ef7-9583-507c2ea924da") ("~/org/roam/20261015161125-interface_de_utilizador_e_i_o_shell_uart.org" "adf055dc-5a6e-48b8-9c94-1fd30c86817a") ("~/org/roam/20261015161814-user_mode_e_pmp.org" "e2ab5cc4-a80d-49b6-8f7f-3c41f54c2e9c")) diff --git a/emacs/.config/emacs/bookmarks.eld b/emacs/.config/emacs/bookmarks.eld new file mode 100644 index 0000000..6de7dee --- /dev/null +++ b/emacs/.config/emacs/bookmarks.eld @@ -0,0 +1,11 @@ +;;;; Emacs Bookmark Format Version 1;;;; -*- coding: utf-8-emacs; mode: lisp-data -*- +;;; This format is meant to be slightly human-readable; +;;; nevertheless, you probably don't want to edit it. +;;; -*- End Of Bookmark File Format Version Stamp -*- +(("org-capture-last-stored" + (filename . "~/org/roam/20261017171536-sovereign_mlops_ci_cd_pipeline.org") + (front-context-string . "\nHardware: Raspb") + (rear-context-string . " CI/CD Pipeline\n") + (position . 108) + (last-modified 27347 40756 644272 977000)) +) diff --git a/emacs/.config/emacs/config.org b/emacs/.config/emacs/config.org index d10f953..3ce9ed7 100755 --- a/emacs/.config/emacs/config.org +++ b/emacs/.config/emacs/config.org @@ -236,11 +236,12 @@ Configurações essenciais para escrita e blocos de código. '((emacs-lisp . t) (shell . t) (python . t) - (C . t))) + (C . t) + (java . t))) (require 'org-tempo) (setq org-confirm-babel-evaluate (lambda (lang body) - (not (member lang '("C" "shell" "emacs-lisp" "python")))))) + (not (member lang '("C" "shell" "emacs-lisp" "python" "java")))))) #+end_src * INSERÇÃO DE IMAGENS E RECORTES (ORG-DOWNLOAD) @@ -279,10 +280,11 @@ Motor de parsing moderno. C e C++ mantidos propositadamente no modo clássico (r (python "https://github.com/tree-sitter/tree-sitter-python") (json "https://github.com/tree-sitter/tree-sitter-json") (yaml "https://github.com/ikatyang/tree-sitter-yaml") - (dockerfile "https://github.com/camdencheek/tree-sitter-dockerfile"))) + (dockerfile "https://github.com/camdencheek/tree-sitter-dockerfile") + (java "https://github.com/tree-sitter/tree-sitter-java"))) ;; 2. Instalar automaticamente as gramáticas -(dolist (lang '(bash c cpp python json yaml dockerfile)) +(dolist (lang '(bash c cpp python json yaml dockerfile java)) (unless (treesit-language-available-p lang) (treesit-install-language-grammar lang))) @@ -291,7 +293,7 @@ Motor de parsing moderno. C e C++ mantidos propositadamente no modo clássico (r :custom (treesit-auto-install nil) :config - (setq treesit-auto-langs '(c cpp python bash json yaml dockerfile)) + (setq treesit-auto-langs '(c cpp python bash json yaml dockerfile java)) (treesit-auto-add-to-auto-mode-alist 'all) (global-treesit-auto-mode)) #+end_src @@ -301,7 +303,7 @@ Obrigatório para desenvolvimento bare-metal em C. #+begin_src elisp (use-package eglot :ensure nil ; Built-in - :hook ((c-mode c-ts-mode c++-mode c++-ts-mode) . eglot-ensure) + :hook ((c-mode c-ts-mode c++-mode c++-ts-mode java-mode java-ts-mode) . eglot-ensure) :config ;; Desativa logs pesados que atrasam o Emacs (fset #'jsonrpc--log-event #'ignore) @@ -336,11 +338,26 @@ O núcleo do sistema de notas. :custom (org-roam-directory (file-truename "~/org/roam")) (org-roam-dailies-directory "daily/") + + ;; Templates para as notas diárias (org-roam-dailies-capture-templates '(("d" "default" entry "* Sessão de Trabalho: %?w" :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n#+filetags: :diario:sessao:\n\n* [/] Tarefas da Sessão\n** TODO Rever pendentes da sessão anterior\n** TODO %?\n\n* Notas de Engenharia & Logs\n")))) + + ;; ---- ADICIONAR AQUI AS TEMPLATES GERAIS ---- + (org-roam-capture-templates + '(("d" "Default" plain "%?" + :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" + "#+title: ${title}\n") + :unnarrowed t) + ("h" "Hardware Bring-Up" plain + (file "~/org/templates/bringup.org") + :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" + "#+title: ${title}\n#+author: \n#+date: %<%Y-%m-%d %H:%M>\n#+filetags: :embedded:hardware:register-map:bringup:\n") + :unnarrowed t))) + :config (unless (file-exists-p org-roam-directory) (make-directory org-roam-directory t)) diff --git a/emacs/.config/emacs/projectile-frecency.eld b/emacs/.config/emacs/projectile-frecency.eld index 0ab9fc8..31f6789 100644 --- a/emacs/.config/emacs/projectile-frecency.eld +++ b/emacs/.config/emacs/projectile-frecency.eld @@ -1 +1 @@ -(("/home/gabi/dev/" ("riscv32_kernel/trap.S" 1 1791799052) ("riscv32_kernel/kernel.c" 3 1791805841) ("riscv32_kernel/Makefile" 1 1791803368) ("riscv32_kernel/memory.h" 2 1791805982) ("riscv32_kernel/memory.c" 2 1791805978) ("riscv32_kernel/task.h" 2 1791805852) ("riscv32_kernel/task.c" 2 1791805832) ("riscv32_kernel/uart.h" 2 1791807416) ("riscv32_kernel/uart.c" 2 1791805901)) ("/home/gabi/org/" ("roam/20260910132409-esp32.org" 1 1791719552) ("roam/20260718093324-stm32.org" 1 1791719491) ("roam/20260929114448-reflow_oven_industrial_telemetry_hub.org" 1 1791719228) ("roam/20260929114408-edge_compute_vibration_monitor.org" 1 1791719138) ("roam/20260512163319-embedded.org" 1 1791718291)) ("/home/gabi/.dotfiles/" (".git/COMMIT_EDITMSG" 1 1791746209) ("waybar/.config/waybar/scripts/toggle_power.sh" 2 1791745816) ("waybar/.config/waybar/scripts/power_popup.py" 1 1791745431) ("emacs/.config/emacs/config.org" 2 1791650072) ("emacs/.config/emacs/init.el" 3 1791648159) ("alacritty/.config/alacritty/alacritty.toml" 2 1791649868) ("waybar/.config/waybar/config.jsonc" 6 1791745507) ("sway/.config/sway/config" 4 1791663995) ("waybar/.config/waybar/style.css" 2 1791745556) ("waybar/.config/waybar/scripts/spotify_popup.py" 1 1791728088))) \ No newline at end of file +(("/home/gabi/.dotfiles/" ("mako/.config/mako/config" 2 1792255655) ("wofi/.config/wofi/config" 2 1791898481) ("waybar/.config/waybar/scripts/spotify_popup.py" 1 1791728088) ("waybar/.config/waybar/style.css" 2 1791745556) ("sway/.config/sway/config" 7 1791898514) ("waybar/.config/waybar/config.jsonc" 7 1792255681) ("alacritty/.config/alacritty/alacritty.toml" 2 1791649868) ("emacs/.config/emacs/init.el" 3 1791648159) ("emacs/.config/emacs/config.org" 4 1792240367) ("waybar/.config/waybar/scripts/power_popup.py" 1 1791745431) ("waybar/.config/waybar/scripts/toggle_power.sh" 2 1791745816) (".git/COMMIT_EDITMSG" 1 1791746209) ("zsh/.zshrc" 1 1791970307) ("emacs/.config/emacs/bookmarks.eld" 1 1792239765)) ("/home/gabi/org/" ("roam/oppenheimer" 1 1792363503) ("roam/20261017171536-sovereign_mlops_ci_cd_pipeline.org" 1 1792253736) ("roam/20261017171509-tinyml_vibration_anomaly_detector.org" 1 1792253709) ("roam/20261017171440-low_power_sovereign_edge_sensor_node.org" 1 1792253680) ("roam/20261017171337-protocol_driver_deep_dive.org" 1 1792253617) ("roam/20260927110025-fall_detection_wearable.org" 1 1792252921) ("roam/20261012203410-aceleracao_com_instrucoes_vetoriais.org" 1 1792252909) ("roam/20261012203249-quantizacao_int8_de_raiz.org" 1 1792252867) ("roam/20261012203110-motor_de_inferencia_linear.org" 1 1792252814) ("roam/daily/2026-10-15.org" 1 1792077585) ("roam/20261015161814-user_mode_e_pmp.org" 1 1792077494) ("roam/20261015161125-interface_de_utilizador_e_i_o_shell_uart.org" 1 1792077085) ("roam/20261015160951-comunicacao_inter_processos_ipc.org" 1 1792076991) ("roam/20261015160909-traps_tratamento_de_interrupcoes.org" 1 1792076949) ("roam/20261015160810-system_calls.org" 1 1792076890) ("roam/20260910152033-risc_v_kernel.org" 1 1792076813) ("roam/20261003141749-gestao_de_memoria_basica.org" 1 1792076602) ("roam/20260512163319-embedded.org" 7 1792250584) ("roam/20260929114408-edge_compute_vibration_monitor.org" 1 1791719138) ("roam/20260929114448-reflow_oven_industrial_telemetry_hub.org" 1 1791719228) ("roam/20260718093324-stm32.org" 3 1792070521) ("roam/20260910132409-esp32.org" 1 1791719552) ("roam/20260817220009-stm32_gentoo_setup.org" 1 1791887069) ("roam/20260817220115-stm32_gentoo_cheatsheet.org" 1 1792070525) ("roam/embed" 1 1792239610) ("roam/20260929114516-distributed_machine_health_network.org" 1 1792239656) ("roam/20261017132245-distributed_industrial_edge_telemetry_network_with_bare_metal_coordinator.org" 2 1792256094) ("templates/bringup.org" 1 1792241057) ("roam/20261017135323-test.org" 1 1792241603) ("roam/20261017152354-cabula_aps.org" 2 1792247676) ("roam/20260910200456-digital_resistance.org" 1 1792331339)) ("/home/gabi/dev/" ("riscv32_kernel/trap.c" 2 1792077703) ("riscv32_kernel/trap.h" 1 1791812004) ("riscv32_kernel/uart.c" 2 1791805901) ("riscv32_kernel/uart.h" 2 1791807416) ("riscv32_kernel/task.c" 4 1792080765) ("riscv32_kernel/task.h" 4 1792080700) ("riscv32_kernel/memory.c" 2 1791805978) ("riscv32_kernel/memory.h" 2 1791805982) ("riscv32_kernel/Makefile" 1 1791803368) ("riscv32_kernel/kernel.c" 5 1792076569) ("riscv32_kernel/trap.S" 2 1792081057) ("stm32/MPU6050/usart.c" 1 1792070369) ("stm32/MPU6050/main.c" 1 1792071033)) ("/home/gabi/ponte_serial/" ("main/CMakeLists.txt" 1 1791970974) ("main/ponte_serial.c" 2 1792070585) ("CMakeLists.txt" 1 1791971148))) \ No newline at end of file diff --git a/emacs/.config/emacs/tramp b/emacs/.config/emacs/tramp index 9295488..fe0c85e 100644 --- a/emacs/.config/emacs/tramp +++ b/emacs/.config/emacs/tramp @@ -1,11 +1,11 @@ -;; -*- lisp-data -*- <26/10/10 20:21:44 ~/.config/emacs/tramp> +;; -*- lisp-data -*- <26/10/19 16:26:28 ~/.config/emacs/tramp> ;; Tramp connection history. Don't change this file. ;; Run `M-x tramp-cleanup-all-connections' instead. (((tramp-file-name "cache" nil nil nil nil nil nil) ("tramp-version" "2.8.2.31.1")) ((tramp-file-name "sudo" "root" nil "arch-laptop" nil nil nil) - ("null-device" "/dev/null") ("uname" "Linux 7.2.9-arch1-1") + ("null-device" "/dev/null") ("uname" "Linux 7.2.10-arch1-1") ("locale" "LC_ALL=en_US.utf8") ("test" "test") ("file-exists" "test -e") ("pipe-buf" 4096) ("remote-shell" "/bin/sh") ("~root" "/root") ("perl-file-spec" t) ("perl-cwd-realpath" t) ("perl" "/bin/perl") diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 7aa6b39..a712dfd 100755 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -248,11 +248,9 @@ bar { # --- AUTORUN --- exec --no-startup-id mako exec --no-startup-id dbus-update-activation-environment --all -# exec --no-startup-id pipewire & -# exec --no-startup-id wireplumber & -# exec --no-startup-id pipewire-pulse exec nm-applet --indicator exec blueman-applet +exec systemctl --user import-environment TERMINAL # --- netbeans --- exec_always gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" diff --git a/wofi/.config/wofi/style.css b/wofi/.config/wofi/style.css index 59b6110..469a069 100755 --- a/wofi/.config/wofi/style.css +++ b/wofi/.config/wofi/style.css @@ -1,3 +1,8 @@ +* { + outline: none; + border: none; +} + window { background-color: rgba(30, 30, 46, 0.9); border: 1px solid #89b4fa; @@ -6,6 +11,7 @@ window { font-size: 14px; font-weight: normal; box-shadow: none; /* Mata a sombra invisível do GTK que estraga o centro */ + outline: none; } #input { @@ -76,3 +82,19 @@ scrollbar slider { scrollbar slider:hover { background: #585b70; } + +#text, #img { + background-color: transparent; +} + +#entry:selected #text, +#entry:selected #img { + background-color: transparent; +} + +/* Garante que apenas a linha inteira fica destacada */ +#entry:selected { + background-color: #44475a; + border-radius: 8px; + outline: none; +} diff --git a/wofi/.config/wofi/style.css.bak b/wofi/.config/wofi/style.css.bak new file mode 100755 index 0000000..59b6110 --- /dev/null +++ b/wofi/.config/wofi/style.css.bak @@ -0,0 +1,78 @@ +window { + background-color: rgba(30, 30, 46, 0.9); + border: 1px solid #89b4fa; + border-radius: 12px; + font-family: "JetBrainsMono Nerd Font", monospace; + font-size: 14px; + font-weight: normal; + box-shadow: none; /* Mata a sombra invisível do GTK que estraga o centro */ +} + +#input { + margin: 10px; + padding: 6px 10px; + background-color: #11111b; + color: #cdd6f4; + border: 1px solid #313244; + border-radius: 8px; +} + +#inner-box { + margin: 0px 8px 8px 8px; + background-color: transparent; +} + +#outer-box { + background-color: transparent; +} + +#scroll { + margin: 5px 0px; + border: none; +} + +#text { + color: #cdd6f4; + margin: 2px; +} + +#entry { + padding: 6px 8px; + margin: 1px 5px; + border-radius: 8px; + background-color: transparent; + border: 1px solid transparent; +} + +#entry:selected { + background-color: #313244; + color: #89b4fa; + border: 1px solid #45475a; +} + +#entry image { + margin-right: 12px; + min-width: 24px; + min-height: 24px; +} + +#entry arrow { + border: none; + background: transparent; +} + +scrollbar { + background: transparent; + border: none; +} + +scrollbar slider { + background: #45475a; + border-radius: 8px; + min-width: 6px; + min-height: 30px; +} + +scrollbar slider:hover { + background: #585b70; +} diff --git a/zsh/.zshrc b/zsh/.zshrc index ed59c7e..2b77d3a 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -79,3 +79,6 @@ HISTFILE=~/.zsh_history export PATH="$HOME/.cargo/bin:$PATH" export _JAVA_AWT_WM_NONREPARENTING=1 export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" + +# ---- Aliases ------------------------------------------------------------------ +alias get_idf='source ~/esp/esp-idf/export.sh'