Disable EXWM. And small fixes
This commit is contained in:
parent
f8478aa2cb
commit
aa57d6cad8
116
config.org
116
config.org
|
|
@ -1,4 +1,4 @@
|
||||||
#+TITLE: Bloxie's Emacs Configuration
|
+TITLE: Bloxie's Emacs Configuration
|
||||||
#+CREATOR: Bloxiebird
|
#+CREATOR: Bloxiebird
|
||||||
|
|
||||||
* Introduction
|
* Introduction
|
||||||
|
|
@ -19,6 +19,11 @@ Welcome to my Emacs configuration!
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
*** All The Icons
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package all-the-icons
|
||||||
|
:ensure t)
|
||||||
|
#+END_SRC
|
||||||
*** Telephone Line
|
*** Telephone Line
|
||||||
Install the Telephone Line :
|
Install the Telephone Line :
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
@ -27,6 +32,107 @@ Install the Telephone Line :
|
||||||
:init
|
:init
|
||||||
(telephone-line-mode 1))
|
(telephone-line-mode 1))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
*** Emacs Dashboard
|
||||||
|
Install the Emacs Dashboard :
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package dashboard
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(dashboard-setup-startup-hook))
|
||||||
|
|
||||||
|
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
|
||||||
|
#+END_SRC
|
||||||
|
Emacs Dashboard Config :
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
;; Set the title
|
||||||
|
(setq dashboard-banner-logo-title "Welcome to Bloxie's Emacs!")
|
||||||
|
;; Set the banner
|
||||||
|
(setq dashboard-startup-banner 'logo)
|
||||||
|
;; Value can be
|
||||||
|
;; 'official which displays the official emacs logo
|
||||||
|
;; 'logo which displays an alternative emacs logo
|
||||||
|
;; 1, 2 or 3 which displays one of the text banners
|
||||||
|
;; "path/to/your/image.png" which displays whatever image you would prefer
|
||||||
|
|
||||||
|
;; Content is not centered by default. To center, set
|
||||||
|
(setq dashboard-center-content t)
|
||||||
|
|
||||||
|
;; To disable shortcut "jump" indicators for each section, set
|
||||||
|
(setq dashboard-show-shortcuts nil)
|
||||||
|
|
||||||
|
;;To customize which widgets are displayed, you can use the following snippet
|
||||||
|
|
||||||
|
(setq dashboard-items '((recents . 5)
|
||||||
|
(bookmarks . 5)
|
||||||
|
(projects . 5)
|
||||||
|
(agenda . 5)
|
||||||
|
(registers . 5)))
|
||||||
|
#+END_SRC
|
||||||
|
** EXWM
|
||||||
|
Emacs X Window Manager
|
||||||
|
Add hashtag before + to enable
|
||||||
|
|
||||||
|
+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package exwm
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(require 'exwm-config)
|
||||||
|
(exwm-config-default))
|
||||||
|
+END_SRC
|
||||||
|
|
||||||
|
Add hashtag before + to enable
|
||||||
|
|
||||||
|
EXWM System Try
|
||||||
|
+BEGIN_SRC emacs-lisp
|
||||||
|
(require 'exwm-systemtray)
|
||||||
|
(exwm-systemtray-enable)
|
||||||
|
+END_SRC
|
||||||
|
|
||||||
|
EXWM Specific Keybindings
|
||||||
|
(global-set-key (kbd "s-e") 'evil-quit-all)
|
||||||
|
(global-set-key (kbd "s-k") 'exwm-workspace-move)
|
||||||
|
(global-set-key (kbd "s-w") 'exwm-workspace-swap)
|
||||||
|
** Custom
|
||||||
|
*** Resizing Buffers
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(global-set-key (kbd "<C-up>") 'shrink-window)
|
||||||
|
(global-set-key (kbd "<C-down>") 'enlarge-window)
|
||||||
|
(global-set-key (kbd "<C-left>") 'shrink-window-horizontally)
|
||||||
|
(global-set-key (kbd "<C-right>") 'enlarge-window-horizontally)
|
||||||
|
#+END_SRC
|
||||||
|
*** Fullscreen Function
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(defun fullscreen (&optional f)
|
||||||
|
(interactive)
|
||||||
|
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
|
||||||
|
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
|
||||||
|
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
|
||||||
|
'(2 "_NET_WM_STATE_MAXIMIZED_HORZ" 0)))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
Call Function on Startup
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(fullscreen)
|
||||||
|
#+END_SRC
|
||||||
|
** Symon
|
||||||
|
A system resource viewer
|
||||||
|
|
||||||
|
Add hashtag before + to enable
|
||||||
|
|
||||||
|
+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package symon
|
||||||
|
:ensure t
|
||||||
|
:init
|
||||||
|
(symon-mode 1))
|
||||||
|
+END_SRC
|
||||||
|
** DMenu
|
||||||
|
A recreation of the iconic Suckless Dynamic Menu.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package dmenu
|
||||||
|
:ensure t
|
||||||
|
:bind
|
||||||
|
("s-f" . 'dmenu))
|
||||||
|
#+END_SRC
|
||||||
** Evil Mode
|
** Evil Mode
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package evil
|
(use-package evil
|
||||||
|
|
@ -50,6 +156,14 @@ Install the Telephone Line :
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-hook 'org-mode-hook 'org-beamer-mode)
|
(add-hook 'org-mode-hook 'org-beamer-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
** Projectile
|
||||||
|
Install Projectile:
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package projectile
|
||||||
|
:ensure t
|
||||||
|
:init
|
||||||
|
(projectile-mode))
|
||||||
|
#+END_SRC
|
||||||
** Auto Completion
|
** Auto Completion
|
||||||
*** Ivy
|
*** Ivy
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue