my dotfiles for arch
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

loads

+422 -2
+1 -1
private_dot_config/ghostty/config
··· 2 2 theme = matugen 3 3 4 4 font-family = "FantasqueSansM Nerd Font" 5 - font-size = 14 5 + font-size = 18 6 6 7 7 8 8 # SHADERS
+1
private_dot_config/hypr/config/keybinds.conf
··· 19 19 bindd = $mainMod, Y, Pin current window (shows on all workspaces),pin 20 20 bindd = $mainMod, J, Toggles curren window split mode, togglesplit, # dwindle 21 21 bindd = $mainMod, M, Media output select, exec, ~/scripts/rofi_media_output.sh 22 + bind = SUPER_SHIFT, R, exec, hyprctl reload 22 23 23 24 24 25
+22
private_dot_config/hypr/config/windowrules.conf
··· 70 70 windowrulev2 = pseudo,class:^(com.mitchellh.ghostty)$,workspace:-98 71 71 windowrulev2 = size 1600 1200,class:^(com.mitchellh.ghostty)$,workspace:-98 72 72 73 + 74 + 75 + # For games that need exclusive focus 76 + # windowrulev2 = immediate, class:^(steam_app_).*$ 77 + # windowrulev2 = immediate, class:^(gamescope)$ 78 + # windowrulev2 = immediate, title:^(.*)(Game|game)(.*)$ 79 + # 80 + # # Prevent games from losing focus 81 + # windowrulev2 = noinitialfocus, class:^(steam_app_).*$ 82 + # 83 + # 84 + # input { 85 + # # Ensure devices don't get "stolen" by games 86 + # follow_mouse = 1 87 + # force_no_accel = false 88 + # 89 + # # For controllers specifically 90 + # tablet { 91 + # transform = 0 92 + # } 93 + # } 94 + #
+1 -1
private_dot_config/matugen/config.toml
··· 5 5 6 6 [config.wallpaper] 7 7 command = "swaybg" 8 - arguments = ["-i"] 8 + arguments = ["-m", "fill", "-i"] 9 9 set = true 10 10 11 11
private_dot_config/private_fish/completions/.keep

This is a binary file and will not be displayed.

+26
private_dot_config/private_fish/conf.d/plugin-fzf.fish
··· 1 + # Plugin fzf 2 + set -l plugin_dir /nix/store/72ir6g2b07ad0ydx6zg5gg6zxil6zysr-source 3 + 4 + # Set paths to import plugin components 5 + if test -d $plugin_dir/functions 6 + set fish_function_path $fish_function_path[1] $plugin_dir/functions $fish_function_path[2..-1] 7 + end 8 + 9 + if test -d $plugin_dir/completions 10 + set fish_complete_path $fish_complete_path[1] $plugin_dir/completions $fish_complete_path[2..-1] 11 + end 12 + 13 + # Source initialization code if it exists. 14 + if test -d $plugin_dir/conf.d 15 + for f in $plugin_dir/conf.d/*.fish 16 + source $f 17 + end 18 + end 19 + 20 + if test -f $plugin_dir/key_bindings.fish 21 + source $plugin_dir/key_bindings.fish 22 + end 23 + 24 + if test -f $plugin_dir/init.fish 25 + source $plugin_dir/init.fish 26 + end
+26
private_dot_config/private_fish/conf.d/plugin-z.fish
··· 1 + # Plugin z 2 + set -l plugin_dir /nix/store/8hn5ikk3inzalkidr3r9np29bmm0qvxm-source 3 + 4 + # Set paths to import plugin components 5 + if test -d $plugin_dir/functions 6 + set fish_function_path $fish_function_path[1] $plugin_dir/functions $fish_function_path[2..-1] 7 + end 8 + 9 + if test -d $plugin_dir/completions 10 + set fish_complete_path $fish_complete_path[1] $plugin_dir/completions $fish_complete_path[2..-1] 11 + end 12 + 13 + # Source initialization code if it exists. 14 + if test -d $plugin_dir/conf.d 15 + for f in $plugin_dir/conf.d/*.fish 16 + source $f 17 + end 18 + end 19 + 20 + if test -f $plugin_dir/key_bindings.fish 21 + source $plugin_dir/key_bindings.fish 22 + end 23 + 24 + if test -f $plugin_dir/init.fish 25 + source $plugin_dir/init.fish 26 + end
+131
private_dot_config/private_fish/config.fish
··· 1 + # Only execute this file once per shell. 2 + set -q __fish_home_manager_config_sourced; and exit 3 + set -g __fish_home_manager_config_sourced 1 4 + 5 + source /nix/store/pyfj0gysbagb9g8w4q98fl0hf603ygfa-hm-session-vars.fish 6 + 7 + 8 + 9 + 10 + status is-login; and begin 11 + 12 + # Login shell initialisation 13 + 14 + 15 + end 16 + 17 + status is-interactive; and begin 18 + 19 + # Abbreviations 20 + 21 + 22 + # Aliases 23 + alias che chezmoi 24 + alias gb 'git branch' 25 + alias gca 'git commit --amend' 26 + alias gchd 'git checkout develop' 27 + alias gchm 'git checkout main' 28 + alias gcho 'git checkout' 29 + alias gcnv 'git commit --no-verify' 30 + alias gd 'git diff' 31 + alias gdc 'git diff --cached' 32 + alias gdt 'git diff-tree --no-commit-id --name-only -r' 33 + alias gf 'git fetch' 34 + alias gl 'git pull' 35 + alias gm 'git merge' 36 + alias gp 'git push' 37 + alias gpuoh 'git push --set-upstream origin HEAD' 38 + alias gr 'git remote' 39 + alias gra 'git remote add' 40 + alias grr 'git remote remove' 41 + alias grv 'git remote -v' 42 + alias gs 'git status' 43 + alias ngoose 'nix-shell -p uv --run '\''goose session'\''' 44 + alias nv nvim 45 + alias yay paru 46 + 47 + # Interactive shell initialisation 48 + fish_config theme choose rose-pine-moon 49 + set fish_greeting # Disable greeting 50 + export NIX_LD=$(nix eval --impure --raw --expr 'let pkgs = import <nixpkgs> {}; NIX_LD = pkgs.lib.fileContents "/nix/store/mzfk1sdv6bxvdh9slvddpj734ck99idi-gcc-wrapper-13.3.0/nix-support/dynamic-linker"; in NIX_LD ') 51 + test -f ~/.config/myvars; and source ~/.config/myvars 52 + test -f /run/current-system/sw/share/autojump/autojump.fish; and source /run/current-system/sw/share/autojump/autojump.fish 53 + test -f /home/thomasgl/.nix-profile/share/autojump/autojump.fish; and source /home/thomasgl/.nix-profile/share/autojump/autojump.fish 54 + test -f ~/.env; and source ~/.env 55 + 56 + 57 + nerdfetch 58 + 59 + if test "$TERM" != dumb 60 + eval (/home/thomasgl/.nix-profile/bin/starship init fish) 61 + 62 + end 63 + 64 + # add completions generated by Home Manager to $fish_complete_path 65 + begin 66 + set -l joined (string join " " $fish_complete_path) 67 + set -l prev_joined (string replace --regex "[^\s]*generated_completions.*" "" $joined) 68 + set -l post_joined (string replace $prev_joined "" $joined) 69 + set -l prev (string split " " (string trim $prev_joined)) 70 + set -l post (string split " " (string trim $post_joined)) 71 + set fish_complete_path $prev "/home/thomasgl/.local/share/fish/home-manager_generated_completions" $post 72 + end 73 + 74 + 75 + end 76 + 77 + # pnpm 78 + set -gx PNPM_HOME "/home/thomasgl/.local/share/pnpm" 79 + if not string match -q -- $PNPM_HOME $PATH 80 + set -gx PATH "$PNPM_HOME" $PATH 81 + end 82 + # pnpm end 83 + 84 + 85 + 86 + if not set -q SSH_AUTH_SOCK 87 + # Check if ssh-agent is already running and accessible 88 + set -l agent_pid (pgrep ssh-agent | head -n 1) 89 + 90 + if test -n "$agent_pid" 91 + # Try to find existing socket 92 + set -l sock_path (find /tmp -name "ssh-*" -type d 2>/dev/null | \ 93 + xargs -I {} find {} -name "agent.*" 2>/dev/null | head -n 1) 94 + 95 + if test -n "$sock_path" 96 + set -gx SSH_AUTH_SOCK "$sock_path" 97 + set -gx SSH_AGENT_PID "$agent_pid" 98 + 99 + # Test if agent is responsive 100 + if ssh-add -l >/dev/null 2>&1 101 + # echo "Connected to existing ssh-agent (PID: $agent_pid)" 102 + return 0 103 + else 104 + # Clean up stale variables 105 + set -e SSH_AUTH_SOCK SSH_AGENT_PID 106 + end 107 + end 108 + end 109 + 110 + # Start new ssh-agent 111 + # echo "Starting new ssh-agent..." 112 + set -l agent_output (ssh-agent -c) 113 + 114 + # Parse output and set variables 115 + for line in $agent_output 116 + if string match -qr '^setenv SSH_AUTH_SOCK' "$line" 117 + set -gx SSH_AUTH_SOCK (string replace -r '^setenv SSH_AUTH_SOCK (.+);$' '$1' "$line" | string trim -c '"') 118 + else if string match -qr '^setenv SSH_AGENT_PID' "$line" 119 + set -gx SSH_AGENT_PID (string replace -r '^setenv SSH_AGENT_PID (.+);$' '$1' "$line" | string trim -c '"') 120 + end 121 + end 122 + 123 + # Verify agent started successfully 124 + if test -z "$SSH_AUTH_SOCK" -o -z "$SSH_AGENT_PID" 125 + # echo "Error: Failed to start ssh-agent" >&2 126 + return 1 127 + end 128 + 129 + # echo "ssh-agent started (PID: $SSH_AGENT_PID)" 130 + end 131 +
+7
private_dot_config/private_fish/config.fish.backup
··· 1 + source /usr/share/cachyos-fish-config/cachyos-config.fish 2 + 3 + # overwrite greeting 4 + # potentially disabling fastfetch 5 + #function fish_greeting 6 + # # smth smth 7 + #end
+49
private_dot_config/private_fish/executable_script.sh
··· 1 + 2 + 3 + #!/bin/bash 4 + 5 + # Directory to process 6 + TARGET_DIR="/home/thomasgl/.config/fish-backup" # Make sure this is the correct, full path 7 + 8 + # Check if the directory exists 9 + if [ ! -d "$TARGET_DIR" ]; then 10 + echo "Error: Directory '$TARGET_DIR' not found." 11 + exit 1 12 + fi 13 + 14 + # Find symlinks and process them 15 + find "$TARGET_DIR" -type l -print0 | while IFS= read -r -d $'\0' SYMLINK; do 16 + echo "Processing symlink: $SYMLINK" 17 + 18 + # Get the target of the symlink 19 + TARGET=$(readlink "$SYMLINK") 20 + 21 + # Check if readlink was successful and the target exists 22 + if [ $? -eq 0 ] && [ -e "$TARGET" ]; then 23 + echo " Target: $TARGET" 24 + 25 + # *** Explicitly remove the symlink BEFORE copying *** 26 + echo " Removing symlink: $SYMLINK" 27 + rm "$SYMLINK" 28 + 29 + # Check if removal was successful 30 + if [ $? -eq 0 ]; then 31 + # Copy the target file to the location where the symlink was 32 + echo " Copying target to $SYMLINK" 33 + cp "$TARGET" "$SYMLINK" 34 + 35 + if [ $? -eq 0 ]; then 36 + echo " Replaced symlink with a copy of the target." 37 + else 38 + echo " Error: Failed to copy target to $SYMLINK." 39 + fi 40 + else 41 + echo " Error: Failed to remove symlink: $SYMLINK. Cannot proceed with copy." 42 + fi 43 + 44 + else 45 + echo " Warning: Could not resolve target for '$SYMLINK' or target does not exist." 46 + fi 47 + done 48 + 49 + echo "Processing complete."
+110
private_dot_config/private_fish/fish_variables
··· 1 + # This file contains fish universal variable definitions. 2 + # VERSION: 3.0 3 + SETUVAR FZF_DEFAULT_OPTS:\x2d\x2dheight\x2040\x25 4 + SETUVAR FZF_DISABLE_KEYBINDINGS:0 5 + SETUVAR FZF_LEGACY_KEYBINDINGS:1 6 + SETUVAR FZF_PREVIEW_DIR_CMD:ls 7 + SETUVAR FZF_PREVIEW_FILE_CMD:head\x20\x2dn\x2010 8 + SETUVAR FZF_TMUX_HEIGHT:40\x25 9 + SETUVAR ZO_CMD:zo 10 + SETUVAR Z_CMD:z 11 + SETUVAR Z_DATA:/home/thomasgl/\x2elocal/share/z/data 12 + SETUVAR Z_DATA_DIR:/home/thomasgl/\x2elocal/share/z 13 + SETUVAR Z_EXCLUDE:\x5e/home/thomasgl\x24 14 + SETUVAR __done_min_cmd_duration:10000 15 + SETUVAR __done_notification_urgency_level:low 16 + SETUVAR __fish_initialized:3800 17 + SETUVAR fish_color_autosuggestion:brblack 18 + SETUVAR fish_color_cancel:\x2dr 19 + SETUVAR fish_color_command:normal 20 + SETUVAR fish_color_comment:red 21 + SETUVAR fish_color_cwd:green 22 + SETUVAR fish_color_cwd_root:red 23 + SETUVAR fish_color_end:green 24 + SETUVAR fish_color_error:brred 25 + SETUVAR fish_color_escape:brcyan 26 + SETUVAR fish_color_history_current:\x2d\x2dbold 27 + SETUVAR fish_color_host:normal 28 + SETUVAR fish_color_host_remote:yellow 29 + SETUVAR fish_color_normal:normal 30 + SETUVAR fish_color_operator:brcyan 31 + SETUVAR fish_color_param:cyan 32 + SETUVAR fish_color_quote:yellow 33 + SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold 34 + SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack 35 + SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack 36 + SETUVAR fish_color_status:red 37 + SETUVAR fish_color_user:brgreen 38 + SETUVAR fish_color_valid_path:\x2d\x2dunderline 39 + SETUVAR fish_key_bindings:fish_vi_key_bindings 40 + SETUVAR fish_pager_color_completion:normal 41 + SETUVAR fish_pager_color_description:yellow\x1e\x2di 42 + SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline 43 + SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan 44 + SETUVAR fish_pager_color_selected_background:\x2dr 45 + SETUVAR pure_begin_prompt_with_current_directory:true 46 + SETUVAR pure_check_for_new_release:false 47 + SETUVAR pure_color_at_sign:pure_color_mute 48 + SETUVAR pure_color_aws_profile:pure_color_warning 49 + SETUVAR pure_color_command_duration:pure_color_warning 50 + SETUVAR pure_color_current_directory:pure_color_primary 51 + SETUVAR pure_color_danger:red 52 + SETUVAR pure_color_dark:black 53 + SETUVAR pure_color_git_branch:pure_color_mute 54 + SETUVAR pure_color_git_dirty:pure_color_mute 55 + SETUVAR pure_color_git_stash:pure_color_info 56 + SETUVAR pure_color_git_unpulled_commits:pure_color_info 57 + SETUVAR pure_color_git_unpushed_commits:pure_color_info 58 + SETUVAR pure_color_hostname:pure_color_mute 59 + SETUVAR pure_color_info:cyan 60 + SETUVAR pure_color_jobs:pure_color_normal 61 + SETUVAR pure_color_k8s_context:pure_color_success 62 + SETUVAR pure_color_k8s_namespace:pure_color_primary 63 + SETUVAR pure_color_k8s_prefix:pure_color_info 64 + SETUVAR pure_color_light:white 65 + SETUVAR pure_color_mute:brblack 66 + SETUVAR pure_color_nixdevshell_prefix:pure_color_info 67 + SETUVAR pure_color_nixdevshell_symbol:pure_color_mute 68 + SETUVAR pure_color_normal:normal 69 + SETUVAR pure_color_prefix_root_prompt:pure_color_danger 70 + SETUVAR pure_color_primary:blue 71 + SETUVAR pure_color_prompt_on_error:pure_color_danger 72 + SETUVAR pure_color_prompt_on_success:pure_color_success 73 + SETUVAR pure_color_success:magenta 74 + SETUVAR pure_color_system_time:pure_color_mute 75 + SETUVAR pure_color_username_normal:pure_color_mute 76 + SETUVAR pure_color_username_root:pure_color_light 77 + SETUVAR pure_color_virtualenv:pure_color_mute 78 + SETUVAR pure_color_warning:yellow 79 + SETUVAR pure_enable_aws_profile:true 80 + SETUVAR pure_enable_container_detection:true 81 + SETUVAR pure_enable_git:true 82 + SETUVAR pure_enable_k8s:false 83 + SETUVAR pure_enable_nixdevshell:false 84 + SETUVAR pure_enable_single_line_prompt:false 85 + SETUVAR pure_enable_virtualenv:true 86 + SETUVAR pure_reverse_prompt_symbol_in_vimode:true 87 + SETUVAR pure_separate_prompt_on_error:false 88 + SETUVAR pure_shorten_prompt_current_directory_length:0 89 + SETUVAR pure_shorten_window_title_current_directory_length:0 90 + SETUVAR pure_show_jobs:false 91 + SETUVAR pure_show_prefix_root_prompt:false 92 + SETUVAR pure_show_subsecond_command_duration:false 93 + SETUVAR pure_show_system_time:false 94 + SETUVAR pure_symbol_aws_profile_prefix: 95 + SETUVAR pure_symbol_container_prefix: 96 + SETUVAR pure_symbol_git_dirty:\x2a 97 + SETUVAR pure_symbol_git_stash:\u2261 98 + SETUVAR pure_symbol_git_unpulled_commits:\u21e3 99 + SETUVAR pure_symbol_git_unpushed_commits:\u21e1 100 + SETUVAR pure_symbol_k8s_prefix:\u2638 101 + SETUVAR pure_symbol_nixdevshell_prefix:\u2744\ufe0f 102 + SETUVAR pure_symbol_prefix_root_prompt:\x23 103 + SETUVAR pure_symbol_prompt:\u276f 104 + SETUVAR pure_symbol_reverse_prompt:\u276e 105 + SETUVAR pure_symbol_ssh_prefix: 106 + SETUVAR pure_symbol_title_bar_separator:\x2d 107 + SETUVAR pure_symbol_virtualenv_prefix: 108 + SETUVAR pure_threshold_command_duration:5 109 + SETUVAR pure_truncate_prompt_current_directory_keeps:\x2d1 110 + SETUVAR pure_truncate_window_title_current_directory_keeps:\x2d1
+30
private_dot_config/private_fish/functions/bw-create-note.fish
··· 1 + function bw-create-note 2 + function bw-create-note --argument-names content_or_name name 3 + if isatty stdin 4 + # Direct input mode 5 + set notes_content $content_or_name 6 + set note_name $name 7 + else 8 + # Pipe mode 9 + read -z notes_content 10 + set note_name $content_or_name 11 + end 12 + 13 + # If no name provided, use default 14 + if test -z "$note_name" 15 + set note_name secure-note 16 + end 17 + 18 + # If no content, show usage 19 + if test -z "$notes_content" 20 + echo "Usage: bw-create-note 'content' 'note name'" 21 + echo "Or: command | bw-create-note 'note name'" 22 + return 1 23 + end 24 + 25 + bw get template item | jq --arg folderId (bw list folders | jq -r '.[] | select(.name == "chezmoi") | .id') \ 26 + --arg notes "$notes_content" \ 27 + --arg name "$note_name" \ 28 + '.type = 2 | .secureNote.type = 0 | .notes=$notes | .name = $name | .folderId=$folderId' | bw encode | bw create item 29 + end 30 + end
+3
private_dot_config/private_fish/functions/bw-unlock.fish
··· 1 + function bw-unlock 2 + set -Ux BW_SESSION (bw unlock --raw || echo "Error unlocking BW") 3 + end
+4
private_dot_config/private_fish/functions/literal_modify_nix.fish
··· 1 + function modify_nix 2 + cd ~/nix/ 3 + nvim 4 + end
+3
private_dot_config/private_fish/functions/rebuild_nix.fish
··· 1 + function rebuild_nix 2 + nix run home-manager/release-24.11 -- switch --flake ~/nix#thomasgl 3 + end
+8
private_dot_config/private_fish/functions/y.fish
··· 1 + function y 2 + set tmp (mktemp -t "yazi-cwd.XXXXXX") 3 + yazi $argv --cwd-file="$tmp" 4 + if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ] 5 + builtin cd -- "$cwd" 6 + end 7 + rm -f -- "$tmp" 8 + end