Compare commits
4 commits
2e01fe5514
...
26aff394c0
Author | SHA1 | Date | |
---|---|---|---|
26aff394c0 | |||
8d2d9bf10c | |||
ab1a098efb | |||
9d6ccb11f3 |
11 changed files with 74 additions and 17 deletions
18
.bin/.e
18
.bin/.e
|
@ -4,7 +4,6 @@ declare -A mapper=(
|
|||
[".e"]="$HOME/.bin/.e"
|
||||
[".t"]="$HOME/.bin/.t"
|
||||
["alacritty"]="$HOME/.config/alacritty/alacritty.toml"
|
||||
["astronvim"]="$HOME/.config/astronvim/lua/user/init.lua"
|
||||
["autoinstall.toml"]="$HOME/.config/autoinstall.toml"
|
||||
["autostart.toml"]="$HOME/.config/autostart.toml"
|
||||
["bash"]="$HOME/.bashrc"
|
||||
|
@ -27,10 +26,20 @@ declare -A mapper=(
|
|||
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg##template"
|
||||
["waybar"]="$HOME/.config/waybar/"
|
||||
["xprofile"]="$HOME/.xprofile"
|
||||
["yadm"]="$HOME/.local/share/yadm/repo.git/config"
|
||||
["yadm-encrypt"]="$HOME/.config/yadm/encrypt"
|
||||
["zsh"]="$HOME/.config/zsh/.zshrc"
|
||||
)
|
||||
|
||||
declare -A hooks=(
|
||||
["nvim"]="nvim +PackerSync"
|
||||
["nvim.packer"]="nvim +PackerSync"
|
||||
["qutebrowser"]="qutebrowser :config-source"
|
||||
["qutebrowser-kiosk"]="qutebrowser-kiosk :config-source" # broken due to qutebrowser-kiosk being an alias
|
||||
["waybar"]="killall -SIGUSR2 waybar"
|
||||
["yadm"]="yadm alt"
|
||||
)
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "No argument given. Use --list (-l) to show all options."
|
||||
|
@ -50,3 +59,10 @@ then
|
|||
fi
|
||||
|
||||
$EDITOR "$target"
|
||||
|
||||
hook="${hooks["$1"]}"
|
||||
if [ -n "$hook" ]
|
||||
then
|
||||
echo "Running hook: $hook"
|
||||
eval "$hook"
|
||||
fi
|
||||
|
|
|
@ -16,8 +16,9 @@ alias bspwm-single='echo "single" > /tmp/bspwm_mode; bspc wm -r'
|
|||
alias clip='xclip -selection clipboard'
|
||||
alias cp='cp -iv'
|
||||
|
||||
alias dcu='docker compose up -d'
|
||||
alias dcul='docker compose up -d --force-recreate && docker compose logs -tf'
|
||||
alias dcu='docker compose up -d --force-recreate'
|
||||
alias dclf='docker compose logs -tf'
|
||||
alias dcul='dcu && dclf'
|
||||
alias dcp='docker compose pull'
|
||||
alias df='df -h'
|
||||
alias dns-flush='sudo systemctl restart systemd-resolved.service && sudo systemd-resolve --flush-caches && sudo resolvectl flush-caches'
|
||||
|
|
|
@ -118,6 +118,19 @@ target = "jetbrains-toolbox"
|
|||
pipe = "tar xzO"
|
||||
group = "graphical"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "exe"
|
||||
source = "https://git.serguzim.me/serguzim/teamspeak-query-lib/raw/branch/main/ts-control"
|
||||
target = "ts-control"
|
||||
group = "graphical"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "exe"
|
||||
source = "https://git.serguzim.me/serguzim/teamspeak-query-lib/actions/runs/latest/artifacts/teamspeak-query-lib"
|
||||
target = "teamspeak-query-lib"
|
||||
pipe = "zcat"
|
||||
group = "graphical"
|
||||
|
||||
|
||||
|
||||
[[autoinstall]]
|
||||
|
|
|
@ -29,13 +29,3 @@ _dott_completions()
|
|||
fi
|
||||
}
|
||||
complete -F _dott_completions ".t"
|
||||
|
||||
completions_dir="$XDG_CONFIG_HOME/completionsrc.d/"
|
||||
if [ -n "$(ls "$completions_dir" 2>/dev/null)" ]
|
||||
then
|
||||
for additional_completions in "$completions_dir"*
|
||||
do
|
||||
# shellcheck disable=1090
|
||||
. "$additional_completions"
|
||||
done
|
||||
fi
|
||||
|
|
|
@ -9,7 +9,7 @@ set +a
|
|||
|
||||
export AUTOSTART_DISPLAY=''
|
||||
|
||||
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME"
|
||||
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME/bash-completion"
|
||||
export BEMENU_OPTS="--tb '#6272a4'\
|
||||
--tf '#f8f8f2'\
|
||||
--fb '#282a36'\
|
||||
|
@ -22,7 +22,10 @@ export BEMENU_OPTS="--tb '#6272a4'\
|
|||
--sf '#50fa7b'\
|
||||
--scb '#282a36'\
|
||||
--scf '#ff79c6'\
|
||||
--list 25 --ignorecase -P '>' -p ''"
|
||||
--list 25\
|
||||
--ignorecase\
|
||||
--no-overlap\
|
||||
-P '>' -p ''"
|
||||
|
||||
export DMENU="bemenu"
|
||||
export DOCKER_BUILDKIT=1
|
||||
|
|
|
@ -5,8 +5,11 @@
|
|||
# File stuff
|
||||
.DS_Store
|
||||
*.bak
|
||||
|
||||
*.git_hidden
|
||||
*.git_hidden.*
|
||||
*.git-hidden
|
||||
*.git-hidden.*
|
||||
|
||||
# Vim Stuff
|
||||
*.swp
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
tokei # project-language statistics
|
||||
trash-cli # trash utils
|
||||
unzip # unzip
|
||||
vimHugeX # vim with clipboard support
|
||||
vim # vim
|
||||
xdg-user-dirs # tool manage user directories
|
||||
yadm # dotfile manager
|
||||
yq # tool for YAML
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
$mon1 = DP-1
|
||||
$mon2 = HDMI-A-1
|
||||
|
||||
workspace=$ws01, monitor:$mon1, default:true
|
||||
workspace=$ws02, monitor:$mon1
|
||||
workspace=$ws03, monitor:$mon1
|
||||
workspace=$ws04, monitor:$mon1
|
||||
workspace=$ws05, monitor:$mon1
|
||||
workspace=$ws06, monitor:$mon1
|
||||
workspace=$ws07, monitor:$mon1
|
||||
workspace=$ws08, monitor:$mon1
|
||||
workspace=$ws09, monitor:$mon1
|
||||
workspace=$ws10, monitor:$mon1
|
||||
|
||||
monitor = $mon1,2560x1440@144,0x0,auto
|
||||
monitor = $mon2,disable
|
||||
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws08 $mon1
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws09 $mon1
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws10 $mon1
|
|
@ -15,3 +15,7 @@ workspace=$ws10, monitor:$mon2
|
|||
|
||||
monitor = $mon1,2560x1440@144,1920x0,auto
|
||||
monitor = $mon2,1920x1080@60,0x0,auto
|
||||
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws08 $mon2
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws09 $mon2
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws10 $mon2
|
|
@ -28,7 +28,6 @@ def init(c):
|
|||
|
||||
c.qt.workarounds.remove_service_workers = True
|
||||
|
||||
c.url.default_page = 'dashboard.serguzim.me'
|
||||
c.url.searchengines = {
|
||||
'DEFAULT': 'https://duckduckgo.com/?q={}',
|
||||
'ddg': 'https://duckduckgo.com/?q={}',
|
||||
|
|
|
@ -65,6 +65,14 @@ ZSH_CUSTOM=$ZDOTDIR/custom
|
|||
export plugin_path="$ZSH_CUSTOM/plugins"
|
||||
autoinstall run oh-my-zsh
|
||||
|
||||
nix_completions="$HOME/.nix-profile/share/zsh/site-functions"
|
||||
if [ -d "$nix_completions" ]; then
|
||||
fpath=($nix_completions $fpath)
|
||||
fi
|
||||
fpath=(
|
||||
"$XDG_DATA_HOME/zsh/site-functions"
|
||||
$fpath
|
||||
)
|
||||
|
||||
# Which plugins would you like to load?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
|
|
Loading…
Reference in a new issue