All the things
This commit is contained in:
+11
-6
@@ -57,8 +57,9 @@
|
|||||||
|
|
||||||
;; install all-the-icons when first loading the emacs conf
|
;; install all-the-icons when first loading the emacs conf
|
||||||
;; remember to run M-x all-the-icons-install-fonts
|
;; remember to run M-x all-the-icons-install-fonts
|
||||||
(when (display-graphic-p)
|
(use-package all-the-icons
|
||||||
(use-package all-the-icons :straight t))
|
:straight t
|
||||||
|
:if (display-graphic-p))
|
||||||
|
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:straight t
|
:straight t
|
||||||
@@ -116,10 +117,16 @@
|
|||||||
:init
|
:init
|
||||||
(load-theme 'doom-Iosvkem))
|
(load-theme 'doom-Iosvkem))
|
||||||
|
|
||||||
(set-face-attribute 'default nil :font "Fira Code" :height 125 :weight 'medium)
|
(set-face-attribute 'default nil :font "Fira Mono" :height 125 :weight 'medium)
|
||||||
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
|
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
|
||||||
(set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 1.0 :weight 'medium)
|
(set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 1.0 :weight 'medium)
|
||||||
|
|
||||||
|
(use-package mixed-pitch
|
||||||
|
:straight t
|
||||||
|
:config
|
||||||
|
(add-hook 'org-mode-hook #'mixed-pitch-mode))
|
||||||
|
(use-package unicode-fonts :straight t)
|
||||||
|
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit) ;; Escape exits out of prompts
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit) ;; Escape exits out of prompts
|
||||||
|
|
||||||
;; Define Leader Key
|
;; Define Leader Key
|
||||||
@@ -567,9 +574,7 @@
|
|||||||
|
|
||||||
(use-package python-mode
|
(use-package python-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook (python-mode . lsp-deferred)
|
:hook (python-mode . lsp-deferred))
|
||||||
:custom
|
|
||||||
(python-shell-interpreter "python3"))
|
|
||||||
|
|
||||||
(use-package parinfer
|
(use-package parinfer
|
||||||
:straight t
|
:straight t
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
(use-modules (gnu)
|
(use-modules (gnu)
|
||||||
(gnu services desktop)
|
(gnu services desktop)
|
||||||
|
(gnu packages wm)
|
||||||
|
(gnu system setuid)
|
||||||
|
(gnu packages admin)
|
||||||
(nongnu packages linux))
|
(nongnu packages linux))
|
||||||
|
|
||||||
(use-service-modules
|
(use-service-modules
|
||||||
@@ -17,6 +20,10 @@
|
|||||||
(timezone "America/Los_Angeles")
|
(timezone "America/Los_Angeles")
|
||||||
(keyboard-layout (keyboard-layout "us"))
|
(keyboard-layout (keyboard-layout "us"))
|
||||||
(host-name "borges")
|
(host-name "borges")
|
||||||
|
(setuid-programs
|
||||||
|
(cons (setuid-program
|
||||||
|
(program (file-append swaylock "/bin/swaylock")))
|
||||||
|
%setuid-programs))
|
||||||
(users (cons* (user-account
|
(users (cons* (user-account
|
||||||
(name "opal")
|
(name "opal")
|
||||||
(comment "opal")
|
(comment "opal")
|
||||||
@@ -32,7 +39,7 @@
|
|||||||
(append
|
(append
|
||||||
(list
|
(list
|
||||||
(specification->package "git")
|
(specification->package "git")
|
||||||
(specification->package "xclip")
|
(specification->package "wl-clipboard")
|
||||||
(specification->package "vim")
|
(specification->package "vim")
|
||||||
(specification->package "nss-certs")
|
(specification->package "nss-certs")
|
||||||
(specification->package "stow")
|
(specification->package "stow")
|
||||||
@@ -52,8 +59,7 @@
|
|||||||
(specification->package "keepassxc")
|
(specification->package "keepassxc")
|
||||||
(specification->package "font-fira-mono")
|
(specification->package "font-fira-mono")
|
||||||
(specification->package "font-fira-sans")
|
(specification->package "font-fira-sans")
|
||||||
(specification->package "font-fira-code")
|
(specification->package "font-fira-code"))
|
||||||
(specification->package "gnome-tweaks"))
|
|
||||||
%base-packages))
|
%base-packages))
|
||||||
(services
|
(services
|
||||||
(append (modify-services %desktop-services
|
(append (modify-services %desktop-services
|
||||||
|
|||||||
+26
-23
@@ -15,8 +15,8 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
|||||||
default_border none
|
default_border none
|
||||||
|
|
||||||
# Gaps
|
# Gaps
|
||||||
gaps top 4
|
gaps top 2
|
||||||
gaps inner 5
|
gaps inner 3
|
||||||
#gaps outer 3
|
#gaps outer 3
|
||||||
|
|
||||||
# Hide mouse cursor after inactivity
|
# Hide mouse cursor after inactivity
|
||||||
@@ -26,10 +26,13 @@ seat * hide_cursor 4000
|
|||||||
exec_always dunst
|
exec_always dunst
|
||||||
|
|
||||||
# Opacity
|
# Opacity
|
||||||
set $opacity 0.9
|
set $opacity 0.92
|
||||||
for_window [class=".*"] opacity $opacity
|
for_window [class=".*"] opacity $opacity
|
||||||
for_window [app_id=".*"] opacity $opacity
|
for_window [app_id=".*"] opacity $opacity
|
||||||
|
|
||||||
|
# Wlsunset (Night Light)
|
||||||
|
exec_always wlsunset -l 47.6, -122.3
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /gnu/store/6d3q9f1bdfn4cchsziws33ixq2p4zjhw-sway-1.6.1/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /gnu/store/6d3q9f1bdfn4cchsziws33ixq2p4zjhw-sway-1.6.1/share/backgrounds/sway/)
|
||||||
@@ -74,6 +77,9 @@ exec swayidle -w \
|
|||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# Lock SwayWM
|
||||||
|
bindsym $mod+Control+l swaylock
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
@@ -114,29 +120,25 @@ exec swayidle -w \
|
|||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
#
|
#
|
||||||
# Workspaces:
|
# Workspaces:
|
||||||
|
|
||||||
|
set $ws1 ۱
|
||||||
|
set $ws2 ۲
|
||||||
|
set $ws3 ۳
|
||||||
|
set $ws4 ۴
|
||||||
|
set $ws5 ۵
|
||||||
#
|
#
|
||||||
# Switch to workspace
|
# Switch to workspace
|
||||||
bindsym $mod+1 workspace number 1
|
bindsym $mod+1 workspace $ws1
|
||||||
bindsym $mod+2 workspace number 2
|
bindsym $mod+2 workspace $ws2
|
||||||
bindsym $mod+3 workspace number 3
|
bindsym $mod+3 workspace $ws3
|
||||||
bindsym $mod+4 workspace number 4
|
bindsym $mod+4 workspace $ws4
|
||||||
bindsym $mod+5 workspace number 5
|
bindsym $mod+5 workspace $ws5
|
||||||
bindsym $mod+6 workspace number 6
|
|
||||||
bindsym $mod+7 workspace number 7
|
|
||||||
bindsym $mod+8 workspace number 8
|
|
||||||
bindsym $mod+9 workspace number 9
|
|
||||||
bindsym $mod+0 workspace number 10
|
|
||||||
# Move focused container to workspace
|
# Move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace number 1
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||||
bindsym $mod+Shift+2 move container to workspace number 2
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||||
bindsym $mod+Shift+3 move container to workspace number 3
|
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||||
bindsym $mod+Shift+4 move container to workspace number 4
|
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||||
bindsym $mod+Shift+5 move container to workspace number 5
|
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||||
bindsym $mod+Shift+6 move container to workspace number 6
|
|
||||||
bindsym $mod+Shift+7 move container to workspace number 7
|
|
||||||
bindsym $mod+Shift+8 move container to workspace number 8
|
|
||||||
bindsym $mod+Shift+9 move container to workspace number 9
|
|
||||||
bindsym $mod+Shift+0 move container to workspace number 10
|
|
||||||
# Note: workspaces can have any name you want, not just numbers.
|
# Note: workspaces can have any name you want, not just numbers.
|
||||||
# We just use 1-10 as the default.
|
# We just use 1-10 as the default.
|
||||||
#
|
#
|
||||||
@@ -207,6 +209,7 @@ bindsym $mod+r mode "resize"
|
|||||||
# Read `man 5 sway-bar` for more information about this section.
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
|
gaps 5
|
||||||
|
|
||||||
# When the status_command prints a new line to stdout, swaybar updates.
|
# When the status_command prints a new line to stdout, swaybar updates.
|
||||||
# The default just shows the current date and time.
|
# The default just shows the current date and time.
|
||||||
|
|||||||
+23
-24
@@ -22,10 +22,9 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
|||||||
# Window Borders
|
# Window Borders
|
||||||
default_border none
|
default_border none
|
||||||
|
|
||||||
|
|
||||||
# Gaps
|
# Gaps
|
||||||
gaps top 4
|
gaps top 2
|
||||||
gaps inner 5
|
gaps inner 3
|
||||||
#gaps outer 3
|
#gaps outer 3
|
||||||
|
|
||||||
# Hide mouse cursor after inactivity
|
# Hide mouse cursor after inactivity
|
||||||
@@ -35,7 +34,7 @@ seat * hide_cursor 4000
|
|||||||
exec_always dunst
|
exec_always dunst
|
||||||
|
|
||||||
# Opacity
|
# Opacity
|
||||||
set $opacity 0.9
|
set $opacity 0.92
|
||||||
for_window [class=".*"] opacity $opacity
|
for_window [class=".*"] opacity $opacity
|
||||||
for_window [app_id=".*"] opacity $opacity
|
for_window [app_id=".*"] opacity $opacity
|
||||||
|
|
||||||
@@ -86,6 +85,9 @@ exec swayidle -w \
|
|||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# Lock SwayWM
|
||||||
|
bindsym $mod+Control+l swaylock
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
@@ -126,29 +128,25 @@ exec swayidle -w \
|
|||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
#
|
#
|
||||||
# Workspaces:
|
# Workspaces:
|
||||||
|
|
||||||
|
set $ws1 ۱
|
||||||
|
set $ws2 ۲
|
||||||
|
set $ws3 ۳
|
||||||
|
set $ws4 ۴
|
||||||
|
set $ws5 ۵
|
||||||
#
|
#
|
||||||
# Switch to workspace
|
# Switch to workspace
|
||||||
bindsym $mod+1 workspace number 1
|
bindsym $mod+1 workspace $ws1
|
||||||
bindsym $mod+2 workspace number 2
|
bindsym $mod+2 workspace $ws2
|
||||||
bindsym $mod+3 workspace number 3
|
bindsym $mod+3 workspace $ws3
|
||||||
bindsym $mod+4 workspace number 4
|
bindsym $mod+4 workspace $ws4
|
||||||
bindsym $mod+5 workspace number 5
|
bindsym $mod+5 workspace $ws5
|
||||||
bindsym $mod+6 workspace number 6
|
|
||||||
bindsym $mod+7 workspace number 7
|
|
||||||
bindsym $mod+8 workspace number 8
|
|
||||||
bindsym $mod+9 workspace number 9
|
|
||||||
bindsym $mod+0 workspace number 10
|
|
||||||
# Move focused container to workspace
|
# Move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace number 1
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||||
bindsym $mod+Shift+2 move container to workspace number 2
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||||
bindsym $mod+Shift+3 move container to workspace number 3
|
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||||
bindsym $mod+Shift+4 move container to workspace number 4
|
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||||
bindsym $mod+Shift+5 move container to workspace number 5
|
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||||
bindsym $mod+Shift+6 move container to workspace number 6
|
|
||||||
bindsym $mod+Shift+7 move container to workspace number 7
|
|
||||||
bindsym $mod+Shift+8 move container to workspace number 8
|
|
||||||
bindsym $mod+Shift+9 move container to workspace number 9
|
|
||||||
bindsym $mod+Shift+0 move container to workspace number 10
|
|
||||||
# Note: workspaces can have any name you want, not just numbers.
|
# Note: workspaces can have any name you want, not just numbers.
|
||||||
# We just use 1-10 as the default.
|
# We just use 1-10 as the default.
|
||||||
#
|
#
|
||||||
@@ -219,6 +217,7 @@ bindsym $mod+r mode "resize"
|
|||||||
# Read `man 5 sway-bar` for more information about this section.
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
|
gaps 5
|
||||||
|
|
||||||
# When the status_command prints a new line to stdout, swaybar updates.
|
# When the status_command prints a new line to stdout, swaybar updates.
|
||||||
# The default just shows the current date and time.
|
# The default just shows the current date and time.
|
||||||
|
|||||||
@@ -98,8 +98,9 @@ Doom's modeline is excellent, and much less cluttered than the default Emacs mod
|
|||||||
|
|
||||||
;; install all-the-icons when first loading the emacs conf
|
;; install all-the-icons when first loading the emacs conf
|
||||||
;; remember to run M-x all-the-icons-install-fonts
|
;; remember to run M-x all-the-icons-install-fonts
|
||||||
(when (display-graphic-p)
|
(use-package all-the-icons
|
||||||
(use-package all-the-icons :straight t))
|
:straight t
|
||||||
|
:if (display-graphic-p))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Keybinding display
|
*** Keybinding display
|
||||||
@@ -185,12 +186,17 @@ Helpful.el is a package that reformats the describe-X functions to be much more
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Fonts
|
** Fonts
|
||||||
Mozilla's Fira fonts are pretty, and the Sans and Code types look excellent with the corresponding mode.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(set-face-attribute 'default nil :font "Fira Code" :height 125 :weight 'medium)
|
(set-face-attribute 'default nil :font "Fira Mono" :height 125 :weight 'medium)
|
||||||
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
|
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
|
||||||
(set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 1.0 :weight 'medium)
|
(set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 1.0 :weight 'medium)
|
||||||
|
|
||||||
|
(use-package mixed-pitch
|
||||||
|
:straight t
|
||||||
|
:config
|
||||||
|
(add-hook 'org-mode-hook #'mixed-pitch-mode))
|
||||||
|
(use-package unicode-fonts :straight t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Keybinding
|
** Keybinding
|
||||||
@@ -725,9 +731,7 @@ Sets HTML strings to have the background of the color they represent.
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package python-mode
|
(use-package python-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook (python-mode . lsp-deferred)
|
:hook (python-mode . lsp-deferred))
|
||||||
:custom
|
|
||||||
(python-shell-interpreter "python3"))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Lisp
|
*** Lisp
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ Disclaimer: I use the nonguix channel only for the use of building Firefox from
|
|||||||
#+begin_src scheme :tangle ~/Dotfiles/.config/guix/home-desk.scm :mkdirp yes
|
#+begin_src scheme :tangle ~/Dotfiles/.config/guix/home-desk.scm :mkdirp yes
|
||||||
(use-modules (gnu)
|
(use-modules (gnu)
|
||||||
(gnu services desktop)
|
(gnu services desktop)
|
||||||
|
(gnu packages wm)
|
||||||
|
(gnu system setuid)
|
||||||
|
(gnu packages admin)
|
||||||
(nongnu packages linux))
|
(nongnu packages linux))
|
||||||
|
|
||||||
(use-service-modules
|
(use-service-modules
|
||||||
@@ -45,6 +48,10 @@ Disclaimer: I use the nonguix channel only for the use of building Firefox from
|
|||||||
(timezone "America/Los_Angeles")
|
(timezone "America/Los_Angeles")
|
||||||
(keyboard-layout (keyboard-layout "us"))
|
(keyboard-layout (keyboard-layout "us"))
|
||||||
(host-name "borges")
|
(host-name "borges")
|
||||||
|
(setuid-programs
|
||||||
|
(cons (setuid-program
|
||||||
|
(program (file-append swaylock "/bin/swaylock")))
|
||||||
|
%setuid-programs))
|
||||||
(users (cons* (user-account
|
(users (cons* (user-account
|
||||||
(name "opal")
|
(name "opal")
|
||||||
(comment "opal")
|
(comment "opal")
|
||||||
@@ -60,7 +67,7 @@ Disclaimer: I use the nonguix channel only for the use of building Firefox from
|
|||||||
(append
|
(append
|
||||||
(list
|
(list
|
||||||
(specification->package "git")
|
(specification->package "git")
|
||||||
(specification->package "xclip")
|
(specification->package "wl-clipboard")
|
||||||
(specification->package "vim")
|
(specification->package "vim")
|
||||||
(specification->package "nss-certs")
|
(specification->package "nss-certs")
|
||||||
(specification->package "stow")
|
(specification->package "stow")
|
||||||
@@ -80,8 +87,7 @@ Disclaimer: I use the nonguix channel only for the use of building Firefox from
|
|||||||
(specification->package "keepassxc")
|
(specification->package "keepassxc")
|
||||||
(specification->package "font-fira-mono")
|
(specification->package "font-fira-mono")
|
||||||
(specification->package "font-fira-sans")
|
(specification->package "font-fira-sans")
|
||||||
(specification->package "font-fira-code")
|
(specification->package "font-fira-code"))
|
||||||
(specification->package "gnome-tweaks"))
|
|
||||||
%base-packages))
|
%base-packages))
|
||||||
(services
|
(services
|
||||||
(append (modify-services %desktop-services
|
(append (modify-services %desktop-services
|
||||||
|
|||||||
Reference in New Issue
Block a user