This commit is contained in:
Sakooooo 2024-02-09 08:36:06 +04:00
parent 05a37d70dd
commit 9665c2e125
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -510,36 +510,37 @@ Cause emacs overlay lol
#+end_src #+end_src
** Dashboard ** Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package dashboard (use-package dashboard
:init :init
(setq dashboard-display-icons-p t) ;; display icons on both GUI and terminal (setq dashboard-display-icons-p t) ;; display icons on both GUI and terminal
(setq dashboard-icon-type 'nerd-icons) ;; use `nerd-icons' package (setq dashboard-icon-type 'nerd-icons) ;; use `nerd-icons' package
(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
(setq dashboard-center-content t) (setq dashboard-center-content t)
(setq dashboard-projects-backend 'projectile) (setq dashboard-projects-backend 'projectile)
(setq dashboard-startup-banner "~/.emacs.d/dashboard.png") (setq dashboard-startup-banner "~/.emacs.d/dashboard.png")
(setq dashboard-footer-messages '("i think i have emacs pinky" (setq dashboard-footer-messages '("i think i have emacs pinky"
"why are we still using lisp again?" "why are we still using lisp again?"
"why is this running on 1/16 threads?!?!?" "why is this running on 1/16 threads?!?!?"
"still waiting for multithreaded :)" "still waiting for multithreaded :)"
"any day now" "any day now"
"make sure to pray today" "make sure to pray today"
"im literally kanye west" "im literally kanye west"
"please dont break please dont break" "please dont break please dont break"
"GNU/Linux/Emacs/???" "GNU/Linux/Emacs/???"
"what is a GNU/Linux ?????????????" "what is a GNU/Linux ?????????????"
"done!" "done!"
"remove / for faster emacs on linux" "remove / for faster emacs on linux"
"")) ""))
(setq dashboard-items '((recents . 3) (setq dashboard-items '((recents . 3)
(projects . 3) (projects . 3)
(agenda . 5))) (agenda . 5)))
(setq dashboard-image-banner-max-height 200) (setq dashboard-image-banner-max-height 200)
(setq dashboard-image-banner-max-width 300) (setq dashboard-image-banner-max-width 300)
(setq dashboard-page-separator "\n\n") (setq dashboard-page-separator "\n\n")
(dashboard-setup-startup-hook)) (setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
(dashboard-setup-startup-hook))
#+end_src #+end_src
** Evil Mode (vim) ** Evil Mode (vim)
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -1320,21 +1321,25 @@ RELEASE ME
(use-package exwm (use-package exwm
:config :config
(defun sakomacs/exwm-init-hook ()
;; background
(call-process-shell-command "feh --bg-fill ~/background.png" nil 0)
(set-frame-parameter (selected-frame)'alpha '(90 . 90))
(add-to-list 'default-frame-alist '(alpha . (90 . 90)))
(call-process-shell-command "~/.config/polybar/startpolybar" nil 0)
;; todo fix picom
;; (call-process-shell-command "~/.config/picom/startpicom" nil 0)
;; startup
(call-process-shell-command "nm-applet" nil 0)
(call-process-shell-command "blueman-applet" nil 0)
(call-process-shell-command "nextcloud" nil 0)
(call-process-shell-command "bitwarden" nil 0)
(call-process-shell-command "flameshot" nil 0)
)
;; background ;; background
;; todo turn this info a function ;; todo turn this info a function
(add-hook 'exwm-init-hook (lambda () (add-hook 'exwm-init-hook 'sakomacs/exwm-init-hook)
;; background
(call-process-shell-command "feh --bg-fill ~/background.png" nil 0)
(call-process-shell-command "~/.config/polybar/startpolybar" nil 0)
;; todo fix picom
;; (call-process-shell-command "~/.config/picom/startpicom" nil 0)
;; startup
(call-process-shell-command "nm-applet" nil 0)
(call-process-shell-command "blueman-applet" nil 0)
(call-process-shell-command "nextcloud" nil 0)
(call-process-shell-command "bitwarden" nil 0)
(call-process-shell-command "flameshot" nil 0)
))
;; startup ;; startup
;; workspaces ;; workspaces
(setq exwm-workspace-number 5) (setq exwm-workspace-number 5)