diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2022-04-01 19:04:30 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2022-04-01 19:04:30 +0200 |
commit | ae976c2bd8a4b72174f001d84a52850dae01ebeb (patch) | |
tree | 9e5e3ece26408970ca0983af173b1a5b5fc7b689 /config | |
parent | 9c94f06db9fdc9d40f98a0abd4a9646977f45ea1 (diff) | |
download | dotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.tar.gz dotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.tar.bz2 dotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.zip |
Clear employer configs
Diffstat (limited to 'config')
-rw-r--r-- | config/awesome/rc.lua | 24 | ||||
-rw-r--r-- | config/doom/config.org | 26 | ||||
-rw-r--r-- | config/doom/snippets/message-mode/employer_signature | 13 | ||||
-rw-r--r-- | config/doom/snippets/python-mode/cmktrace | 7 | ||||
-rw-r--r-- | config/doom/snippets/python-mode/cmkwarn | 7 |
5 files changed, 8 insertions, 69 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 633d2f0..0235ea3 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -42,13 +42,10 @@ end local hostname = io.popen("uname -n"):read() -- Setup laptop screen -if "titanroam" == hostname then - -- awful.spawn.with_shell("nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1") -- load the gpu performance profile saved in home - awful.spawn.with_shell("xrandr --output eDP1 --mode 1920x1080 --output HDMI2 --mode 1920x1080 --left-of eDP1 --primary") - awful.spawn.with_shell("xinput --set-prop \"SYN1B7E:01 06CB:2970 Touchpad\" \"Synaptics Two-Finger Scrolling\" 1 1") -elseif "klappbier" == hostname or "archlive" == hostname then - awful.spawn.with_shell("xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --output DP-1-2 --mode 2560x1440 --pos 3840x0 --output DP-1-3 --primary --mode 1920x1080 --pos 1920x0") -end +-- awful.spawn.with_shell("nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1") -- load the gpu performance profile saved in home +awful.spawn.with_shell("xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --output HDMI-2 --primary --mode 1920x1080 --pos 1920x0") +awful.spawn.with_shell("xinput --set-prop \"SYN1B7E:01 06CB:2970 Touchpad\" \"Synaptics Two-Finger Scrolling\" 1 1") + -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. @@ -68,12 +65,6 @@ local tools = { habit = "/home/titan/dev/helpful_scripts/guile/habit.scm", } -if "klappbier" == hostname then - tools.terminal = "gnome-terminal" - tools.filemanager = "nautilus" - tools.pass = "/usr/share/doc/pass/examples/dmenu/passmenu" -end - -- Default modkey. -- Usually, Mod4 is the key with a logo between Control and Alt. -- If you do not like this or do not have such a key, @@ -162,12 +153,7 @@ local tasklist_buttons = gears.table.join( end)) local function set_wallpaper(s) - local wallpaper - if "archlive" == hostname then - wallpaper = awful.util.getdir("config") .. "brown-hair-brunette-green-eyes.jpg" - elseif "klappbier" == hostname or "archlive" == hostname then - wallpaper = awful.util.getdir("config") .. "hot sexy red hair girls.jpg" - end + local wallpaper = awful.util.getdir("config") .. "brown-hair-brunette-green-eyes.jpg" gears.wallpaper.maximized(wallpaper, s, true) end diff --git a/config/doom/config.org b/config/doom/config.org index 8684b3d..5fa2e01 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -4,9 +4,7 @@ * Personal information #+begin_src emacs-lisp (setq user-full-name "Óscar Nájera" - user-mail-address (if (string-equal (user-login-name) "on") - "oscar.najera@tribe29.com" - "hi@oscarnajera.com")) + user-mail-address "hi@oscarnajera.com") #+end_src * Editor ** Theme @@ -33,9 +31,7 @@ Doom manages packages separately. Keep that file separate #+end_src ** SSH agent #+begin_src emacs-lisp -(if (string-equal (user-login-name) "on") - (setenv "SSH_AUTH_SOCK" (concat "/run/user/1000/gnupg/S.gpg-agent.ssh")) - (setenv "SSH_AUTH_SOCK" (concat (getenv "XDG_RUNTIME_DIR")"/gnupg/S.gpg-agent.ssh"))) +(setenv "SSH_AUTH_SOCK" (concat (getenv "XDG_RUNTIME_DIR")"/gnupg/S.gpg-agent.ssh")) #+end_src ** Avy This allows me to jump to buffer positions using my home row ordering @@ -221,7 +217,6 @@ this new window. (setq notmuch-saved-searches '((:name "inbox" :query "tag:inbox" :key "i" :sort-order newest-first) - (:name "CMK" :query "(tag:CMK-JIRA or tag:lists/gerrit-check_mk) and tag:unread" :key "c") (:name "Isar-Speak" :query "(tag:Isar-Speak or tag:lists/isar-speak-officers) and tag:unread" :key "t") (:name "flagged" :query "tag:flagged" :key "f") (:name "sent" :query "tag:sent" :key "s") @@ -232,7 +227,6 @@ this new window. notmuch-hello-tag-list-make-query "tag:unread and not tag:killed") (setq notmuch-fcc-dirs '((".*@oscarnajera.com" . "hi_pers/Sent") - ("oscar.najera@tribe29.com" . "work/Sent") ;;(".*@gmail.com" . "\"gmail/[Gmail]/.Sent Mail\"") )) @@ -304,9 +298,7 @@ this new window. (defun set-smtp-server () (let* ((default-smtp-conf '("mail.oscarnajera.com" 587 starttls "hi")) (smtp-from-server-alist - '(("Oscar Najera <oscar.najera@tribe29.com>" - "mx.tribe29.com" 587 starttls "oscar.najera") - ("Oscar Najera <najera.oscar@gmail.com>" + '(("Oscar Najera <najera.oscar@gmail.com>" "smtp.googlemail.com" 587 starttls "najera.oscar"))) (smtp-conf (alist-get (save-restriction (message-narrow-to-headers) @@ -433,15 +425,3 @@ Emacs mode for managing ledger text files #+begin_src emacs-lisp (use-package! guix) #+end_src -* Check_MK -#+BEGIN_SRC emacs-lisp -(when (string-equal (user-login-name) "on") - (global-set-key (kbd "<f10>") - (lambda () - (interactive) - (async-shell-command "WEBPACK_MODE=quick ~/git/zeug_cmk/bin/f12" "*f12*"))) - (global-set-key (kbd "<f9>") - (lambda () - (interactive) - (async-shell-command "cd ~/git/check_mk/managed/ && ~/git/check_mk/managed/.f12" "*f12*")))) -#+END_SRC diff --git a/config/doom/snippets/message-mode/employer_signature b/config/doom/snippets/message-mode/employer_signature deleted file mode 100644 index 6e202b8..0000000 --- a/config/doom/snippets/message-mode/employer_signature +++ /dev/null @@ -1,13 +0,0 @@ -# -*- mode: snippet -*- -# name: employer_signature -# key: sig -# -- -Oscar Najera -Software Developer - -tribe29 GmbH — The Check_MK Company -oscar.najera@tribe29.com | Phone: +49 89 9982 097 00 | https://tribe29.com - -Kellerstraße 29, 81667 München, Germany -Amtsgericht München, HRB 165902 -Geschäftsführer: Jan Justus, Mathias Kettner
\ No newline at end of file diff --git a/config/doom/snippets/python-mode/cmktrace b/config/doom/snippets/python-mode/cmktrace deleted file mode 100644 index 85f42a3..0000000 --- a/config/doom/snippets/python-mode/cmktrace +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: cmktrace -# key: ctrace -# -- -import traceback -from cmk.gui.log import logger -logger.warn("\n\n"+"\n".join(traceback.format_stack())) diff --git a/config/doom/snippets/python-mode/cmkwarn b/config/doom/snippets/python-mode/cmkwarn deleted file mode 100644 index d3fe8f9..0000000 --- a/config/doom/snippets/python-mode/cmkwarn +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: cmkwarn -# key: warn -# -- -from cmk.gui.log import logger -import pprint -logger.warning(pprint.pformat(("$1", $0)))
\ No newline at end of file |