Big dump commit
This commit is contained in:
@@ -2,14 +2,14 @@
|
|||||||
:ID: 75f35b3b-f46f-42b6-ac4b-3988f15c46e1
|
:ID: 75f35b3b-f46f-42b6-ac4b-3988f15c46e1
|
||||||
:END:
|
:END:
|
||||||
#+title: Gortium Dotfiles
|
#+title: Gortium Dotfiles
|
||||||
#+subtitle: My attempt at having my computer do what I want, not the contrary
|
#+subtitle: My attempt at having my computer do what I want, the way I want it.
|
||||||
|
|
||||||
* Welcome
|
* Welcome
|
||||||
I use stow to deploy all this to where it need to go (mostly ~/.confg).
|
I use stow to deploy all this to where it need to go (mostly ~/.confg).
|
||||||
|
|
||||||
* Apps
|
* Apps
|
||||||
** emacs (Doom)
|
|
||||||
** nvim
|
** nvim
|
||||||
|
** emacs (Doom)
|
||||||
** btop
|
** btop
|
||||||
** hyprland
|
** hyprland
|
||||||
** kitty
|
** kitty
|
||||||
@@ -21,3 +21,6 @@ I use stow to deploy all this to where it need to go (mostly ~/.confg).
|
|||||||
** wofi
|
** wofi
|
||||||
** yazi
|
** yazi
|
||||||
** zsh
|
** zsh
|
||||||
|
* Archives
|
||||||
|
** I3
|
||||||
|
** Terminator
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -53,7 +53,8 @@
|
|||||||
zen ; distraction-free coding or writing
|
zen ; distraction-free coding or writing
|
||||||
|
|
||||||
:editor
|
:editor
|
||||||
(evil +everywhere); come to the dark side, we have cookies
|
(evil +everywhere
|
||||||
|
+numbers); come to the dark side, we have cookies
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
(format +onsave) ; automated prettiness
|
(format +onsave) ; automated prettiness
|
||||||
@@ -70,7 +71,8 @@
|
|||||||
(dired +dirvish + icons) ; making dired pretty [functional]
|
(dired +dirvish + icons) ; making dired pretty [functional]
|
||||||
electric ; smarter, keyword-based electric-indent
|
electric ; smarter, keyword-based electric-indent
|
||||||
eww ; the internet is gross
|
eww ; the internet is gross
|
||||||
;;ibuffer ; interactive buffer management
|
|
||||||
|
(ibuffer +icons) ; interactive buffer management
|
||||||
undo ; persistent, smarter undo for your inevitable mistakes
|
undo ; persistent, smarter undo for your inevitable mistakes
|
||||||
vc ; version-control and Emacs, sitting in a tree
|
vc ; version-control and Emacs, sitting in a tree
|
||||||
|
|
||||||
@@ -109,7 +111,7 @@
|
|||||||
|
|
||||||
:os
|
:os
|
||||||
(:if (featurep :system 'macos) macos) ; improve compatibility with macOS
|
(:if (featurep :system 'macos) macos) ; improve compatibility with macOS
|
||||||
;;tty ; improve the terminal Emacs experience
|
tty ; improve the terminal Emacs experience
|
||||||
|
|
||||||
:lang
|
:lang
|
||||||
;;agda ; types of types of types of types...
|
;;agda ; types of types of types of types...
|
||||||
@@ -179,7 +181,9 @@
|
|||||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
;;scala ; java, but good
|
;;scala ; java, but good
|
||||||
;;(scheme +guile) ; a fully conniving family of lisps
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
(sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
|
+lsp
|
||||||
|
+powershell)
|
||||||
;;sml
|
;;sml
|
||||||
;;solidity ; do you need a blockchain? No.
|
;;solidity ; do you need a blockchain? No.
|
||||||
;;swift ; who asked for emoji variables?
|
;;swift ; who asked for emoji variables?
|
||||||
|
|||||||
@@ -52,6 +52,9 @@
|
|||||||
;; Open-With behavior
|
;; Open-With behavior
|
||||||
(package! openwith)
|
(package! openwith)
|
||||||
|
|
||||||
|
;; Org-Superstart-mode
|
||||||
|
;; (package! org-superstar)
|
||||||
|
|
||||||
;; Drag-stuff with alt-jk
|
;; Drag-stuff with alt-jk
|
||||||
(package! drag-stuff)
|
(package! drag-stuff)
|
||||||
|
|
||||||
@@ -100,27 +103,43 @@
|
|||||||
(package! peg)
|
(package! peg)
|
||||||
(package! citeproc)
|
(package! citeproc)
|
||||||
|
|
||||||
|
;; For lifeOS
|
||||||
|
(package! json-rpc)
|
||||||
|
|
||||||
;; (package! emigo :recipe
|
;; (package! emigo :recipe
|
||||||
;; (:host github
|
;; (:host github
|
||||||
;; :repo "MatthewZMD/emigo" :files (:defaults "*.py" "*.el")
|
;; :repo "MatthewZMD/emigo" :files (:defaults "*.py" "*.el")
|
||||||
;; )
|
;; )
|
||||||
;; )
|
;; )
|
||||||
;; (package! image-roll :recipe
|
;;
|
||||||
;; (:host github
|
(package! image-roll :recipe
|
||||||
;; :repo "dalanicolai/image-roll.el"))
|
(:host github
|
||||||
|
:repo "dalanicolai/image-roll.el"
|
||||||
|
:protocol ssh))
|
||||||
|
|
||||||
;; (package! org-edna)
|
(package! org-edna)
|
||||||
|
|
||||||
|
;; elgant dependencies bellow:
|
||||||
|
(package! org-ql)
|
||||||
|
(package! ts)
|
||||||
|
(package! s)
|
||||||
|
(package! dash)
|
||||||
|
(package! elgantt
|
||||||
|
:recipe (:host github :repo "legalnonsense/elgantt"))
|
||||||
|
|
||||||
(package! age)
|
(package! age)
|
||||||
|
|
||||||
|
(package! ultra-scroll
|
||||||
|
:recipe (:host github :repo "jdtsmith/ultra-scroll" :protocol ssh))
|
||||||
|
|
||||||
(package! passage
|
(package! passage
|
||||||
:recipe (:host github :repo "anticomputer/passage.el" :protocol ssh))
|
:recipe (:host github :repo "anticomputer/passage.el" :protocol ssh))
|
||||||
|
|
||||||
(package! krl-mode
|
;; Server is down, deactivated for now
|
||||||
:recipe (:host nil
|
;; (package! krl-mode
|
||||||
:repo "ssh://code.lazyworkhorse.net:2222/gortium/krl-mode.git"
|
;; :recipe (:host nil
|
||||||
:files ("*.el")))
|
;; :repo "ssh://code.lazyworkhorse.net:2222/gortium/krl-mode.git"
|
||||||
|
;; :files ("*.el")))
|
||||||
|
|
||||||
(package! auto-highlight-symbol)
|
(package! auto-highlight-symbol)
|
||||||
|
|
||||||
@@ -128,6 +147,8 @@
|
|||||||
|
|
||||||
(package! all-the-icons)
|
(package! all-the-icons)
|
||||||
|
|
||||||
|
(package! magit-gptcommit)
|
||||||
|
|
||||||
;; To install a package directly from a remote git repo, you must specify a
|
;; To install a package directly from a remote git repo, you must specify a
|
||||||
;; ``:recipe' accepts here:
|
;; ``:recipe' accepts here:
|
||||||
;; https://github.com/radian-software/straight.el#the-recipe-format
|
;; https://github.com/radian-software/straight.el#the-recipe-format
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ source = ~/.cache/wal/colors-hyprland.conf
|
|||||||
### MONITORS ###
|
### MONITORS ###
|
||||||
################
|
################
|
||||||
|
|
||||||
|
$LAPTOP=eDP-1
|
||||||
|
$EXTERNAL_L1=DP-4
|
||||||
|
$EXTERNAL_R1=DP-5
|
||||||
|
$EXTERNAL_L2=DP-6
|
||||||
|
$EXTERNAL_R2=DP-7
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
# Useful command:
|
# Useful command:
|
||||||
# hyprctl monitors all
|
# hyprctl monitors all
|
||||||
@@ -21,18 +27,18 @@ source = ~/.cache/wal/colors-hyprland.conf
|
|||||||
# monitor=eDP-1,highres,auto,2 #3200x1800,0x0,2
|
# monitor=eDP-1,highres,auto,2 #3200x1800,0x0,2
|
||||||
# monitor=HDMI-A-2,2560x1600,auto,1 #1600x0,1 #x-370,1,transform,1
|
# monitor=HDMI-A-2,2560x1600,auto,1 #1600x0,1 #x-370,1,transform,1
|
||||||
## Ingenuity setup
|
## Ingenuity setup
|
||||||
monitor=eDP-1,1920x1080,0x0,1
|
monitor=$LAPTOP, 1920x1080, 0x0, 1
|
||||||
monitor=DP-3,1920x1080,1920x0,1 # HDMI screen
|
monitor=DP-3, 1920x1080, 1920x0, 1 # HDMI screen
|
||||||
# Horizontal setup
|
# Horizontal setup
|
||||||
#monitor=DP-4,1920x1080,-960x-1080,1 # Left screen
|
#monitor=DP-4,1920x1080,-960x-1080,1 # Left screen
|
||||||
#monitor=DP-6,1920x1080,-960x-1080,1 # Left screen
|
#monitor=DP-6,1920x1080,-960x-1080,1 # Left screen
|
||||||
#monitor=DP-5,1920x1080,960x-1080,1 # Right screen
|
#monitor=DP-5,1920x1080,960x-1080,1 # Right screen
|
||||||
#monitor=DP-7,1920x1080,960x-1080,1 # Right screen
|
#monitor=DP-7,1920x1080,960x-1080,1 # Right screen
|
||||||
# Vertical setup
|
# Vertical setup
|
||||||
monitor=DP-4,1920x1080,0x-1080,1,transform,0 # Left screen
|
monitor=$EXTERNAL_L1, 1920x1080, 0x-1080, 1, transform, 0 # Left screen
|
||||||
monitor=DP-6,1920x1080,0x-1080,1,transform,0 # Left screen
|
monitor=$EXTERNAL_L2, 1920x1080,0x-1080,1,transform,0 # Left screen
|
||||||
monitor=DP-5,1920x1080,1920x-1480,1,transform,1 # Right screen
|
monitor=$EXTERNAL_R1, 1920x1080, 1920x-1480, 1, transform, 1 # Right screen
|
||||||
monitor=DP-7,1920x1080,1920x-1480,1,transform,1 # Right screen
|
monitor=$EXTERNAL_R2, 1920x1080,1920x-1480,1,transform,1 # Right screen
|
||||||
|
|
||||||
###################
|
###################
|
||||||
### MY PROGRAMS ###
|
### MY PROGRAMS ###
|
||||||
@@ -42,7 +48,7 @@ monitor=DP-7,1920x1080,1920x-1480,1,transform,1 # Right screen
|
|||||||
|
|
||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = emacsclient -c -a emacs --eval '(dirvish "$HOME")'
|
$editor = emacsclient -c -a emacs
|
||||||
$menu = wofi --show drun
|
$menu = wofi --show drun
|
||||||
$zen = zen-browser
|
$zen = zen-browser
|
||||||
$music = kitty ncspot
|
$music = kitty ncspot
|
||||||
@@ -61,6 +67,11 @@ exec = hyprshade auto
|
|||||||
exec-once = udiskie
|
exec-once = udiskie
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = swww-daemon
|
exec-once = swww-daemon
|
||||||
|
exec-once = swww img ~/.config/wallpapers/green_yellow_forest.jpg --outputs $LAPTOP
|
||||||
|
exec-once = swww img ~/.config/wallpapers/green_yellow_forest.jpg --outputs $EXTERNAL_L1
|
||||||
|
exec-once = swww img ~/.config/wallpapers/green_yellow_forest.jpg --outputs $EXTERNAL_L2
|
||||||
|
exec-once = swww img ~/.config/wallpapers/buck_head.jpg --outputs $EXTERNAL_R1
|
||||||
|
exec-once = swww img ~/.config/wallpapers/buck_head.jpg --outputs $EXTERNAL_R2
|
||||||
exec-once = swaync
|
exec-once = swaync
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
exec-once = hyprlock
|
exec-once = hyprlock
|
||||||
@@ -115,16 +126,6 @@ decoration {
|
|||||||
# Change transparency of focused and unfocused windows
|
# Change transparency of focused and unfocused windows
|
||||||
active_opacity = 0.9
|
active_opacity = 0.9
|
||||||
inactive_opacity = 0.75
|
inactive_opacity = 0.75
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
|
||||||
blur {
|
|
||||||
enabled = false
|
|
||||||
# enabled = true
|
|
||||||
# size = 16
|
|
||||||
# passes = 2
|
|
||||||
# new_optimizations = true
|
|
||||||
}
|
|
||||||
layerrule = blur, waybar
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||||
@@ -135,13 +136,13 @@ animations {
|
|||||||
|
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
|
||||||
animation = windows, 1, 2, myBezier
|
animation = windows, 1, 1.6, myBezier
|
||||||
animation = windowsOut, 1, 2, default, popin 80%
|
animation = windowsOut, 1, 1.6, default, popin 80%
|
||||||
animation = border, 1, 2, default
|
animation = border, 1, 1.6, default
|
||||||
animation = borderangle, 1, 2, default
|
animation = borderangle, 1, 1.6, default
|
||||||
animation = fade, 1, 2, default
|
animation = fade, 1, 1.6, default
|
||||||
animation = workspaces, 1, 2, default
|
animation = workspaces, 1, 1.6, default
|
||||||
animation = specialWorkspace, 1, 2, myBezier, slidefadevert -10%
|
animation = specialWorkspace, 1, 1.6, myBezier, slidefadevert -10%
|
||||||
}
|
}
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
@@ -207,9 +208,9 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
|
|||||||
bind = $mainMod, T, exec, $terminal
|
bind = $mainMod, T, exec, $terminal
|
||||||
bind = $mainMod, D, killactive,
|
bind = $mainMod, D, killactive,
|
||||||
bind = $mainMod SHIFT, Q, exit,
|
bind = $mainMod SHIFT, Q, exit,
|
||||||
bind = $mainMod, U, exec, ~/ExoKortex/2-Areas/IT/config/scripts/make_all.sh
|
bind = $mainMod, U, exec, ~/ExoKortex/2-Areas/IT/dotfiles/scripts/make_all.sh
|
||||||
bind = $mainMod, M, exec, $monitoring
|
bind = $mainMod, M, exec, $monitoring
|
||||||
bind = $mainMod, W, exec, $fileManager
|
bind = $mainMod, E, exec, $editor
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
bind = $mainMod, Z, exec, $zen
|
bind = $mainMod, Z, exec, $zen
|
||||||
@@ -221,7 +222,7 @@ bind = $mainMod, X, swapwindow
|
|||||||
bind = $mainMod, B, exec, nerd-dictation begin
|
bind = $mainMod, B, exec, nerd-dictation begin
|
||||||
bind = $mainMod, G, exec, nerd-dictation end
|
bind = $mainMod, G, exec, nerd-dictation end
|
||||||
bind = $mainMod, A, exec, $music
|
bind = $mainMod, A, exec, $music
|
||||||
#
|
|
||||||
# Full screen
|
# Full screen
|
||||||
bind = SUPER, F, fullscreen
|
bind = SUPER, F, fullscreen
|
||||||
|
|
||||||
@@ -312,8 +313,12 @@ bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
# Emacs-everywhere
|
# Emacs-everywhere
|
||||||
bind = $mainMod, E, exec, emacsclient --eval '(thanos/type)'
|
bind = $mainMod, W, exec, emacsclient --eval '(thanos/type)'
|
||||||
windowrulev2 = float,title:^(emacs-float)$
|
windowrule {
|
||||||
|
name = float-emacs
|
||||||
|
match:title = ^emacs-float$
|
||||||
|
float = true
|
||||||
|
}
|
||||||
|
|
||||||
# Play/Pause
|
# Play/Pause
|
||||||
# bind = $mainMod, P, exec, playerctl play-pause
|
# bind = $mainMod, P, exec, playerctl play-pause
|
||||||
@@ -344,13 +349,26 @@ windowrulev2 = float,title:^(emacs-float)$
|
|||||||
# windowrule = float, ^(kitty)$
|
# windowrule = float, ^(kitty)$
|
||||||
|
|
||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
# Ignore maximize requests from apps. You'll probably like this.
|
# Ignore maximize requests from apps. You'll probably like this.
|
||||||
windowrulev2 = suppressevent maximize, class:.*
|
windowrule {
|
||||||
|
name = suppress-maximize-events
|
||||||
|
match:class = .*
|
||||||
|
suppress_event = maximize
|
||||||
|
}
|
||||||
|
|
||||||
# Fix some dragging issues with XWayland
|
# Fix some dragging issues with XWayland
|
||||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
windowrule {
|
||||||
|
name = nofocus-xwayland-float
|
||||||
|
match:class = ^$
|
||||||
|
match:title = ^$
|
||||||
|
match:xwayland = true
|
||||||
|
match:float = true
|
||||||
|
match:fullscreen = false
|
||||||
|
match:pin = false
|
||||||
|
no_focus = true
|
||||||
|
}
|
||||||
|
|
||||||
workspace = 1, name:short-1, monitor:DP-4 # Left screen
|
workspace = 1, name:short-1, monitor:DP-4 # Left screen
|
||||||
workspace = 2, name:short-2, monitor:DP-4 # Left screen
|
workspace = 2, name:short-2, monitor:DP-4 # Left screen
|
||||||
|
|||||||
BIN
miryoku-kle-cover.png
Normal file
BIN
miryoku-kle-cover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd ~/ExoKortex/2-Areas/IT/config
|
cd ~/ExoKortex/2-Areas/IT/dotfiles/
|
||||||
make all
|
make all
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
notify-send "Dotfiles" "Configuration reloaded successfully!"
|
notify-send "Dotfiles" "Configuration reloaded successfully!"
|
||||||
|
|||||||
10
secrets/mistral.age
Normal file
10
secrets/mistral.age
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IEdoTUQ4QSBKU2FK
|
||||||
|
SkJzTFhnVFJvY2Z2cHNwdkcySlEyM251bFNFajBqd25zeEljWTBFCjJnQnN3VGVU
|
||||||
|
WmxFa24zN3lTWDQ3aXRUemNKTTNUcWhTREFxdjYvUEVPUGsKLT4gOHUuYXpSLWdy
|
||||||
|
ZWFzZSBcbU9pIjZ5IHVRTUc0LiBkeytLRiUkWSAodzgvPjxbCnhkUDFQTVl3OG04
|
||||||
|
bm9iTGJrQU1VMHVpRG40aWdGaXV5RVlkL3k3dytjbmVERSs1WWJGYwotLS0gZTFv
|
||||||
|
ZVhUNG01eFhBZUFOa2txbXo3VGJHUlJqd2lsMWJrZEJnOFFJMkg0bwod0MqLq/Gg
|
||||||
|
IscU4tieNTcpvdveTROZbzsDXmfpYuw7VMphifpW7HAori6WgTSuPuR64ger+Ckn
|
||||||
|
9DBFrTWBvOWlsg==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
8
secrets/tdnde-mail.age
Normal file
8
secrets/tdnde-mail.age
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 GhMD8A N3YTw5zlKBrt8wFNUKsp5whWTA6gHxk/dnK0qfpVjWs
|
||||||
|
3Wl+FdDp7DUa41RM3WtfYD652FO+JrKHI0IbR8JP008
|
||||||
|
-> Zz)frY-grease [#m
|
||||||
|
U4f90YQTuVBGpDosn311ZOxkvuIrVxRqtkLpdvspDpvJSBuGfjL6ocqutGnVAS+9
|
||||||
|
9cd5Bqzpf82+z+IIIark
|
||||||
|
--- CCIsIOQ2lRmT3vKpYBeFU2PrFesiH5CPljUTzYARRVE
|
||||||
|
<EFBFBD>ED<EFBFBD>d<EFBFBD>V<EFBFBD>+<2B>'<27>+<2B><>>5anͨc<CDA8><63>ح<EFBFBD>Ųb<C5B2>4<1B>5<EFBFBD>${<7B>
|
||||||
BIN
wallpapers/.config/wallpapers/buck_head.jpg
Normal file
BIN
wallpapers/.config/wallpapers/buck_head.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 MiB |
@@ -87,68 +87,6 @@ image_alloc = 536870912 # 512MB
|
|||||||
image_bound = [ 0, 0 ]
|
image_bound = [ 0, 0 ]
|
||||||
suppress_preload = false
|
suppress_preload = false
|
||||||
|
|
||||||
[plugin]
|
|
||||||
fetchers = [
|
|
||||||
# Mimetype
|
|
||||||
{ id = "mime", name = "*", run = "mime", prio = "high" },
|
|
||||||
]
|
|
||||||
z = "zoxide query {args}"
|
|
||||||
spotters = [
|
|
||||||
{ name = "*/", run = "folder" },
|
|
||||||
# Code
|
|
||||||
{ mime = "text/*", run = "code" },
|
|
||||||
{ mime = "application/{mbox,javascript,wine-extension-ini}", run = "code" },
|
|
||||||
# Image
|
|
||||||
{ mime = "image/{avif,hei?,jxl,svg+xml}", run = "magick" },
|
|
||||||
{ mime = "image/*", run = "image" },
|
|
||||||
# Video
|
|
||||||
{ mime = "video/*", run = "video" },
|
|
||||||
# Fallback
|
|
||||||
{ name = "*", run = "file" },
|
|
||||||
]
|
|
||||||
preloaders = [
|
|
||||||
# Image
|
|
||||||
{ mime = "image/{avif,hei?,jxl,svg+xml}", run = "magick" },
|
|
||||||
{ mime = "image/*", run = "image" },
|
|
||||||
# Video
|
|
||||||
{ mime = "video/*", run = "video" },
|
|
||||||
# PDF
|
|
||||||
{ mime = "application/pdf", run = "pdf" },
|
|
||||||
# Font
|
|
||||||
{ mime = "font/*", run = "font" },
|
|
||||||
{ mime = "application/ms-opentype", run = "font" },
|
|
||||||
]
|
|
||||||
previewers = [
|
|
||||||
{ name = "*/", run = "folder", sync = true },
|
|
||||||
# Code
|
|
||||||
{ mime = "text/*", run = "code" },
|
|
||||||
{ mime = "application/{mbox,javascript,wine-extension-ini}", run = "code" },
|
|
||||||
# JSON
|
|
||||||
{ mime = "application/{json,ndjson}", run = "json" },
|
|
||||||
# Image
|
|
||||||
{ mime = "image/{avif,hei?,jxl,svg+xml}", run = "magick" },
|
|
||||||
{ mime = "image/*", run = "image" },
|
|
||||||
# Video
|
|
||||||
{ mime = "video/*", run = "video" },
|
|
||||||
# PDF
|
|
||||||
{ mime = "application/pdf", run = "pdf" },
|
|
||||||
# Archive
|
|
||||||
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", run = "archive" },
|
|
||||||
{ mime = "application/{debian*-package,redhat-package-manager,rpm,android.package-archive}", run = "archive" },
|
|
||||||
{ name = "*.{AppImage,appimage}", run = "archive" },
|
|
||||||
# Virtual Disk / Disk Image
|
|
||||||
{ mime = "application/{iso9660-image,qemu-disk,ms-wim,apple-diskimage}", run = "archive" },
|
|
||||||
{ mime = "application/virtualbox-{vhd,vhdx}", run = "archive" },
|
|
||||||
{ name = "*.{img,fat,ext,ext2,ext3,ext4,squashfs,ntfs,hfs,hfsx}", run = "archive" },
|
|
||||||
# Font
|
|
||||||
{ mime = "font/*", run = "font" },
|
|
||||||
{ mime = "application/ms-opentype", run = "font" },
|
|
||||||
# Empty file
|
|
||||||
{ mime = "inode/empty", run = "empty" },
|
|
||||||
# Fallback
|
|
||||||
{ name = "*", run = "file" },
|
|
||||||
]
|
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
cursor_blink = false
|
cursor_blink = false
|
||||||
|
|
||||||
|
|||||||
26
zsh/.zshrc
26
zsh/.zshrc
@@ -1,16 +1,19 @@
|
|||||||
# NO FUCKING BEEP
|
# NO FUCKING BEEP
|
||||||
unsetopt BEEP
|
unsetopt BEEP
|
||||||
|
|
||||||
# Run pywal only on WSL
|
# Dark GTK for pwvucontrol
|
||||||
|
export GTK_THEME=Adwaita:dark
|
||||||
|
|
||||||
|
# Always run pywal (only on WSL)
|
||||||
if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null && [ -z "$TMUX" ]; then
|
if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null && [ -z "$TMUX" ]; then
|
||||||
cat ~/.cache/wal/sequences
|
cat ~/.cache/wal/sequences
|
||||||
clear
|
clear
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# hledger
|
# Hledger
|
||||||
export LEDGER_FILE=~/ExoKortex/2-Areas/Finances/finance_vault/tpouplier.hledger
|
export LEDGER_FILE=~/ExoKortex/2-Areas/Finances/finance_vault/tpouplier.hledger
|
||||||
|
|
||||||
# emacs client
|
# Emacs client
|
||||||
alias emacs="emacsclient -c -a emacs"
|
alias emacs="emacsclient -c -a emacs"
|
||||||
|
|
||||||
# Opencode
|
# Opencode
|
||||||
@@ -27,7 +30,7 @@ function yy() {
|
|||||||
rm -f -- "$tmp"
|
rm -f -- "$tmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
# nvim
|
# Nvim
|
||||||
export LANG=en_CA.UTF-8
|
export LANG=en_CA.UTF-8
|
||||||
export LC_ALL=en_CA.UTF-8
|
export LC_ALL=en_CA.UTF-8
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
@@ -39,7 +42,7 @@ source <(fzf --zsh)
|
|||||||
autoload -Uz compinit && compinit
|
autoload -Uz compinit && compinit
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
||||||
|
|
||||||
# bat
|
# Bat
|
||||||
alias cat=bat
|
alias cat=bat
|
||||||
|
|
||||||
# aichat
|
# aichat
|
||||||
@@ -48,7 +51,8 @@ alias aido="aichat -e"
|
|||||||
aitts() {
|
aitts() {
|
||||||
paplay --raw --rate=22050 --format=s16le --channels=1 <(aichat "Answer only with speech. Your answer will be read outlound. No title, no bold or no special character. Only the short and direct answer. $*" | piper-tts --model en_US-amy-medium.onnx --output-raw)
|
paplay --raw --rate=22050 --format=s16le --channels=1 <(aichat "Answer only with speech. Your answer will be read outlound. No title, no bold or no special character. Only the short and direct answer. $*" | piper-tts --model en_US-amy-medium.onnx --output-raw)
|
||||||
}
|
}
|
||||||
# tmux
|
|
||||||
|
# Tmux
|
||||||
alias t='tmux attach || tmux new'
|
alias t='tmux attach || tmux new'
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
@@ -58,7 +62,7 @@ alias dpa="docker ps -a"
|
|||||||
alias dl="docker ps -l -q"
|
alias dl="docker ps -l -q"
|
||||||
alias dx="docker exec -it"
|
alias dx="docker exec -it"
|
||||||
|
|
||||||
# cd
|
# Cd
|
||||||
alias ..="cd .."
|
alias ..="cd .."
|
||||||
alias ...="cd ../.."
|
alias ...="cd ../.."
|
||||||
alias ....="cd ../../.."
|
alias ....="cd ../../.."
|
||||||
@@ -83,7 +87,7 @@ alias gr='git remote'
|
|||||||
alias gre='git reset'
|
alias gre='git reset'
|
||||||
alias gcl='git clone'
|
alias gcl='git clone'
|
||||||
|
|
||||||
# lazygit
|
# Lazygit
|
||||||
alias lg="lazygit"
|
alias lg="lazygit"
|
||||||
|
|
||||||
# NVIM
|
# NVIM
|
||||||
@@ -94,7 +98,7 @@ alias l="eza -l --icons --git -a"
|
|||||||
alias lt="eza --tree --level=2 --icons --git"
|
alias lt="eza --tree --level=2 --icons --git"
|
||||||
alias ltree="eza --tree --level=2 --long --icons --git"
|
alias ltree="eza --tree --level=2 --long --icons --git"
|
||||||
|
|
||||||
# navigation
|
# Navigation
|
||||||
function cx() { cd "$@" && l; }
|
function cx() { cd "$@" && l; }
|
||||||
function fcd() { cd "$(find . -type d -not -path '' | fzf)" && l; }
|
function fcd() { cd "$(find . -type d -not -path '' | fzf)" && l; }
|
||||||
#function f() { echo "$(find . -type f -not -path '*/.*' | fzf)" | pbcopy }
|
#function f() { echo "$(find . -type f -not -path '*/.*' | fzf)" | pbcopy }
|
||||||
@@ -112,10 +116,10 @@ eval "$(starship init zsh)"
|
|||||||
# Zoxide
|
# Zoxide
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
# hyprshot
|
# Hyprshot
|
||||||
export HYPRSHOT_DIR="Images"
|
export HYPRSHOT_DIR="Images"
|
||||||
|
|
||||||
# direnv
|
# Direnv
|
||||||
# eval "$(direnv hook zsh)"
|
# eval "$(direnv hook zsh)"
|
||||||
|
|
||||||
# Atuin
|
# Atuin
|
||||||
|
|||||||
Reference in New Issue
Block a user