summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-08 20:06:30 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-08 20:06:30 +0200
commit06b11915c29e93c59168dc04f7f87c806e70b791 (patch)
treef485cadf51d6e31a03b3573e39a8d9152eb442c7
parentIt doesnt work (diff)
downloaddotfiles-bsd-06b11915c29e93c59168dc04f7f87c806e70b791.tar.gz
dotfiles-bsd-06b11915c29e93c59168dc04f7f87c806e70b791.tar.bz2
dotfiles-bsd-06b11915c29e93c59168dc04f7f87c806e70b791.tar.xz
dotfiles-bsd-06b11915c29e93c59168dc04f7f87c806e70b791.tar.zst
dotfiles-bsd-06b11915c29e93c59168dc04f7f87c806e70b791.zip
New script incoming
-rw-r--r--.config/emacs/org/config.org17
-rwxr-xr-x.local/bin/shutup19
2 files changed, 22 insertions, 14 deletions
diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org
index f1e674f..7237355 100644
--- a/.config/emacs/org/config.org
+++ b/.config/emacs/org/config.org
@@ -59,6 +59,7 @@
(package-initialize)
(add-to-list 'load-path "~/.config/emacs/font-lock+")
+ (add-to-list 'load-path "~/.config/emacs/header2/")
(add-to-list 'load-path "~/.config/emacs/all-the-icons/")
(add-to-list 'load-path "~/.config/emacs/all-the-icons-dired/")
@@ -176,21 +177,9 @@
'(require 'ox-md nil t))
#+END_SRC
-** Time stamps
+** header2
#+BEGIN_SRC emacs-lisp
- (add-hook 'before-save-hook 'time-stamp)
- (add-hook 'go-mode-hook (lambda()
- (setq (make-local-variable 'time-stamp-pattern)
- "50/ \\* +%3a %3b %02H:%02M:%02S %Z %:y")
- (setq (make-local-variable 'time-stamp-time-zone)
- "CEST")
- ))
- (add-hook 'c-mode-hook (lambda()
- (setq (make-local-variable 'time-stamp-pattern)
- "50/ \\* +%3a %3b %02H:%02M:%02S %Z %:y")
- (setq (make-local-variable 'time-stamp-time-zone)
- "CEST")
- ))
+ (add-hook 'c-mode-hook 'auto-make-header)
#+END_SRC
** Core packages
diff --git a/.local/bin/shutup b/.local/bin/shutup
new file mode 100755
index 0000000..d5d7b46
--- /dev/null
+++ b/.local/bin/shutup
@@ -0,0 +1,19 @@
+#!/usr/local/bin/perl
+
+use strict;
+use warnings;
+use File::HomeDir qw(home)
+
+use constant {
+ DUNSTRC_PATH => home() . '/.config/dunst/dunstrc'
+ NOTIFYSEND_PATH => '/usr/local/bin/notify-send'
+}
+
+sub main()
+{
+ return;
+}
+
+main();
+
+__END__