Compare commits
56 Commits
230cb70257
...
feat/per-h
| Author | SHA1 | Date | |
|---|---|---|---|
| 504daea61e | |||
| d06a382cbf | |||
| fac4a09eeb | |||
| fe90a0f607 | |||
| dfa689633f | |||
| c40210ab31 | |||
| f507d53c42 | |||
| c659d00098 | |||
| f45387456b | |||
| 75df6d502a | |||
| 8e9204bc21 | |||
| 05a3a8546c | |||
| d23138ff2c | |||
| af9fa42cd3 | |||
| 7220066149 | |||
| a7e18db821 | |||
| 7b1998a40d | |||
| 9b4c678fd9 | |||
| 53b376e6e3 | |||
| 6f6b24d3c3 | |||
| 7a0948a43f | |||
| addf9fbe83 | |||
| fb1d0cd2d9 | |||
| 5f465ecb5a | |||
| 48038df872 | |||
| d5095064c2 | |||
| 8f5d2e73bc | |||
| 69c2447f04 | |||
| 4982831883 | |||
| 311a2eae57 | |||
| 79ce045657 | |||
|
|
386d1a3bf8 | ||
|
|
a09a7c03ef | ||
|
|
d73ed29733 | ||
|
|
a2a3baf7da | ||
|
|
aa06568852 | ||
|
|
390ba2ef61 | ||
| 5ee760fbe8 | |||
| c1fbe2e8d9 | |||
| 1a4cafa098 | |||
| 7e48bf1b87 | |||
| 3101834051 | |||
| 8ddcf1de22 | |||
| 15e62ed479 | |||
| a8315e32f1 | |||
| 9cb17ede39 | |||
| cd60b775f5 | |||
| da85946d6a | |||
| 24fcd48036 | |||
| ddbc923314 | |||
| dfef1e6dfa | |||
| 6939353f9c | |||
| 28abca7572 | |||
| 6d8a621b07 | |||
| 0573abe905 | |||
| abaa3e2271 |
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
||||
# Define list of directories you want to stow
|
||||
CONFIG_DIRS := btop doom hypr kitty nvim rclone starship tmux wallpapers waybar wireplumber wofi yazi zsh
|
||||
CONFIG_DIRS := btop doom hypr kitty local nvim rclone starship tmux wallpapers waybar wireplumber wofi yazi zsh
|
||||
|
||||
all: stow_all
|
||||
wal -i ~/.config/wallpapers/green_yellow_forest.jpg -o ~/.config/waybar/launch.sh
|
||||
|
||||
26
README.org
Normal file
26
README.org
Normal file
@@ -0,0 +1,26 @@
|
||||
:PROPERTIES:
|
||||
:ID: 75f35b3b-f46f-42b6-ac4b-3988f15c46e1
|
||||
:END:
|
||||
#+title: Gortium Dotfiles
|
||||
#+subtitle: My attempt at having my computer do what I want, the way I want it.
|
||||
|
||||
* Welcome
|
||||
I use stow to deploy all this to where it need to go (mostly ~/.confg).
|
||||
|
||||
* Apps
|
||||
** nvim
|
||||
** emacs (Doom)
|
||||
** btop
|
||||
** hyprland
|
||||
** kitty
|
||||
** rclone
|
||||
** starship
|
||||
** tmux
|
||||
** waybar
|
||||
** Wireplumber
|
||||
** wofi
|
||||
** yazi
|
||||
** zsh
|
||||
* Archives
|
||||
** I3
|
||||
** Terminator
|
||||
@@ -1,18 +1,18 @@
|
||||
#? Config file for btop v. 1.4.4
|
||||
#? Config file for btop v.1.4.6
|
||||
|
||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||
color_theme = "/usr/share/btop/themes/everforest-dark-medium.theme"
|
||||
|
||||
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
||||
theme_background = False
|
||||
theme_background = false
|
||||
|
||||
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
||||
truecolor = True
|
||||
truecolor = true
|
||||
|
||||
#* Set to true to force tty mode regardless if a real tty has been detected or not.
|
||||
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
|
||||
force_tty = False
|
||||
force_tty = false
|
||||
|
||||
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
|
||||
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
|
||||
@@ -22,10 +22,13 @@ presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:defaul
|
||||
|
||||
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
|
||||
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
|
||||
vim_keys = True
|
||||
vim_keys = true
|
||||
|
||||
#* Rounded corners on boxes, is ignored if TTY mode is ON.
|
||||
rounded_corners = True
|
||||
rounded_corners = true
|
||||
|
||||
#* Use terminal synchronized output sequences to reduce flickering on supported terminals.
|
||||
terminal_sync = true
|
||||
|
||||
#* Default symbols to use for graph creation, "braille", "block" or "tty".
|
||||
#* "braille" offers the highest resolution but might not be included in all fonts.
|
||||
@@ -60,37 +63,40 @@ update_ms = 2000
|
||||
proc_sorting = "cpu lazy"
|
||||
|
||||
#* Reverse sorting order, True or False.
|
||||
proc_reversed = False
|
||||
proc_reversed = false
|
||||
|
||||
#* Show processes as a tree.
|
||||
proc_tree = True
|
||||
proc_tree = true
|
||||
|
||||
#* Use the cpu graph colors in the process list.
|
||||
proc_colors = True
|
||||
proc_colors = true
|
||||
|
||||
#* Use a darkening gradient in the process list.
|
||||
proc_gradient = True
|
||||
proc_gradient = true
|
||||
|
||||
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
|
||||
proc_per_core = True
|
||||
proc_per_core = true
|
||||
|
||||
#* Show process memory as bytes instead of percent.
|
||||
proc_mem_bytes = True
|
||||
proc_mem_bytes = true
|
||||
|
||||
#* Show cpu graph for each process.
|
||||
proc_cpu_graphs = True
|
||||
proc_cpu_graphs = true
|
||||
|
||||
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
|
||||
proc_info_smaps = False
|
||||
proc_info_smaps = false
|
||||
|
||||
#* Show proc box on left side of screen instead of right.
|
||||
proc_left = False
|
||||
proc_left = false
|
||||
|
||||
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
|
||||
proc_filter_kernel = False
|
||||
proc_filter_kernel = false
|
||||
|
||||
#* In tree-view, always accumulate child process resources in the parent process.
|
||||
proc_aggregate = True
|
||||
proc_aggregate = true
|
||||
|
||||
#* Should cpu and memory usage display be preserved for dead processes when paused.
|
||||
keep_dead_proc_usage = false
|
||||
|
||||
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
|
||||
#* Select from a list of detected attributes from the options menu.
|
||||
@@ -104,25 +110,28 @@ cpu_graph_lower = "Auto"
|
||||
show_gpu_info = "Auto"
|
||||
|
||||
#* Toggles if the lower CPU graph should be inverted.
|
||||
cpu_invert_lower = True
|
||||
cpu_invert_lower = true
|
||||
|
||||
#* Set to True to completely disable the lower CPU graph.
|
||||
cpu_single_graph = False
|
||||
cpu_single_graph = false
|
||||
|
||||
#* Show cpu box at bottom of screen instead of top.
|
||||
cpu_bottom = False
|
||||
cpu_bottom = false
|
||||
|
||||
#* Shows the system uptime in the CPU box.
|
||||
show_uptime = True
|
||||
show_uptime = true
|
||||
|
||||
#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo.
|
||||
show_cpu_watts = true
|
||||
|
||||
#* Show cpu temperature.
|
||||
check_temp = True
|
||||
check_temp = true
|
||||
|
||||
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
|
||||
cpu_sensor = "Auto"
|
||||
|
||||
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
|
||||
show_coretemp = True
|
||||
show_coretemp = true
|
||||
|
||||
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
|
||||
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
|
||||
@@ -134,17 +143,20 @@ cpu_core_map = ""
|
||||
temp_scale = "celsius"
|
||||
|
||||
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
|
||||
base_10_sizes = False
|
||||
base_10_sizes = false
|
||||
|
||||
#* Show CPU frequency.
|
||||
show_cpu_freq = True
|
||||
show_cpu_freq = true
|
||||
|
||||
#* How to calculate CPU frequency, available values: "first", "range", "lowest", "highest" and "average".
|
||||
freq_mode = "first"
|
||||
|
||||
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
|
||||
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
|
||||
clock_format = "%X"
|
||||
|
||||
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
|
||||
background_update = True
|
||||
background_update = true
|
||||
|
||||
#* Custom cpu model name, empty string to disable.
|
||||
custom_cpu_name = ""
|
||||
@@ -154,43 +166,43 @@ custom_cpu_name = ""
|
||||
disks_filter = ""
|
||||
|
||||
#* Show graphs instead of meters for memory values.
|
||||
mem_graphs = True
|
||||
mem_graphs = true
|
||||
|
||||
#* Show mem box below net box instead of above.
|
||||
mem_below_net = True
|
||||
mem_below_net = true
|
||||
|
||||
#* Count ZFS ARC in cached and available memory.
|
||||
zfs_arc_cached = True
|
||||
zfs_arc_cached = true
|
||||
|
||||
#* If swap memory should be shown in memory box.
|
||||
show_swap = True
|
||||
show_swap = true
|
||||
|
||||
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
|
||||
swap_disk = True
|
||||
swap_disk = true
|
||||
|
||||
#* If mem box should be split to also show disks info.
|
||||
show_disks = True
|
||||
show_disks = true
|
||||
|
||||
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
|
||||
only_physical = True
|
||||
only_physical = true
|
||||
|
||||
#* Read disks list from /etc/fstab. This also disables only_physical.
|
||||
use_fstab = True
|
||||
use_fstab = true
|
||||
|
||||
#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
|
||||
zfs_hide_datasets = False
|
||||
zfs_hide_datasets = false
|
||||
|
||||
#* Set to true to show available disk space for privileged users.
|
||||
disk_free_priv = False
|
||||
disk_free_priv = false
|
||||
|
||||
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
|
||||
show_io_stat = True
|
||||
show_io_stat = true
|
||||
|
||||
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
|
||||
io_mode = False
|
||||
io_mode = false
|
||||
|
||||
#* Set to True to show combined read/write io graphs in io mode.
|
||||
io_graph_combined = False
|
||||
io_graph_combined = false
|
||||
|
||||
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
|
||||
#* Example: "/mnt/media:100 /:20 /boot:1".
|
||||
@@ -202,10 +214,10 @@ net_download = 100
|
||||
net_upload = 100
|
||||
|
||||
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
|
||||
net_auto = True
|
||||
net_auto = true
|
||||
|
||||
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
|
||||
net_sync = True
|
||||
net_sync = true
|
||||
|
||||
#* Starts with the Network Interface specified here.
|
||||
net_iface = ""
|
||||
@@ -214,26 +226,32 @@ net_iface = ""
|
||||
base_10_bitrate = "Auto"
|
||||
|
||||
#* Show battery stats in top right if battery is present.
|
||||
show_battery = True
|
||||
show_battery = true
|
||||
|
||||
#* Which battery to use if multiple are present. "Auto" for auto detection.
|
||||
selected_battery = "Auto"
|
||||
|
||||
#* Show power stats of battery next to charge indicator.
|
||||
show_battery_watts = True
|
||||
show_battery_watts = true
|
||||
|
||||
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
||||
#* Set loglevel for "~/.local/state/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
||||
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
||||
log_level = "WARNING"
|
||||
|
||||
#* Automatically save current settings to config file on exit.
|
||||
save_config_on_exit = true
|
||||
|
||||
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
|
||||
nvml_measure_pcie_speeds = True
|
||||
nvml_measure_pcie_speeds = true
|
||||
|
||||
#* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
|
||||
rsmi_measure_pcie_speeds = True
|
||||
rsmi_measure_pcie_speeds = true
|
||||
|
||||
#* Horizontally mirror the GPU graph.
|
||||
gpu_mirror_graph = True
|
||||
gpu_mirror_graph = true
|
||||
|
||||
#* Set which GPU vendors to show. Available values are "nvidia amd intel"
|
||||
shown_gpus = "nvidia amd intel"
|
||||
|
||||
#* Custom gpu0 model name, empty string to disable.
|
||||
custom_gpu_name0 = ""
|
||||
|
||||
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
|
||||
|
||||
: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
|
||||
fold ; (nigh) universal code folding
|
||||
(format +onsave) ; automated prettiness
|
||||
@@ -70,7 +71,8 @@
|
||||
(dired +dirvish + icons) ; making dired pretty [functional]
|
||||
electric ; smarter, keyword-based electric-indent
|
||||
eww ; the internet is gross
|
||||
;;ibuffer ; interactive buffer management
|
||||
|
||||
(ibuffer +icons) ; interactive buffer management
|
||||
undo ; persistent, smarter undo for your inevitable mistakes
|
||||
vc ; version-control and Emacs, sitting in a tree
|
||||
|
||||
@@ -109,7 +111,7 @@
|
||||
|
||||
:os
|
||||
(:if (featurep :system 'macos) macos) ; improve compatibility with macOS
|
||||
;;tty ; improve the terminal Emacs experience
|
||||
tty ; improve the terminal Emacs experience
|
||||
|
||||
:lang
|
||||
;;agda ; types of types of types of types...
|
||||
@@ -148,7 +150,9 @@
|
||||
;;lean ; for folks with too much to prove
|
||||
ledger ; be audit you can be
|
||||
lua ; one-based indices? one-based indices
|
||||
markdown ; writing docs for people to ignore
|
||||
(markdown ; writing docs for people to ignore
|
||||
+grip
|
||||
+tree-sitter)
|
||||
;;nim ; python + lisp at the speed of c
|
||||
(nix ; I hereby declare "nix geht mehr!"
|
||||
+lsp
|
||||
@@ -179,7 +183,9 @@
|
||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;scala ; java, but good
|
||||
;;(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
|
||||
;;solidity ; do you need a blockchain? No.
|
||||
;;swift ; who asked for emoji variables?
|
||||
|
||||
@@ -52,6 +52,9 @@
|
||||
;; Open-With behavior
|
||||
(package! openwith)
|
||||
|
||||
;; Org-Superstart-mode
|
||||
;; (package! org-superstar)
|
||||
|
||||
;; Drag-stuff with alt-jk
|
||||
(package! drag-stuff)
|
||||
|
||||
@@ -100,27 +103,43 @@
|
||||
(package! peg)
|
||||
(package! citeproc)
|
||||
|
||||
;; For lifeOS
|
||||
(package! json-rpc)
|
||||
|
||||
;; (package! emigo :recipe
|
||||
;; (:host github
|
||||
;; :repo "MatthewZMD/emigo" :files (:defaults "*.py" "*.el")
|
||||
;; )
|
||||
;; )
|
||||
;; (package! image-roll :recipe
|
||||
;; (:host github
|
||||
;; :repo "dalanicolai/image-roll.el"))
|
||||
;;
|
||||
(package! image-roll :recipe
|
||||
(: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! ultra-scroll
|
||||
:recipe (:host github :repo "jdtsmith/ultra-scroll" :protocol ssh))
|
||||
|
||||
(package! passage
|
||||
:recipe (:host github :repo "anticomputer/passage.el" :protocol ssh))
|
||||
|
||||
(package! krl-mode
|
||||
:recipe (:host nil
|
||||
:repo "ssh://code.lazyworkhorse.net:2222/gortium/krl-mode.git"
|
||||
:files ("*.el")))
|
||||
;; Server is down, deactivated for now
|
||||
;; (package! krl-mode
|
||||
;; :recipe (:host nil
|
||||
;; :repo "ssh://code.lazyworkhorse.net:2222/gortium/krl-mode.git"
|
||||
;; :files ("*.el")))
|
||||
|
||||
(package! auto-highlight-symbol)
|
||||
|
||||
@@ -128,6 +147,8 @@
|
||||
|
||||
(package! all-the-icons)
|
||||
|
||||
(package! magit-gptcommit)
|
||||
|
||||
;; To install a package directly from a remote git repo, you must specify a
|
||||
;; ``:recipe' accepts here:
|
||||
;; https://github.com/radian-software/straight.el#the-recipe-format
|
||||
|
||||
55
hypr/.config/hypr/hosts/laptop.conf
Normal file
55
hypr/.config/hypr/hosts/laptop.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
# Laptop (Ingenuity/Valkyrie) — NVIDIA + external monitors
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
$LAPTOP=eDP-1
|
||||
$EXTERNAL_L1=DP-4
|
||||
$EXTERNAL_R1=DP-5
|
||||
$EXTERNAL_L2=DP-6
|
||||
$EXTERNAL_R2=DP-7
|
||||
|
||||
monitor=$LAPTOP, 1920x1080, 0x0, 1
|
||||
monitor=DP-3, 1920x1080, 1920x0, 1
|
||||
|
||||
monitor=$EXTERNAL_L1, 1920x1080, 0x-1080, 1, transform, 0
|
||||
monitor=$EXTERNAL_L2, 1920x1080,0x-1080,1,transform,0
|
||||
monitor=$EXTERNAL_R1, 1920x1080, 1920x-1480, 1, transform, 1
|
||||
monitor=$EXTERNAL_R2, 1920x1080,1920x-1480,1,transform,1
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
env = WLR_NO_HARDWARE_CURSOR,1
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = WLR_RENDERER_ALLOW_SOFTWARE,1
|
||||
|
||||
####################
|
||||
### WORKSPACES ###
|
||||
####################
|
||||
|
||||
workspace = 1, name:short-1, monitor:DP-4
|
||||
workspace = 2, name:short-2, monitor:DP-4
|
||||
workspace = 3, name:long-1, monitor:DP-5
|
||||
workspace = 4, name:long-2, monitor:DP-5
|
||||
workspace = 5, name:smoll, monitor:eDP-1
|
||||
workspace = special:tools, layout:dwindle, gapsin:0
|
||||
|
||||
### WALLPAPER ###
|
||||
|
||||
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
|
||||
|
||||
####################
|
||||
### MODIFIER ###
|
||||
####################
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
46
hypr/.config/hypr/hosts/uconsole.conf
Normal file
46
hypr/.config/hypr/hosts/uconsole.conf
Normal file
@@ -0,0 +1,46 @@
|
||||
# uConsole CM5 — DSI display
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
monitor=DSI-2, 720x1280, 0x0, 1, transform, 3
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
env = WLR_NO_HARDWARE_CURSOR,1
|
||||
|
||||
####################
|
||||
### KEYBOARD ###
|
||||
####################
|
||||
|
||||
# The key with the house icon (between Fn and left Alt) IS Super_L.
|
||||
# On uConsole: that bottom-row key left of spacebar = SUPER.
|
||||
# If it doesn't work, use ALT instead:
|
||||
# $mainMod = ALT (affects ALL binds below)
|
||||
#
|
||||
# Additional ALT bindings for convenience (work alongside SUPER):
|
||||
# Note: SUPER+KEY and ALT+KEY both trigger the same action
|
||||
|
||||
####################
|
||||
### WORKSPACES ###
|
||||
####################
|
||||
|
||||
workspace = 1, name:short-1, monitor:DSI-2
|
||||
workspace = 2, name:short-2, monitor:DSI-2
|
||||
workspace = 3, name:long-1, monitor:DSI-2
|
||||
|
||||
####################
|
||||
### AUTOSTART ###
|
||||
####################
|
||||
|
||||
exec-once = swww img ~/.config/wallpapers/green_yellow_forest.jpg --outputs DSI-2
|
||||
|
||||
####################
|
||||
### MODIFIER ###
|
||||
####################
|
||||
|
||||
$mainMod = CTRL ALT
|
||||
|
||||
262
hypr/.config/hypr/hyprland.conf
Normal file → Executable file
262
hypr/.config/hypr/hyprland.conf
Normal file → Executable file
@@ -1,48 +1,16 @@
|
||||
# This is an example Hyprland config file.
|
||||
# Refer to the wiki for more information.
|
||||
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
||||
# Common Hyprland configuration — shared across all hosts
|
||||
# Host-specific settings (monitors, env, workspaces) in host/monitors.conf
|
||||
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
|
||||
# You can split this configuration into multiple files
|
||||
# Create your files separately and then link them to this file like this:
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
source = ~/.cache/wal/colors-hyprland.conf
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
# Useful command:
|
||||
# hyprctl monitors all
|
||||
## Valkyrie setup
|
||||
# monitor=eDP-1,highres,auto,2 #3200x1800,0x0,2
|
||||
# monitor=HDMI-A-2,2560x1600,auto,1 #1600x0,1 #x-370,1,transform,1
|
||||
## Ingenuity setup
|
||||
monitor=eDP-1,1920x1080,0x0,1
|
||||
monitor=DP-3,1920x1080,1920x0,1 # HDMI screen
|
||||
# Horizontal setup
|
||||
#monitor=DP-4,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-7,1920x1080,960x-1080,1 # Right screen
|
||||
# Vertical setup
|
||||
monitor=DP-4,1920x1080,0x-1080,1,transform,0 # Left screen
|
||||
monitor=DP-6,1920x1080,0x-1080,1,transform,0 # Left screen
|
||||
monitor=DP-5,1920x1080,1920x-1480,1,transform,1 # Right screen
|
||||
monitor=DP-7,1920x1080,1920x-1480,1,transform,1 # Right screen
|
||||
source = mocha.conf
|
||||
# source = ~/.cache/wal/colors-hyprland.conf (disabled — no pywal on uConsole)
|
||||
source = hosts/monitors.conf
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = emacsclient -c -a emacs --eval '(dirvish "$HOME")'
|
||||
$editor = emacsclient -c -a emacs
|
||||
$menu = wofi --show drun
|
||||
$zen = zen-browser
|
||||
$music = kitty ncspot
|
||||
@@ -52,11 +20,6 @@ $monitoring = kitty btop
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
# exec-once = $terminal
|
||||
# exec-once = nm-applet &
|
||||
exec = hyprshade auto
|
||||
exec-once = udiskie
|
||||
exec-once = waybar
|
||||
@@ -64,133 +27,81 @@ exec-once = swww-daemon
|
||||
exec-once = swaync
|
||||
exec-once = hypridle
|
||||
exec-once = hyprlock
|
||||
exec-once = /usr/bin/emacs --daemon
|
||||
exec-once = emacs --daemon
|
||||
exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
env = WLR_NO_HARDWARE_CURSOR,1
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = WLR_RENDERER_ALLOW_SOFTWARE,1
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
#####################
|
||||
|
||||
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 4.5
|
||||
gaps_out = 9
|
||||
|
||||
gaps_in = 7.5
|
||||
gaps_out = 15
|
||||
border_size = 2
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = $color1 $color1 $color2 45deg
|
||||
col.inactive_border = $background
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 4
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 0.9
|
||||
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
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 2, myBezier
|
||||
animation = windowsOut, 1, 2, default, popin 80%
|
||||
animation = border, 1, 2, default
|
||||
animation = borderangle, 1, 2, default
|
||||
animation = fade, 1, 2, default
|
||||
animation = workspaces, 1, 2, default
|
||||
animation = specialWorkspace, 1, 2, myBezier, slidefadevert -10%
|
||||
animation = windows, 1, 1.6, myBezier
|
||||
animation = windowsOut, 1, 1.6, default, popin 80%
|
||||
animation = border, 1, 1.6, default
|
||||
animation = borderangle, 1, 1.6, default
|
||||
animation = fade, 1, 1.6, default
|
||||
animation = workspaces, 1, 1.6, default
|
||||
animation = specialWorkspace, 1, 1.6, myBezier, slidefadevert -10%
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
preserve_split = true
|
||||
force_split = 2
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = master
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||
misc {
|
||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||
force_default_wallpaper = 0
|
||||
disable_hyprland_logo = true
|
||||
}
|
||||
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = us,ca #,halmak
|
||||
kb_layout = us,ca
|
||||
kb_options = grp:win_space_toggle, ctrl:nocaps
|
||||
# kb_variant =
|
||||
# kb_model =
|
||||
# kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0.5 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
sensitivity = 0.5
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
disable_while_typing = true
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
# workspace_swipe = false
|
||||
}
|
||||
gestures {}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
@@ -200,68 +111,54 @@ device {
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
$mainMod = CTRL ALT
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, T, exec, $terminal
|
||||
bind = $mainMod, D, killactive,
|
||||
bind = $mainMod SHIFT, Q, exit,
|
||||
bind = $mainMod, U, exec, ~/ExoKortex/2-Areas/IT/config/scripts/make_all.sh
|
||||
bind = $mainMod, U, exec, ~/ExoKortex/4-Automata/dotfiles/scripts/make_all.sh
|
||||
bind = $mainMod, M, exec, $monitoring
|
||||
bind = $mainMod, W, exec, $fileManager
|
||||
bind = $mainMod, E, exec, $editor
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, Z, exec, $zen
|
||||
#bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, P, togglesplit, # dwindle
|
||||
bind = $mainMod, P, pseudo,
|
||||
bind = $mainMod, N, movecurrentworkspacetomonitor, -1
|
||||
bind = $mainMod SHIFT, N, movecurrentworkspacetomonitor, +1
|
||||
bind = $mainMod, X, swapwindow
|
||||
bind = $mainMod, B, exec, nerd-dictation begin
|
||||
bind = $mainMod, G, exec, nerd-dictation end
|
||||
bind = $mainMod, B, exec, python /home/tpouplier/ExoKortex/4-Automata/recordntrans/record_transcribe.py
|
||||
bind = $mainMod, A, exec, $music
|
||||
#
|
||||
# Full screen
|
||||
bind = SUPER, F, fullscreen
|
||||
bind = $mainMod, C, exec, emacsclient -n -c -e '(gortium/hermes-vterm)'
|
||||
|
||||
# Screenshot
|
||||
bind = SUPER, F, fullscreen
|
||||
bind = , PRINT, exec, hyprshot -m output
|
||||
bind = $mainMod, PRINT, exec, hyprshot -m window
|
||||
bind = shift, PRINT, exec, hyprshot -m region
|
||||
|
||||
# hyprlock
|
||||
bind = $mainMod, o, exec, hyprlock
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, j, movefocus, d
|
||||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, l, movefocus, r
|
||||
|
||||
# Forward and reverse cycle (to focus floating)
|
||||
bind = $mainMod, Tab, cyclenext
|
||||
bind = $mainMod SHIFT, Tab, cyclenext, prev
|
||||
|
||||
# Resize windows
|
||||
bind = $mainMod CTRL, l, resizeactive, 20 0
|
||||
bind = $mainMod CTRL, h, resizeactive, -20 0
|
||||
bind = $mainMod CTRL, k, resizeactive, 0 -20
|
||||
bind = $mainMod CTRL, j, resizeactive, 0 20
|
||||
|
||||
# Swap window position
|
||||
bind = $mainMod SHIFT, h, swapwindow, l
|
||||
bind = $mainMod SHIFT, j, swapwindow, d
|
||||
bind = $mainMod SHIFT, k, swapwindow, u
|
||||
bind = $mainMod SHIFT, l, swapwindow, r
|
||||
|
||||
# Move floating window
|
||||
bind = $mainMod SHIFT, l, moveactive, 100 0
|
||||
bind = $mainMod SHIFT, h, moveactive, -100 0
|
||||
bind = $mainMod SHIFT, k, moveactive, 0 -100
|
||||
bind = $mainMod SHIFT, j, moveactive, 0 100
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
@@ -273,7 +170,6 @@ bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
@@ -285,19 +181,15 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
bind = $mainMod, S, togglespecialworkspace, tools
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:tools
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
@@ -305,57 +197,69 @@ bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Emacs-everywhere
|
||||
bind = $mainMod, E, exec, emacsclient --eval '(thanos/type)'
|
||||
windowrulev2 = float,title:^(emacs-float)$
|
||||
|
||||
# Play/Pause
|
||||
# bind = $mainMod, P, exec, playerctl play-pause
|
||||
|
||||
# Next Track
|
||||
# bind = $mainmod SHIFT, L, exec, playerctl next
|
||||
|
||||
# Previous Track
|
||||
# bind = $mainmod SHIFT, H, exec, playerctl previous
|
||||
|
||||
# Volume Up (player volume)
|
||||
# bind = $mainmod , U, exec, playerctl volume 0.05+
|
||||
|
||||
# Volume Down (player volume)
|
||||
# bind = $mainmod, D, exec, playerctl volume 0.05-
|
||||
|
||||
# Stop Playback
|
||||
# bind = $mainmod, S, exec, playerctl stop
|
||||
bind = $mainMod, W, exec, emacsclient --eval '(thanos/type)'
|
||||
windowrule {
|
||||
name = float-emacs
|
||||
match:title = ^emacs-float$
|
||||
float = true
|
||||
}
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||
windowrule {
|
||||
name = suppress-maximize-events
|
||||
match:class = .*
|
||||
suppress_event = maximize
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
windowrule {
|
||||
name = nofocus-xwayland-float
|
||||
match:class = ^$
|
||||
match:title = ^$
|
||||
match:xwayland = true
|
||||
match:float = true
|
||||
match:fullscreen = false
|
||||
match:pin = false
|
||||
no_focus = true
|
||||
}
|
||||
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# Dashboard windows for special workspace
|
||||
windowrule {
|
||||
name = dashboard-btop
|
||||
match:class = ^(btop)$
|
||||
tile = true
|
||||
workspace = special:tools
|
||||
}
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrulev2 = suppressevent maximize, class:.*
|
||||
windowrule {
|
||||
name = dashboard-ncspot
|
||||
match:class = ^(ncspot)$
|
||||
tile = true
|
||||
workspace = special:tools
|
||||
}
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
windowrule {
|
||||
name = dashboard-ncpamixer
|
||||
match:class = ^(ncpamixer)$
|
||||
tile = true
|
||||
workspace = special:tools
|
||||
}
|
||||
|
||||
workspace = 1, name:short-1, monitor:DP-4 # Left screen
|
||||
workspace = 2, name:short-2, monitor:DP-4 # Left screen
|
||||
workspace = 3, name:long-1, monitor:DP-5 # Right screen
|
||||
workspace = 4, name:long-2, monitor:DP-5 # Right screen
|
||||
workspace = 5, name:smoll, monitor:eDP-1 # Laptop screen
|
||||
#workspace = 4, name:windows, monitor:DP-4, on-created-empty:VBoxManage startvm "Windows 11"
|
||||
#workspace = special:scratchpad, on-created-empty:kitty
|
||||
windowrule {
|
||||
name = dashboard-bluetuith
|
||||
match:class = ^(bluetuith)$
|
||||
tile = true
|
||||
workspace = special:tools
|
||||
}
|
||||
|
||||
bind = $mainMod, grave, exec, kitty --class btop btop
|
||||
bind = $mainMod, grave, exec, kitty --class ncspot ncspot
|
||||
bind = $mainMod, grave, exec, kitty --class ncpamixer ncpamixer
|
||||
bind = $mainMod, grave, exec, kitty --class bluetuith bluetuith
|
||||
|
||||
8
hypr/.config/hypr/mocha.conf
Normal file → Executable file
8
hypr/.config/hypr/mocha.conf
Normal file → Executable file
@@ -76,3 +76,11 @@ $mantleAlpha = 181825
|
||||
|
||||
$crust = rgb(11111b)
|
||||
$crustAlpha = 11111b
|
||||
|
||||
# Fallback colors for when pywal hasn't generated colors-hyprland.conf
|
||||
# (sourced by hyprland.conf — $color1/$color2 for active border gradients,
|
||||
# $background for inactive border and general bg usage)
|
||||
$color1 = rgb(cba6f7)
|
||||
$color2 = rgb(f5c2e7)
|
||||
$color3 = rgb(89b4fa)
|
||||
$background = rgb(1e1e2e)
|
||||
|
||||
8
local/.local/share/applications/qet-xephyr.desktop
Normal file
8
local/.local/share/applications/qet-xephyr.desktop
Normal file
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Name=QET (Xephyr)
|
||||
Comment=QElectroTech in nested X server for Wayland compatibility
|
||||
Exec=/home/tpouplier/ExoKortex/4-Automata/dotfiles/scripts/qet-xephyr.sh
|
||||
Icon=qelectrotech
|
||||
Type=Application
|
||||
Categories=Graphics;Engineering;
|
||||
Terminal=false
|
||||
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
|
||||
cd ~/ExoKortex/2-Areas/IT/config
|
||||
cd ~/ExoKortex/4-Automata/dotfiles/
|
||||
make all
|
||||
if [ $? -eq 0 ]; then
|
||||
notify-send "Dotfiles" "Configuration reloaded successfully!"
|
||||
|
||||
21
scripts/qet-xephyr.sh
Executable file
21
scripts/qet-xephyr.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Launch QElectroTech in a nested Xephyr X server with Openbox
|
||||
# Works around Wayland drag-and-drop issue in QET
|
||||
|
||||
XEPHYR_PID=""
|
||||
|
||||
cleanup() {
|
||||
kill $XEPHYR_PID 2>/dev/null
|
||||
exit 0
|
||||
}
|
||||
trap cleanup SIGINT SIGTERM
|
||||
|
||||
Xephyr -screen 1920x1080 :1 -title QET -br &
|
||||
XEPHYR_PID=$!
|
||||
|
||||
sleep 1
|
||||
DISPLAY=:1 openbox &
|
||||
sleep 0.5
|
||||
DISPLAY=:1 qelectrotech &
|
||||
|
||||
wait $XEPHYR_PID
|
||||
@@ -33,7 +33,7 @@ if systemctl --user is-active --quiet rclone_ftp_mount.service; then
|
||||
echo "Rclone service is already running."
|
||||
else
|
||||
echo "Starting the rclone service."
|
||||
systemctl start rclone_ftp_mount.service || { echo "Failed to start the service"; exit 1; }
|
||||
systemctl --user start rclone_ftp_mount.service || { echo "Failed to start the service"; exit 1; }
|
||||
fi
|
||||
|
||||
echo "Post-installation steps for rclone completed successfully."
|
||||
|
||||
16
scripts/scrot-ocr.sh
Executable file
16
scripts/scrot-ocr.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
scrot-ocr: Select screen region → OCR → clipboard
|
||||
Deps: grim, slurp, tesseract, wl-clipboard, libnotify
|
||||
set -euo pipefail
|
||||
|
||||
LANG="${1:-eng}"
|
||||
IMG="/tmp/scrot-ocr-$(date +%s).png"
|
||||
|
||||
grim -g "$(slurp -d)" "$IMG"
|
||||
TEXT=$(tesseract "$IMG" stdout -l "$LANG" 2>/dev/null | sed '/^[[:space:]]*$/d')
|
||||
|
||||
echo -n "$TEXT" | wl-copy --paste-once
|
||||
echo "$TEXT"
|
||||
|
||||
notify-send "scrot-ocr" "$(echo "$TEXT" | wc -l) lines copied to clipboard" -t 3000
|
||||
rm -f "$IMG"
|
||||
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-----
|
||||
9
secrets/perso-mail.age
Normal file
9
secrets/perso-mail.age
Normal file
@@ -0,0 +1,9 @@
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IEdoTUQ4QSBSTnZa
|
||||
REtrM2FwSngxY2FRWkdsWWNUU0JETW81eWYwUE9Ndy9TT096UFRnClRzbTJnWEhG
|
||||
WlAvVlhicjA0Um45TFZNL3VQaDBSMHNaWG1TOEthN1RrVlkKLT4gUXFLVUQ9Xnwt
|
||||
Z3JlYXNlIDIiIDdnPmZfQCBEClVpYVcxSEMvbnp0VFptdWtENmdQZUtYK05uUVFO
|
||||
ZWRtCi0tLSBIcGNFcXVKOWhjS3lGZUdNaDd3N2dMN21KT2JhUzIrWHc0UHFOcFlq
|
||||
TWRzClWaMFgCPM9T0pLoh/HyXVwAALd3fPUKll/VFjHa4eJIGjGa36g5lxU7BxTa
|
||||
39fa8FNrSHU=
|
||||
-----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 |
@@ -4,11 +4,11 @@
|
||||
|
||||
// general settings
|
||||
"position": "top",
|
||||
"margin-top": 8,
|
||||
"margin-top": 15,
|
||||
"margin-bottom": 0,
|
||||
"layer": "top",
|
||||
"margin-left": 8,
|
||||
"margin-right": 8,
|
||||
"margin-left": 15,
|
||||
"margin-right": 15,
|
||||
"spacing": 10,
|
||||
"fixed-center": true,
|
||||
"exclusive": true,
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pwvucontrol"
|
||||
"on-click": "kitty ncpamixer"
|
||||
},
|
||||
|
||||
// bluetooth
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
|
||||
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
|
||||
"$schema" = "https://yazi-rs.github.io/schemas/yazi.json"
|
||||
|
||||
[mgr]
|
||||
ratio = [ 1, 4, 3 ]
|
||||
@@ -87,68 +86,6 @@ image_alloc = 536870912 # 512MB
|
||||
image_bound = [ 0, 0 ]
|
||||
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]
|
||||
cursor_blink = false
|
||||
|
||||
|
||||
66
zsh/.zshrc
66
zsh/.zshrc
@@ -1,21 +1,61 @@
|
||||
# NO FUCKING 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
|
||||
cat ~/.cache/wal/sequences
|
||||
clear
|
||||
fi
|
||||
|
||||
# hledger
|
||||
# Hledger
|
||||
export LEDGER_FILE=~/ExoKortex/2-Areas/Finances/finance_vault/tpouplier.hledger
|
||||
|
||||
# emacs client
|
||||
# Emacs client
|
||||
alias emacs="emacsclient -c -a emacs"
|
||||
|
||||
# Opencode
|
||||
alias oc="opencode"
|
||||
|
||||
# Hermes Agent - SSH directly to remote server
|
||||
hermes() {
|
||||
if [[ -n "$1" ]]; then
|
||||
ssh -t lazyworkhorse \
|
||||
"docker exec -e HERMES_HONCHO_PEER_NAME=$1 -it hermes \
|
||||
/opt/hermes/.venv/bin/hermes --profile $1"
|
||||
else
|
||||
ssh -t lazyworkhorse \
|
||||
"docker exec -e HERMES_HONCHO_PEER_NAME=thierry -it hermes \
|
||||
/opt/hermes/.venv/bin/hermes"
|
||||
fi
|
||||
}
|
||||
|
||||
hermes-cp() {
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: hermes-cp <file_or_directory> [...]"
|
||||
echo ""
|
||||
echo "Copies files/directories from your Arch laptop into the Hermes"
|
||||
echo "agent container at /opt/data/home/ preserving directory structure."
|
||||
echo ""
|
||||
echo "Examples:"
|
||||
echo " hermes-cp document.pdf # single file"
|
||||
echo " hermes-cp *.pdf # multiple files (glob)"
|
||||
echo " hermes-cp manuals/ # whole directory"
|
||||
echo " hermes-cp manuals/ keyence-docs/ # multiple items"
|
||||
echo ""
|
||||
echo "To copy to a different destination inside the container:"
|
||||
echo " tar -czf - . | ssh gortium@lazyworkhorse \\"
|
||||
echo " \"docker exec -i hermes sh -c 'cd /opt/data/projects && tar -xzf -'\""
|
||||
return 1
|
||||
fi
|
||||
# tar everything into a single SSH pipe, extract inside container
|
||||
# Supports: single files, directories, glob patterns, mixed args
|
||||
tar -czf - "$@" | ssh gortium@lazyworkhorse \
|
||||
"docker exec -i hermes sh -c 'cd /opt/data/home && tar -xzf -'"
|
||||
}
|
||||
|
||||
# Yazi
|
||||
alias y="yazi"
|
||||
function yy() {
|
||||
@@ -27,7 +67,7 @@ function yy() {
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
# nvim
|
||||
# Nvim
|
||||
export LANG=en_CA.UTF-8
|
||||
export LC_ALL=en_CA.UTF-8
|
||||
export EDITOR="nvim"
|
||||
@@ -39,7 +79,7 @@ source <(fzf --zsh)
|
||||
autoload -Uz compinit && compinit
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
||||
|
||||
# bat
|
||||
# Bat
|
||||
alias cat=bat
|
||||
|
||||
# aichat
|
||||
@@ -48,7 +88,8 @@ alias aido="aichat -e"
|
||||
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)
|
||||
}
|
||||
# tmux
|
||||
|
||||
# Tmux
|
||||
alias t='tmux attach || tmux new'
|
||||
|
||||
# Docker
|
||||
@@ -58,7 +99,7 @@ alias dpa="docker ps -a"
|
||||
alias dl="docker ps -l -q"
|
||||
alias dx="docker exec -it"
|
||||
|
||||
# cd
|
||||
# Cd
|
||||
alias ..="cd .."
|
||||
alias ...="cd ../.."
|
||||
alias ....="cd ../../.."
|
||||
@@ -83,7 +124,7 @@ alias gr='git remote'
|
||||
alias gre='git reset'
|
||||
alias gcl='git clone'
|
||||
|
||||
# lazygit
|
||||
# Lazygit
|
||||
alias lg="lazygit"
|
||||
|
||||
# NVIM
|
||||
@@ -94,7 +135,7 @@ alias l="eza -l --icons --git -a"
|
||||
alias lt="eza --tree --level=2 --icons --git"
|
||||
alias ltree="eza --tree --level=2 --long --icons --git"
|
||||
|
||||
# navigation
|
||||
# Navigation
|
||||
function cx() { cd "$@" && l; }
|
||||
function fcd() { cd "$(find . -type d -not -path '' | fzf)" && l; }
|
||||
#function f() { echo "$(find . -type f -not -path '*/.*' | fzf)" | pbcopy }
|
||||
@@ -112,12 +153,15 @@ eval "$(starship init zsh)"
|
||||
# Zoxide
|
||||
eval "$(zoxide init zsh)"
|
||||
|
||||
# hyprshot
|
||||
# Hyprshot
|
||||
export HYPRSHOT_DIR="Images"
|
||||
|
||||
# direnv
|
||||
# Direnv
|
||||
# eval "$(direnv hook zsh)"
|
||||
|
||||
# Atuin
|
||||
#eval "$(atuin init zsh)"
|
||||
|
||||
|
||||
# Created by `pipx` on 2026-03-03 16:51:31
|
||||
export PATH="$PATH:/home/tpouplier/.local/bin"
|
||||
|
||||
Reference in New Issue
Block a user