This commit is contained in:
2025-11-28 14:47:00 +02:00
parent 8b150916ff
commit 874dec7503
13 changed files with 51 additions and 28 deletions
+11 -12
View File
@@ -1,20 +1,21 @@
set -gx XDG_CONFIG_HOME ~/.config set -gx XDG_CONFIG_HOME ~/.config
set -gx XDG_CACHE_HOME ~/.cache set -gx XDG_CACHE_HOME ~/.cache
set -gx XDG_STATE_HOME ~/.local/state set -gx XDG_STATE_HOME ~/.local/state
set -gx XDG_DATA_HOME ~/.local/share set -gx XDG_DATA_HOME ~/.local/share
set -gx XDG_MUSIC_DIR ~/music set -gx XDG_MUSIC_DIR ~/music
set -gx XDG_VIDEOS_DIR ~/vid set -gx XDG_VIDEOS_DIR ~/vid
set -gx XDG_PICTURES_DIR ~/pic set -gx XDG_PICTURES_DIR ~/pic
set -gx XDG_DOCUMENTS_DIR ~/doc set -gx XDG_DOCUMENTS_DIR ~/doc
set -gx XDG_DESKTOP_DIR /tmp set -gx XDG_DESKTOP_DIR /tmp
set -gx XDG_DOWNLOAD_DIR /tmp set -gx XDG_DOWNLOAD_DIR /tmp
# set -gx XDG_TEMPLATES_DIR "$HOME/" # set -gx XDG_TEMPLATES_DIR "$HOME/"
# set -gx XDG_PUBLICSHARE_DIR "$HOME/" # set -gx XDG_PUBLICSHARE_DIR "$HOME/"
set -gx GOPATH $XDG_DATA_HOME/go # GOOUT my home set -gx GOPATH $XDG_DATA_HOME/go # GOOUT my home
set -gx CARGO_HOME $XDG_DATA_HOME/cargo set -gx CARGO_HOME $XDG_DATA_HOME/cargo
set -gx CLIPPY_CONF_DIR $XDG_DATA_HOME/cargo/
# Can't use '~' in universal variables # Can't use '~' in universal variables
set -gx fish_user_paths ~/.local/bin $CARGO_HOME/bin set -gx fish_user_paths ~/.local/bin $CARGO_HOME/bin
@@ -29,7 +30,6 @@ set -gx BROWSER librewolf # for fish documentation mainly
set -gx SCREENSHOT_DIR $XDG_PICTURES_DIR/screen set -gx SCREENSHOT_DIR $XDG_PICTURES_DIR/screen
set -gx SCREENRECORD_DIR $XDG_VIDEOS_DIR/screen set -gx SCREENRECORD_DIR $XDG_VIDEOS_DIR/screen
# Find an editor # Find an editor
for e in helix nvim vim vi nano for e in helix nvim vim vi nano
type -q $e; or continue type -q $e; or continue
@@ -38,7 +38,6 @@ for e in helix nvim vim vi nano
end end
type -q nvim; and set -gx MANPAGER nvim +Man! type -q nvim; and set -gx MANPAGER nvim +Man!
test -S ~/.bitwarden-ssh-agent.sock test -S ~/.bitwarden-ssh-agent.sock
and set -gx SSH_AUTH_SOCK ~/.bitwarden-ssh-agent.sock and set -gx SSH_AUTH_SOCK ~/.bitwarden-ssh-agent.sock
+2 -1
View File
@@ -1 +1,2 @@
zoxide init fish | source command -q zoxide; and command zoxide init fish | source
command -q direnv; and command direnv hook fish | source
+1 -1
View File
@@ -5,7 +5,7 @@ function remux --wraps=ffmpeg --description 'remux to mp4'
if string match -qr '^(https?://|youtu\.?be|[a-zA-Z0-9]{11}$)' $argv[1] if string match -qr '^(https?://|youtu\.?be|[a-zA-Z0-9]{11}$)' $argv[1]
set argv[1] (yt-dlp -q --force-overwrites --print after_move:filepath \ set argv[1] (yt-dlp -q --force-overwrites --print after_move:filepath \
-f 'bestvideo[height<=?1080][vcodec!=?av01]+bestaudio/best' \ -f 'bestvideo[height<=?1080][vcodec!=?av01]+bestaudio/best' \
-o "/tmp/remux/download.%(ext)s" $argv[1]) -o '/tmp/remux/download.%(ext)s' $argv[1])
or return or return
end end
+12 -2
View File
@@ -1,3 +1,13 @@
function tree if command -q eza
command tree -C --dirsfirst $argv function tree --wraps='eza'
command eza -T --group-directories-last $argv
end
else if command -q tree
function tree
command tree -C --filesfirst $argv
end
else
function tree
ls -l --group-directories-first
end
end end
+2 -2
View File
@@ -111,7 +111,7 @@ A-b = "move_parent_node_start"
";" = ["collapse_selection", "normal_mode"] ";" = ["collapse_selection", "normal_mode"]
# a = ["collapse_selection", "append_mode"] # a = ["collapse_selection", "append_mode"]
x = "extend_line" X = "extend_line_up"
V = ["extend_to_line_bounds", "trim_selections"] V = ["extend_to_line_bounds", "trim_selections"]
D = ["ensure_selections_forward", "extend_to_line_end"] D = ["ensure_selections_forward", "extend_to_line_end"]
@@ -139,7 +139,7 @@ C-l = "jump_view_right"
"A-=" = "format_selections" "A-=" = "format_selections"
# a = ["collapse_selection", "append_mode"] # a = ["collapse_selection", "append_mode"]
x = "extend_line" X = "extend_line_up"
V = ["extend_to_line_bounds", "trim_selections"] V = ["extend_to_line_bounds", "trim_selections"]
D = ["ensure_selections_forward", "extend_to_line_end"] D = ["ensure_selections_forward", "extend_to_line_end"]
+3
View File
@@ -2,6 +2,9 @@
name = "lua" name = "lua"
auto-format = false auto-format = false
[[language]]
name = "tsx"
auto-format = true
[[language]] [[language]]
name = "markdown" name = "markdown"
+3 -3
View File
@@ -8,7 +8,7 @@ hide_userland_threads=1
hide_running_in_container=1 hide_running_in_container=1
shadow_other_users=0 shadow_other_users=0
show_thread_names=0 show_thread_names=0
show_program_path=1 show_program_path=0
highlight_base_name=1 highlight_base_name=1
highlight_deleted_exe=1 highlight_deleted_exe=1
shadow_distribution_path_prefix=1 shadow_distribution_path_prefix=1
@@ -40,14 +40,14 @@ column_meter_modes_0=1 1
column_meters_1=DateTime Uptime LoadAverage Tasks Battery DiskIO NetworkIO Memory Swap column_meters_1=DateTime Uptime LoadAverage Tasks Battery DiskIO NetworkIO Memory Swap
column_meter_modes_1=2 2 2 2 2 2 2 1 1 column_meter_modes_1=2 2 2 2 2 2 2 1 1
tree_view=0 tree_view=0
sort_key=47 sort_key=46
tree_sort_key=0 tree_sort_key=0
sort_direction=-1 sort_direction=-1
tree_sort_direction=-1 tree_sort_direction=-1
tree_view_always_by_pid=0 tree_view_always_by_pid=0
all_branches_collapsed=0 all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_SHARE M_RESIDENT STATE NLWP PROCESSOR PERCENT_CPU PERCENT_MEM TIME Command screen:Main=PID USER PRIORITY NICE M_VIRT M_SHARE M_RESIDENT STATE NLWP PROCESSOR PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_MEM .sort_key=PERCENT_CPU
.tree_sort_key=PID .tree_sort_key=PID
.tree_view_always_by_pid=0 .tree_view_always_by_pid=0
.tree_view=0 .tree_view=0
+2 -2
View File
@@ -115,9 +115,9 @@ bind = SHIFT, Print, exec, grim -o $(hyprctl activeworkspace | grep -Po '(?<=\d\
bind = SHIFT CTRL, Print, exec, sleep 3; grim -o $(hyprctl monitors | grep -Po '(?<=Monitor ).*?(?= \(ID \d*\):)') -t png -l 6 - | wl-copy -t image/png bind = SHIFT CTRL, Print, exec, sleep 3; grim -o $(hyprctl monitors | grep -Po '(?<=Monitor ).*?(?= \(ID \d*\):)') -t png -l 6 - | wl-copy -t image/png
# instant region saved # instant region saved
# bind = $mod, Print, exec, grim -g "$($slurp_cmd 00ff00 && sleep 0.1)" -t png -l 6 - | tee $SCREENSHOT_DIR/$(date +'%-d.%m.%y-%H:%M:%S').png | wl-copy -t image/png bind = $mod, Print, exec, grim -g "$($slurp_cmd 00ff00 && sleep 0.1)" -t png -l 6 - | tee $SCREENSHOT_DIR/$(date +'%-d.%m.%y-%H:%M:%S').png | wl-copy -t image/png
# instant fullscreen saved # instant fullscreen saved
bind = $mod, Print, exec, grim -o $(hyprctl activeworkspace | grep -Po '(?<=\d\) on monitor ).*?(?=:)') -t png -l 6 - | tee $SCREENSHOT_DIR/$(date +'%-d.%m.%y-%H:%M:%S').png | wl-copy -t image/png # bind = $mod, Print, exec, grim -o $(hyprctl activeworkspace | grep -Po '(?<=\d\) on monitor ).*?(?=:)') -t png -l 6 - | tee $SCREENSHOT_DIR/$(date +'%-d.%m.%y-%H:%M:%S').png | wl-copy -t image/png
#TODO learn sed to screenshot active window #TODO learn sed to screenshot active window
# bind = ALT, Print, exec, hyprpicker -rz &!; slurp; grim -g "$($slurp_cmd ffffff && sleep 0.1)" -t png -l 6 - | wl-copy -t image/png; kill $! # bind = ALT, Print, exec, hyprpicker -rz &!; slurp; grim -g "$($slurp_cmd ffffff && sleep 0.1)" -t png -l 6 - | wl-copy -t image/png; kill $!
+2 -2
View File
@@ -1,4 +1,4 @@
ipc = off # battery! ipc = off # battery!
splash = false splash = false
preload = ~/.walls/wall3 preload = ~/.walls/wall4
wallpaper =, ~/.walls/wall3 wallpaper =, ~/.walls/wall4
+2 -3
View File
@@ -2,9 +2,7 @@
"name": "main", "name": "main",
"layer": "top", "layer": "top",
"position": "bottom", "position": "bottom",
// "output": [ // "output": [ "DP-6" ],
// "DP-6"
// ],
"height": 24, "height": 24,
//"width": 1280, //"width": 1280,
"modules-left": [ "modules-left": [
@@ -39,6 +37,7 @@
"ipc": false, "ipc": false,
//"include": ["~/.config/waybar/modules.jsonc"] //"include": ["~/.config/waybar/modules.jsonc"]
"hyprland/workspaces": { "hyprland/workspaces": {
// "all-outputs": true,
"all-outputs": false, "all-outputs": false,
"show-special": true, "show-special": true,
"format": "{icon}", "format": "{icon}",
+2
View File
@@ -14,6 +14,8 @@
!/.local/share/cargo/ !/.local/share/cargo/
/.local/share/cargo/* /.local/share/cargo/*
!/.local/share/cargo/config.toml !/.local/share/cargo/config.toml
!/.local/share/cargo/binstall.toml
# !/.local/share/cargo/clippy.toml
!/.config/ !/.config/
/.config/* /.config/*
+8
View File
@@ -0,0 +1,8 @@
confirm = true
track_installs = true
continue_on_failure = false
strategies = []
[telemetry]
enabled = false
consent_asked = true
+1
View File
@@ -0,0 +1 @@