From 8b5505926a6e307750f87af21b4ed2e3b932b04e Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Wed, 26 Apr 2023 12:03:59 -0300 Subject: Deleted prometeo's configs --- .authinfo.gpg | Bin 277 -> 208 bytes .config/doom/config.el | 53 +++++++---------------- .config/fish/functions/prometeo-jenkins.fish | 3 -- .config/fish/functions/prometeo-marketplace.fish | 4 -- .config/fish/functions/prometeo-vpn.fish | 6 --- .config/fish/functions/prometeo.fish | 4 -- .config/fish/functions/ua-vpn.fish | 1 - .config/i3/i3lock_script.sh | 8 ++-- 8 files changed, 19 insertions(+), 60 deletions(-) delete mode 100644 .config/fish/functions/prometeo-jenkins.fish delete mode 100644 .config/fish/functions/prometeo-marketplace.fish delete mode 100644 .config/fish/functions/prometeo-vpn.fish delete mode 100644 .config/fish/functions/prometeo.fish diff --git a/.authinfo.gpg b/.authinfo.gpg index 947ed3fd..41666ca5 100644 Binary files a/.authinfo.gpg and b/.authinfo.gpg differ diff --git a/.config/doom/config.el b/.config/doom/config.el index bd09e109..55503681 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -174,15 +174,10 @@ ("B" "Book on the to-read-list" entry (file+headline "~/org/private.org" "Libros para leer") (file "~/org/templates/book.org") :empty-lines-after 2) ("p" "Create a daily plan") ("pP" "Daily plan private" plain (file+olp+datetree "~/org/plan-free.org") (file "~/org/templates/dailyplan.org") :immediate-finish t :jump-to-captured t) - ("pW" "Daily plan Prometeo" plain (file+olp+datetree "~/org/plan-work.org") (file "~/org/templates/dailyplan.org") :immediate-finish t :jump-to-captured t) ("pX" "Daily plan X-Team" plain (file+olp+datetree "~/org/plan-xteam.org") (file "~/org/templates/dailyplan.org") :immediate-finish t :jump-to-captured t) ("j" "Journal entry") ("jP" "Journal entry private" entry (file+olp+datetree "~/org/journal-private.org") "** %U - %^{Heading}") - ("jW" "Journal entry work" entry (file+olp+datetree "~/org/journal-work.org") "** %U - %^{Heading}") ("jX" "Journal entry X-Team" entry (file+olp+datetree "~/org/journal-xteam.org") "** %U - %^{Heading}") - ("d" "Create a Prometeo deployment") - ("dF" "Deploy features" plain (file+olp+datetree "~/org/deploy-features.org") (file "~/org/templates/deployment.org") :immediate-finish t :jump-to-captured t) - ("dB" "Deploy bugs" plain (file+olp+datetree "~/org/deploy-bugs.org") (file "~/org/templates/deployment.org") :immediate-finish t :jump-to-captured t) ))) ;; Custom agenda views (setq org-agenda-custom-commands @@ -286,10 +281,6 @@ (interactive) (setq org-agenda-files '("~/org/private.org")) (message "Focusing on private Org files")) - (defun org-focus-work() "Set focus on work things." - (interactive) - (setq org-agenda-files '("~/org/work.org")) - (message "Focusing on work Org files")) (defun org-focus-xteam() "Set focus on X-Team things." (interactive) (setq org-agenda-files '("~/org/xteam.org")) @@ -357,7 +348,6 @@ text and copying to the killring." (:prefix-map ("a" . "applications") :desc "HTTP Status cheatsheet" "h" #'helm-httpstatus) (:prefix-map ("ao" . "org") - :desc "Org focus work" "w" #'org-focus-work :desc "Org focus X-Team" "x" #'org-focus-xteam :desc "Org focus private" "p" #'org-focus-private :desc "Org focus all" "a" #'org-focus-all @@ -403,21 +393,21 @@ text and copying to the killring." ;; Dashboard mode -;;(use-package dashboard - ;;:init ;; tweak dashboard config before loading it - ;;(setq dashboard-set-heading-icons t) - ;;(setq dashboard-set-file-icons t) - ;;(setq dashboard-center-content nil) ;; set to 't' for centered content - ;;(setq dashboard-items '((recents . 5) - ;;(bookmarks . 5) - ;;(projects . 5))) - ;;(setq dashboard-set-navigator t) - ;;:config - ;;(dashboard-setup-startup-hook) - ;;(dashboard-modify-heading-icons '((recents . "file-text") - ;;(bookmarks . "book")))) -;;(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) -;;(setq doom-fallback-buffer-name "*dashboard*") +;; (use-package dashboard +;; :init ;; tweak dashboard config before loading it +;; (setq dashboard-set-heading-icons t) +;; (setq dashboard-set-file-icons t) +;; (setq dashboard-center-content nil) ;; set to 't' for centered content +;; (setq dashboard-items '((recents . 5) +;; (bookmarks . 5) +;; (projects . 5))) +;; (setq dashboard-set-navigator t) +;; :config +;; (dashboard-setup-startup-hook) +;; (dashboard-modify-heading-icons '((recents . "file-text") +;; (bookmarks . "book")))) +;; (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) +;; (setq doom-fallback-buffer-name "*dashboard*") (defun my/html2org-clipboard () "Convert clipboard contents from HTML to Org and then paste (yank)." @@ -433,19 +423,6 @@ text and copying to the killring." (defadvice clipmon--on-clipboard-change (around stop-clipboard-parsing activate) (let ((interprogram-cut-function nil)) ad-do-it)) (setq clipmon-timer-interval 1) -;; Jenkins -(require 'butler) -(add-to-list 'butler-server-list - '(jenkins "prometeo-jenkins" - (server-address . "http://jenkins.prometeoapi") - (auth-file . "~/.authinfo.gpg"))) - -(defun my/jenkins-verify () - "Check if my current Jenkinsfile has the correct format" - (interactive) - (projectile-with-default-dir (projectile-acquire-root) - (message (shell-command-to-string "/usr/bin/python ~/.doom.d/scripts/check_jenkinsfile.py")))) - (after! groovy-mode (define-key groovy-mode-map (kbd "") 'my/jenkins-verify)) diff --git a/.config/fish/functions/prometeo-jenkins.fish b/.config/fish/functions/prometeo-jenkins.fish deleted file mode 100644 index bcd4311b..00000000 --- a/.config/fish/functions/prometeo-jenkins.fish +++ /dev/null @@ -1,3 +0,0 @@ -function prometeo-jenkins - ssh rgonzalez@172.31.1.184 -end diff --git a/.config/fish/functions/prometeo-marketplace.fish b/.config/fish/functions/prometeo-marketplace.fish deleted file mode 100644 index aa61df74..00000000 --- a/.config/fish/functions/prometeo-marketplace.fish +++ /dev/null @@ -1,4 +0,0 @@ -function prometeo-marketplace - cd ~/code/prometeo/qualia-marketplace - source .venv/bin/activate.fish -end diff --git a/.config/fish/functions/prometeo-vpn.fish b/.config/fish/functions/prometeo-vpn.fish deleted file mode 100644 index bbcedd08..00000000 --- a/.config/fish/functions/prometeo-vpn.fish +++ /dev/null @@ -1,6 +0,0 @@ -function prometeo-vpn - sudo wg-quick down wg0 - pritunl-client stop r1e5vfvldadchscs - mullvad disconnect - sudo wg-quick up wg0 -end diff --git a/.config/fish/functions/prometeo.fish b/.config/fish/functions/prometeo.fish deleted file mode 100644 index 0dec9b9d..00000000 --- a/.config/fish/functions/prometeo.fish +++ /dev/null @@ -1,4 +0,0 @@ -function prometeo - cd ~/code/prometeo/banking_api - source .venv/bin/activate.fish -end diff --git a/.config/fish/functions/ua-vpn.fish b/.config/fish/functions/ua-vpn.fish index 3707006e..86ede0e1 100644 --- a/.config/fish/functions/ua-vpn.fish +++ b/.config/fish/functions/ua-vpn.fish @@ -1,5 +1,4 @@ function ua-vpn - sudo wg-quick down wg0 pritunl-client stop r1e5vfvldadchscs mullvad disconnect pritunl-client start r1e5vfvldadchscs diff --git a/.config/i3/i3lock_script.sh b/.config/i3/i3lock_script.sh index 5418f545..324df3e5 100755 --- a/.config/i3/i3lock_script.sh +++ b/.config/i3/i3lock_script.sh @@ -6,10 +6,10 @@ # |___/ # keepassxc --lock -if pidof openvpn; then - notify-send "Shutting down VPN" - pritunl-client stop r1e5vfvldadchscs -fi +#if pidof openvpn; then + #notify-send "Shutting down VPN" + #pritunl-client stop r1e5vfvldadchscs +#fi scrot /tmp/screen.png xwobf -s 11 /tmp/screen.png i3lock -i /tmp/screen.png -- cgit v1.2.3