summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/dunst/dunstrc2
-rw-r--r--.config/emacs/init.el2
-rw-r--r--.config/emacs/org/config.org16
-rw-r--r--.config/x11/xinitrc26
4 files changed, 27 insertions, 19 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
index 2d69828..4569b19 100644
--- a/.config/dunst/dunstrc
+++ b/.config/dunst/dunstrc
@@ -1,7 +1,7 @@
[global]
monitor = 0
follow = none
- geometry = "750-40+40"
+ geometry = "1500x5-40+40"
indicate_hidden = yes
shrink = yes
transparency = 0
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 5a97d25..48eeed4 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -40,7 +40,7 @@
'(jdee-db-spec-breakpoint-face-colors (cons "#1c1f2b" "#676E95"))
'(objed-cursor-color "#ff5370")
'(package-selected-packages
- '(rainbow-identifiers nginx-mode evil-quickscope vc-fossil crontab-mode go-mode mutt-mode pacmacs gemini-mode org-evil glsl-mode vimrc-mode windresize evil evil-collection evil-leader evil-search-highlight-persist evil-mc evil-surround evil-ediff evil-visual-mark-mode evil-nerd-commenter evil-vimish-fold evil-numbers yasnippet yasnippet-classic-snippets yasnippet-snippets auto-yasnippet el-autoyas helm helm-xref helm-etags-plus helm-fuzzy helm-themes helm-make helm-projectile projectile company company-box which-key magit undo-tree shell-pop treemacs treemacs-projectile treemacs-magit treemacs-evil autopair paredit rainbow-delimiters color-identifiers-mode ibuffer-vc ibuffer-projectile eyebrowse diff-hl fzf font-utils restart-emacs string-utils dired-icon kaolin-themes doom-themes spacemacs-theme doom-modeline dashboard org-superstar toc-org pdf-tools dockerfile-mode web-mode ssh sudo-ext vimish-fold bind-key all-the-icons all-the-icons-dired all-the-icons-ibuffer))
+ '(helm-ag rainbow-identifiers nginx-mode evil-quickscope vc-fossil crontab-mode go-mode mutt-mode pacmacs gemini-mode org-evil glsl-mode vimrc-mode windresize evil evil-collection evil-leader evil-search-highlight-persist evil-mc evil-surround evil-ediff evil-visual-mark-mode evil-nerd-commenter evil-vimish-fold evil-numbers yasnippet yasnippet-classic-snippets yasnippet-snippets auto-yasnippet el-autoyas helm helm-xref helm-etags-plus helm-fuzzy helm-themes helm-make helm-projectile projectile company company-box which-key magit undo-tree shell-pop treemacs treemacs-projectile treemacs-magit treemacs-evil autopair paredit rainbow-delimiters color-identifiers-mode ibuffer-vc ibuffer-projectile eyebrowse diff-hl fzf font-utils restart-emacs string-utils dired-icon kaolin-themes doom-themes spacemacs-theme doom-modeline dashboard org-superstar toc-org pdf-tools dockerfile-mode web-mode ssh sudo-ext vimish-fold bind-key all-the-icons all-the-icons-dired all-the-icons-ibuffer))
'(pdf-view-midnight-colors (cons "#EEFFFF" "#292D3E"))
'(pos-tip-background-color "#2E2A29")
'(pos-tip-foreground-color "#d4d4d6")
diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org
index e9896f4..35813e4 100644
--- a/.config/emacs/org/config.org
+++ b/.config/emacs/org/config.org
@@ -1,6 +1,7 @@
* My emacs config
** Basic configs
#+BEGIN_SRC emacs-lisp
+ (server-start)
(setq x-alt-keysym 'meta)
(set-keyboard-coding-system 'utf-8)
@@ -10,8 +11,14 @@
(blink-cursor-mode 0)
(global-hl-line-mode 1)
(global-auto-revert-mode t)
-
- (set-frame-font "mononoki Nerd Font:pixelsize=15" nil t)
+ (defun my/disable-scroll-bars (frame)
+ (modify-frame-parameters frame
+ '((vertical-scroll-bars . nil)
+ (horizontal-scroll-bars . nil))))
+ (add-hook 'after-make-frame-functions 'my/disable-scroll-bars)
+
+ (setq default-frame-alist '((font . "mononoki Nerd Font:pixelsize=15")))
+ ;; (set-frame-font "mononoki Nerd Font:pixelsize=15" nil t)
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
(add-hook 'text-mode-hook 'display-line-numbers-mode)
@@ -27,8 +34,6 @@
delete-old-versions t
kept-new-versions 20
kept-old-versions 5)
-
- (server-start)
#+END_SRC
** Desktop-save
@@ -200,6 +205,7 @@
(add-to-list 'auto-mode-alist '("env$" . shell-script-mode))
(add-to-list 'auto-mode-alist '("lfrc$" . vimrc-mode))
(add-to-list 'auto-mode-alist '("muttrc$" . mutt-mode))
+ (add-to-list 'auto-mode-alist '("dunstrc$" . conf-mode))
(add-to-list 'auto-mode-alist '("loader.conf$" . conf-mode))
#+END_SRC
@@ -798,5 +804,3 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(shell-pop--set-shell-type 'my/shell-pop-shell-type my/shell-pop-shell-type)
#+END_SRC
-
-
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 3661337..5d1eaf3 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -1,17 +1,21 @@
# vim: filetype=sh
-pkill compton
-pkill dunst
-pkill mpd-notification
-pkill lowbat
+
+startif() {
+ if ! pgrep "$1"; then
+ bsdsetsid "$@" >/dev/null 2>&1
+ fi
+}
/home/jozan/.local/bin/scrmain
/home/jozan/.local/bin/kb
-/usr/local/bin/musicpd >/dev/null 2>&1
-/usr/local/bin/compton >/dev/null 2>&1 &
-/usr/local/bin/dunst >/dev/null 2>&1 &
-/usr/local/bin/mpd-notification >/dev/null 2>&1 &
-/usr/local/bin/lowbat >/dev/null 2>&1 &
+startif dunst
+startif compton
+startif musicpd
+startif mpd-notification
+startif lowbat
+startif emacs --daemon
+notify-send -u low -t 2000 'emacs' ' Emacs daemonized'
cd /home/jozan
xrdb /home/jozan/.config/x11/xresources
-/usr/local/bin/notify-send -u normal 'Welcome' " Welcome back, partner\!"
-dbus-launch dwm
+notify-send -u normal 'Welcome' " Welcome back, partner\!"
+exec dwm