(Repo)~general changes that I cba to document
This commit is contained in:
@@ -105,6 +105,18 @@ which does a better job of indicating where the cursor is on screen.
|
|||||||
:config
|
:config
|
||||||
(blink-cursor-mode 0))
|
(blink-cursor-mode 0))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Path
|
||||||
|
Setting the path variable cos it can get annoying sometimes
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package env
|
||||||
|
:defer 1
|
||||||
|
:straight nil
|
||||||
|
:config
|
||||||
|
(setenv "PATH"
|
||||||
|
(concat
|
||||||
|
(expand-file-name "~/.local/bin:")
|
||||||
|
(getenv "PATH"))))
|
||||||
|
#+end_src
|
||||||
* Custom Functions
|
* Custom Functions
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:HTML_CONTAINER: details
|
:HTML_CONTAINER: details
|
||||||
@@ -317,7 +329,8 @@ Setup the evil package, with some opinionated keybindings:
|
|||||||
(setq evil-want-keybinding nil
|
(setq evil-want-keybinding nil
|
||||||
evil-split-window-below t
|
evil-split-window-below t
|
||||||
evil-vsplit-window-right t
|
evil-vsplit-window-right t
|
||||||
evil-want-abbrev-expand-on-insert-exit t)
|
evil-want-abbrev-expand-on-insert-exit t
|
||||||
|
evil-undo-system 'undo-redo)
|
||||||
:config
|
:config
|
||||||
(fset #'evil-window-vsplit #'make-frame))
|
(fset #'evil-window-vsplit #'make-frame))
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -426,6 +439,13 @@ looking for a command.
|
|||||||
:config
|
:config
|
||||||
(amx-mode))
|
(amx-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
*** Orderless
|
||||||
|
Orderless sorting method for completion, probably one of the best
|
||||||
|
things ever.
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package orderless
|
||||||
|
:after (ivy ido))
|
||||||
|
#+end_src
|
||||||
*** Ido
|
*** Ido
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args:emacs-lisp: :tangle no
|
:header-args:emacs-lisp: :tangle no
|
||||||
@@ -506,7 +526,8 @@ helpful counterparts.
|
|||||||
:general
|
:general
|
||||||
(leader
|
(leader
|
||||||
"ss" #'counsel-grep-or-swiper
|
"ss" #'counsel-grep-or-swiper
|
||||||
"sr" #'counsel-rg)
|
"sr" #'counsel-rg
|
||||||
|
"fr" #'counsel-recentf)
|
||||||
:init
|
:init
|
||||||
(general-def
|
(general-def
|
||||||
[remap describe-bindings] #'counsel-descbinds
|
[remap describe-bindings] #'counsel-descbinds
|
||||||
@@ -514,7 +535,10 @@ helpful counterparts.
|
|||||||
:config
|
:config
|
||||||
(setq ivy-initial-inputs-alist nil
|
(setq ivy-initial-inputs-alist nil
|
||||||
counsel-describe-function-function #'helpful-callable
|
counsel-describe-function-function #'helpful-callable
|
||||||
counsel-describe-variable-function #'helpful-variable)
|
counsel-describe-variable-function #'helpful-variable
|
||||||
|
ivy-re-builders-alist '((swiper . ivy--regex-plus)
|
||||||
|
(counsel-rg . ivy--regex-plus)
|
||||||
|
(t . orderless-ivy-re-builder)))
|
||||||
(counsel-mode))
|
(counsel-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Ivy Core
|
**** Ivy Core
|
||||||
@@ -529,6 +553,7 @@ selection list).
|
|||||||
:general
|
:general
|
||||||
(general-def
|
(general-def
|
||||||
:keymaps 'ivy-minibuffer-map
|
:keymaps 'ivy-minibuffer-map
|
||||||
|
"C-j" #'ivy-yank-symbol
|
||||||
"M-j" #'ivy-next-line-or-history
|
"M-j" #'ivy-next-line-or-history
|
||||||
"M-k" #'ivy-previous-line-or-history
|
"M-k" #'ivy-previous-line-or-history
|
||||||
"C-c C-e" #'ivy-occur)
|
"C-c C-e" #'ivy-occur)
|
||||||
@@ -943,7 +968,7 @@ with colouring and a ton of presentations to choose from.
|
|||||||
(t (buffer-name))))
|
(t (buffer-name))))
|
||||||
|
|
||||||
(telephone-line-defsegment +telephone/get-position ()
|
(telephone-line-defsegment +telephone/get-position ()
|
||||||
`(,(concat "%l:%c"
|
`(,(concat "%lL:%cC"
|
||||||
(if (not mark-active)
|
(if (not mark-active)
|
||||||
""
|
""
|
||||||
(format " | %dc" (- (+ 1 (region-end)) (region-beginning)))))))
|
(format " | %dc" (- (+ 1 (region-end)) (region-beginning)))))))
|
||||||
@@ -1205,7 +1230,6 @@ Dashboard creates a custom dashboard for Emacs that replaces the
|
|||||||
initial startup screen in default Emacs.
|
initial startup screen in default Emacs.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
:defer 1
|
|
||||||
:straight t
|
:straight t
|
||||||
:general
|
:general
|
||||||
(leader
|
(leader
|
||||||
@@ -1235,6 +1259,14 @@ initial startup screen in default Emacs.
|
|||||||
"}" #'dashboard-next-section
|
"}" #'dashboard-next-section
|
||||||
"{" #'dashboard-previous-section))
|
"{" #'dashboard-previous-section))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** EWW
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package eww
|
||||||
|
:straight nil
|
||||||
|
:config
|
||||||
|
(with-eval-after-load "evil-collection"
|
||||||
|
(evil-collection-eww-setup)))
|
||||||
|
#+end_src
|
||||||
** Calendar
|
** Calendar
|
||||||
Calendar is a simple inbuilt application within Emacs that helps with
|
Calendar is a simple inbuilt application within Emacs that helps with
|
||||||
date functionalities. I add functionality to copy dates from the
|
date functionalities. I add functionality to copy dates from the
|
||||||
@@ -1334,7 +1366,9 @@ are some corners I'd like to adjust).
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package dired
|
(use-package dired
|
||||||
:straight nil
|
:straight nil
|
||||||
:hook (dired-mode-hook . dired-hide-details-mode)
|
:hook
|
||||||
|
(dired-mode-hook . dired-hide-details-mode)
|
||||||
|
(dired-mode-hook . auto-revert-mode)
|
||||||
:init
|
:init
|
||||||
(setq-default dired-listing-switches "-AFBl --group-directories-first")
|
(setq-default dired-listing-switches "-AFBl --group-directories-first")
|
||||||
:general
|
:general
|
||||||
@@ -1342,7 +1376,8 @@ are some corners I'd like to adjust).
|
|||||||
:infix "d"
|
:infix "d"
|
||||||
"f" #'find-dired
|
"f" #'find-dired
|
||||||
"D" #'dired-other-frame
|
"D" #'dired-other-frame
|
||||||
"d" #'dired-jump)
|
"d" #'dired-jump
|
||||||
|
"l" (proc (interactive) (find-dired "~/Text/PDFs/" "-iname 'cs[0-9][0-9][0-9].pdf' -or -iname 'ma[0-9][0-9][0-9]*.pdf'")))
|
||||||
:config
|
:config
|
||||||
(with-eval-after-load "evil-collection"
|
(with-eval-after-load "evil-collection"
|
||||||
(evil-collection-dired-setup))
|
(evil-collection-dired-setup))
|
||||||
@@ -1644,19 +1679,49 @@ don't need to write everything myself.
|
|||||||
(with-eval-after-load "evil-collection"
|
(with-eval-after-load "evil-collection"
|
||||||
(evil-collection-ibuffer-setup)))
|
(evil-collection-ibuffer-setup)))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Proced
|
** Processes
|
||||||
Proced is the process manager for Emacs. Just setup evil-collection
|
:PROPERTIES:
|
||||||
for it.
|
:HTML_CONTAINER: details
|
||||||
|
:END:
|
||||||
|
Emacs has two systems for process management:
|
||||||
|
+ proced: a general 'top' like interface which allows general
|
||||||
|
management of linux processes
|
||||||
|
+ list-processes: a specific Emacs based system that lists processes
|
||||||
|
spawned by Emacs (similar to a top for Emacs specifically)
|
||||||
|
|
||||||
|
*** Proced
|
||||||
|
Core proced config, just a few bindings and evil collection setup.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package proced
|
(use-package proced
|
||||||
:straight nil
|
:straight nil
|
||||||
:general
|
:general
|
||||||
(leader
|
(leader
|
||||||
"ap" #'proced)
|
"ap" #'proced)
|
||||||
|
(general-def
|
||||||
|
:states 'normal
|
||||||
|
:keymaps 'proced-mode-map
|
||||||
|
"za" #'proced-toggle-auto-update)
|
||||||
:display
|
:display
|
||||||
("\\*Proced\\*"
|
("\\*Proced\\*"
|
||||||
(display-buffer-at-bottom)
|
(display-buffer-at-bottom)
|
||||||
(window-height . 0.25)))
|
(window-height . 0.25))
|
||||||
|
:init
|
||||||
|
(setq proced-auto-update-interval 0.5)
|
||||||
|
:config
|
||||||
|
(with-eval-after-load "evil-collection"
|
||||||
|
(evil-collection-proced-setup)))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
Along with that I setup the package =proced-narrow= which allows
|
||||||
|
further filtering of the process list.
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package proced-narrow
|
||||||
|
:after proced
|
||||||
|
:general
|
||||||
|
(general-def
|
||||||
|
:states 'normal
|
||||||
|
:keymaps 'proced-mode-map
|
||||||
|
"%" #'proced-narrow))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Calculator
|
** Calculator
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
@@ -1831,10 +1896,11 @@ results to the client, done through JSON.
|
|||||||
"a" #'eglot-code-actions
|
"a" #'eglot-code-actions
|
||||||
"r" #'eglot-rename
|
"r" #'eglot-rename
|
||||||
"R" #'eglot-reconnect)
|
"R" #'eglot-reconnect)
|
||||||
:init
|
;; :init
|
||||||
(setq eglot-stay-out-of '(flymake))
|
;; (setq eglot-stay-out-of '(flymake))
|
||||||
:config
|
:config
|
||||||
(add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd")))
|
(add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd"))
|
||||||
|
(add-to-list 'eglot-server-programs `(csharp-mode "~/.local/src/omnisharp-roslyn/run" "-lsp")))
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Flycheck
|
*** Flycheck
|
||||||
Flycheck is the checking system for Emacs. I don't necessarily like
|
Flycheck is the checking system for Emacs. I don't necessarily like
|
||||||
@@ -1981,7 +2047,7 @@ Tons of variables for org-mode, including a ton of latex ones.
|
|||||||
(use-package org
|
(use-package org
|
||||||
:defer t
|
:defer t
|
||||||
:custom
|
:custom
|
||||||
(org-agenda-files `(,(expand-file-name "~/Text/general.org")))
|
(org-agenda-files `(,(expand-file-name "~/Text")))
|
||||||
(org-agenda-window-setup 'current-window)
|
(org-agenda-window-setup 'current-window)
|
||||||
(org-edit-src-content-indentation 0)
|
(org-edit-src-content-indentation 0)
|
||||||
(org-goto-interface 'outline)
|
(org-goto-interface 'outline)
|
||||||
@@ -2063,7 +2129,7 @@ vanilla =org-goto=. Also records for auto insertion.
|
|||||||
(with-eval-after-load "swiper"
|
(with-eval-after-load "swiper"
|
||||||
(defun +org/swiper-goto ()
|
(defun +org/swiper-goto ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(swiper "^\\* "))
|
(counsel-grep-or-swiper "^\\* "))
|
||||||
(general-def
|
(general-def
|
||||||
[remap org-goto] #'+org/swiper-goto)))
|
[remap org-goto] #'+org/swiper-goto)))
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -2203,7 +2269,8 @@ opposing style.
|
|||||||
("false" . "⊥")
|
("false" . "⊥")
|
||||||
("char" . "ℂ")
|
("char" . "ℂ")
|
||||||
("int" . "ℤ")
|
("int" . "ℤ")
|
||||||
("float" . "ℝ")
|
("float" . "ℚ")
|
||||||
|
("double" . "ℝ")
|
||||||
("!" . "¬")
|
("!" . "¬")
|
||||||
("&&" . "∧")
|
("&&" . "∧")
|
||||||
("||" . "∨")
|
("||" . "∨")
|
||||||
@@ -2212,7 +2279,6 @@ opposing style.
|
|||||||
(c++-mode-hook
|
(c++-mode-hook
|
||||||
("nullptr" . "∅")
|
("nullptr" . "∅")
|
||||||
("string" . "𝕊")
|
("string" . "𝕊")
|
||||||
("string" . "𝕊")
|
|
||||||
("vector" . "ℓ")
|
("vector" . "ℓ")
|
||||||
("puts" . "ℙ")
|
("puts" . "ℙ")
|
||||||
("fputs" . "ϕ")
|
("fputs" . "ϕ")
|
||||||
@@ -2224,7 +2290,8 @@ opposing style.
|
|||||||
("false" . "⊥")
|
("false" . "⊥")
|
||||||
("char" . "ℂ")
|
("char" . "ℂ")
|
||||||
("int" . "ℤ")
|
("int" . "ℤ")
|
||||||
("float" . "ℝ")
|
("float" . "ℚ")
|
||||||
|
("double" . "ℝ")
|
||||||
("!" . "¬")
|
("!" . "¬")
|
||||||
("&&" . "∧")
|
("&&" . "∧")
|
||||||
("||" . "∨")
|
("||" . "∨")
|
||||||
@@ -2314,6 +2381,39 @@ this.
|
|||||||
(clang-format-region (region-beginning) (region-end))
|
(clang-format-region (region-beginning) (region-end))
|
||||||
(clang-format-buffer))))
|
(clang-format-buffer))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** CSharp
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package csharp-mode
|
||||||
|
:defer t
|
||||||
|
:pretty
|
||||||
|
(csharp-mode-hook
|
||||||
|
("null" . "∅")
|
||||||
|
("string" . "𝕊")
|
||||||
|
("List" . "ℓ")
|
||||||
|
("WriteLine" . "ℙ")
|
||||||
|
("Write" . "ω")
|
||||||
|
("->" . "→")
|
||||||
|
("true" . "⊤")
|
||||||
|
("false" . "⊥")
|
||||||
|
("char" . "ℂ")
|
||||||
|
("int" . "ℤ")
|
||||||
|
("float" . "ℝ")
|
||||||
|
("!" . "¬")
|
||||||
|
("&&" . "∧")
|
||||||
|
("||" . "∨")
|
||||||
|
("for" . "∀")
|
||||||
|
("return" . "⟼"))
|
||||||
|
:config
|
||||||
|
(with-eval-after-load "abbrev"
|
||||||
|
(+autotyping/gen-skeleton-abbrev
|
||||||
|
csharp-mode
|
||||||
|
"sgen"
|
||||||
|
"Name of item: "
|
||||||
|
str | "name" "\n"
|
||||||
|
"{\n"
|
||||||
|
> _ "\n"
|
||||||
|
"}\n")))
|
||||||
|
#+end_src
|
||||||
** Java
|
** Java
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:HTML_CONTAINER: details
|
:HTML_CONTAINER: details
|
||||||
@@ -2473,6 +2573,10 @@ Then emmet for super speed
|
|||||||
"M-j" #'emmet-next-edit-point
|
"M-j" #'emmet-next-edit-point
|
||||||
"M-k" #'emmet-prev-edit-point))
|
"M-k" #'emmet-prev-edit-point))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Typescript
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package typescript-mode)
|
||||||
|
#+end_src
|
||||||
** Emacs lisp
|
** Emacs lisp
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:HTML_CONTAINER: details
|
:HTML_CONTAINER: details
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
# Launchers
|
# Launchers
|
||||||
super + Escape
|
super + Escape
|
||||||
notify-send "Reloaded sxhkd"; \
|
notify-send -u low "Reloaded sxhkd"; \
|
||||||
killall sxhkd; sxhkd
|
killall sxhkd; sxhkd
|
||||||
|
|
||||||
super + shift + Escape
|
super + shift + Escape
|
||||||
notify-send "Reloading xprofile"; \
|
notify-send -u low "Reloading xprofile"; \
|
||||||
sh .xprofile;
|
sh .xprofile;
|
||||||
|
|
||||||
super + Return
|
super + Return
|
||||||
notify-send "Launching terminal"; \
|
notify-send -u low "Launching terminal"; \
|
||||||
$TERMINAL
|
$TERMINAL
|
||||||
|
|
||||||
super + shift + Return
|
super + shift + Return
|
||||||
notify-send "Launching Dev Terminal"; \
|
notify-send -u low "Launching Dev Terminal"; \
|
||||||
$TERMINAL -c 'Dev'
|
$TERMINAL -c 'Dev'
|
||||||
|
|
||||||
super + a
|
super + a
|
||||||
@@ -22,15 +22,15 @@ super + e
|
|||||||
$HOME/.emacs_anywhere/bin/run
|
$HOME/.emacs_anywhere/bin/run
|
||||||
|
|
||||||
super + s
|
super + s
|
||||||
notify-send "Launching browser"; \
|
notify-send -u low "Launching browser"; \
|
||||||
xdg-open "https://search.aryadevchavali.com"
|
xdg-open "https://search.aryadevchavali.com"
|
||||||
|
|
||||||
super + shift + s
|
super + shift + s
|
||||||
scrot -s; \
|
scrot -s; \
|
||||||
notify-send "Took a screenshot";
|
notify-send -u low "Took a screenshot";
|
||||||
|
|
||||||
super + z
|
super + z
|
||||||
notify-send "Launching zathura"; \
|
notify-send -u low "Launching zathura"; \
|
||||||
zathura
|
zathura
|
||||||
|
|
||||||
super + w
|
super + w
|
||||||
@@ -40,12 +40,9 @@ super + ctrl + l
|
|||||||
$HOME/.local/scripts/lock
|
$HOME/.local/scripts/lock
|
||||||
|
|
||||||
super + ctrl + d
|
super + ctrl + d
|
||||||
notify-send "Changing background"; \
|
notify-send -u low "Changing background"; \
|
||||||
$HOME/.local/scripts/background;
|
$HOME/.local/scripts/background;
|
||||||
|
|
||||||
super + m
|
|
||||||
$HOME/.local/scripts/playlist_choice
|
|
||||||
|
|
||||||
super + p
|
super + p
|
||||||
passmenu -f -i
|
passmenu -f -i
|
||||||
|
|
||||||
@@ -59,21 +56,25 @@ super + F{6,7,8}
|
|||||||
XF86Audio{Prev,Play,Next}
|
XF86Audio{Prev,Play,Next}
|
||||||
playerctl --player=spotify {previous,play-pause,next};
|
playerctl --player=spotify {previous,play-pause,next};
|
||||||
|
|
||||||
{_,shift + }XF86Audio{Lower,Raise}Volume
|
XF86Audio{Lower,Raise}Volume
|
||||||
kill -43 $(pidof dwmblocks); \
|
kill -43 $(pidof dwmblocks); \
|
||||||
{pactl set-sink-volume 42,$HOME/.local/scripts/spotify_volume} {-,+}5%;
|
{pamixer -d,pamixer -i} 5 --allow-boost;
|
||||||
|
|
||||||
|
super + F{9,10}
|
||||||
|
kill -43 $(pidof dwmblocks); \
|
||||||
|
{pamixer -d,pamixer -i} 5 --allow-boost;
|
||||||
|
|
||||||
XF86AudioMute
|
XF86AudioMute
|
||||||
kill -43 $(pidof dwmblocks); \
|
kill -43 $(pidof dwmblocks); \
|
||||||
pactl set-sink-mute 42 toggle;
|
pactl set-sink-mute 41 toggle;
|
||||||
|
|
||||||
XF86MonBrightness{Down,Up}
|
XF86MonBrightness{Down,Up}
|
||||||
light -{U,A} 15; \
|
light -{U,A} 15; \
|
||||||
notify-send "Brightness: $(xbacklight)";
|
notify-send -u low "Brightness: $(light)";
|
||||||
|
|
||||||
super + F{3,4}
|
super + F{3,4}
|
||||||
light -{U,A} 10; \
|
light -{U,A} 10; \
|
||||||
notify-send "Brightness: $(xbacklight)";
|
notify-send -u low "Brightness: $(light)";
|
||||||
|
|
||||||
# BSPWM
|
# BSPWM
|
||||||
# super + {_, shift + } {h,j,k,l}
|
# super + {_, shift + } {h,j,k,l}
|
||||||
@@ -89,7 +90,7 @@ super + F{3,4}
|
|||||||
# bspc node -s biggest
|
# bspc node -s biggest
|
||||||
|
|
||||||
# super + shift + {t,f}
|
# super + shift + {t,f}
|
||||||
# notify-send "Switched window state"; \
|
# notify-send -u low "Switched window state"; \
|
||||||
# bspc node -t {tiled,floating}
|
# bspc node -t {tiled,floating}
|
||||||
|
|
||||||
# super + f
|
# super + f
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
# zshrc -*- mode: sh; lexical-binding: t; -*-
|
# zshrc -*- mode: sh; lexical-binding: t; -*-
|
||||||
|
|
||||||
|
export DOTNET_ROOT=~/.local/src/dotnet
|
||||||
## Variables
|
## Variables
|
||||||
TERM=xterm-256color
|
TERM=xterm-256color
|
||||||
## Aliases
|
## Aliases
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
|
alias less="less -R"
|
||||||
alias sudo="doas"
|
alias sudo="doas"
|
||||||
alias eclient="emacsclient -s MAIN"
|
alias eclient="emacsclient -s MAIN"
|
||||||
alias emdir=".config/emacs/"
|
alias emdir=".config/emacs/"
|
||||||
@@ -16,6 +18,7 @@ alias fzf="fzf --layout=reverse --height=20"
|
|||||||
alias suctl="systemctl --user"
|
alias suctl="systemctl --user"
|
||||||
alias sedit="emacsclient -s MAIN -a emacs -c"
|
alias sedit="emacsclient -s MAIN -a emacs -c"
|
||||||
alias cedit="emacsclient -s MAIN -a emacs -nw"
|
alias cedit="emacsclient -s MAIN -a emacs -nw"
|
||||||
|
export CLASSPATH="$CLASSPATH:$HOME/.local/src/eclipse.jdt.ls"
|
||||||
|
|
||||||
## ZSH
|
## ZSH
|
||||||
setopt autocd
|
setopt autocd
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
killall mpd;
|
|
||||||
killall picom;
|
killall picom;
|
||||||
killall sxhkd;
|
killall sxhkd;
|
||||||
|
|
||||||
sh .xprofile;
|
sh .xprofile;
|
||||||
xset s 1800;
|
xset s 1800;
|
||||||
|
xrandr --output HDMI1 --primary;
|
||||||
|
xrandr --output eDP1 --right-of HDMI1;
|
||||||
|
|
||||||
$(xss-lock --transfer-sleep-lock -- lock) &
|
$(xss-lock --transfer-sleep-lock -- lock) &
|
||||||
feh --randomize --bg-scale $HOME/Pictures/Backgrounds &
|
feh --randomize --bg-scale $HOME/Pictures/Backgrounds &
|
||||||
|
|
||||||
$HOME/.local/scripts/eserver start &
|
systemctl --user start emacs &
|
||||||
$HOME/.local/scripts/status/music_update_bar &
|
$HOME/.local/scripts/status/music_update_bar &
|
||||||
dunst &
|
dunst &
|
||||||
picom &
|
picom &
|
||||||
mpd &
|
|
||||||
sxhkd &
|
sxhkd &
|
||||||
dwmblocks &
|
dwmblocks &
|
||||||
|
|
||||||
# $HOME/.config/bspwm/bspwmrc
|
# $HOME/.config/bspwm/bspwmrc
|
||||||
while :; do
|
while :; do
|
||||||
ssh-agent dwm
|
ssh-agent dwm
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user