Compare commits
No commits in common. "26aff394c0bf61e16826ead2071714a8685a1e6e" and "2e01fe55144f159add6f5e578b1b886639de4bd4" have entirely different histories.
26aff394c0
...
2e01fe5514
11 changed files with 17 additions and 74 deletions
18
.bin/.e
18
.bin/.e
|
@ -4,6 +4,7 @@ declare -A mapper=(
|
||||||
[".e"]="$HOME/.bin/.e"
|
[".e"]="$HOME/.bin/.e"
|
||||||
[".t"]="$HOME/.bin/.t"
|
[".t"]="$HOME/.bin/.t"
|
||||||
["alacritty"]="$HOME/.config/alacritty/alacritty.toml"
|
["alacritty"]="$HOME/.config/alacritty/alacritty.toml"
|
||||||
|
["astronvim"]="$HOME/.config/astronvim/lua/user/init.lua"
|
||||||
["autoinstall.toml"]="$HOME/.config/autoinstall.toml"
|
["autoinstall.toml"]="$HOME/.config/autoinstall.toml"
|
||||||
["autostart.toml"]="$HOME/.config/autostart.toml"
|
["autostart.toml"]="$HOME/.config/autostart.toml"
|
||||||
["bash"]="$HOME/.bashrc"
|
["bash"]="$HOME/.bashrc"
|
||||||
|
@ -26,20 +27,10 @@ declare -A mapper=(
|
||||||
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg##template"
|
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg##template"
|
||||||
["waybar"]="$HOME/.config/waybar/"
|
["waybar"]="$HOME/.config/waybar/"
|
||||||
["xprofile"]="$HOME/.xprofile"
|
["xprofile"]="$HOME/.xprofile"
|
||||||
["yadm"]="$HOME/.local/share/yadm/repo.git/config"
|
|
||||||
["yadm-encrypt"]="$HOME/.config/yadm/encrypt"
|
["yadm-encrypt"]="$HOME/.config/yadm/encrypt"
|
||||||
["zsh"]="$HOME/.config/zsh/.zshrc"
|
["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" ]
|
if [ -z "$1" ]
|
||||||
then
|
then
|
||||||
echo "No argument given. Use --list (-l) to show all options."
|
echo "No argument given. Use --list (-l) to show all options."
|
||||||
|
@ -59,10 +50,3 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$EDITOR "$target"
|
$EDITOR "$target"
|
||||||
|
|
||||||
hook="${hooks["$1"]}"
|
|
||||||
if [ -n "$hook" ]
|
|
||||||
then
|
|
||||||
echo "Running hook: $hook"
|
|
||||||
eval "$hook"
|
|
||||||
fi
|
|
||||||
|
|
|
@ -16,9 +16,8 @@ alias bspwm-single='echo "single" > /tmp/bspwm_mode; bspc wm -r'
|
||||||
alias clip='xclip -selection clipboard'
|
alias clip='xclip -selection clipboard'
|
||||||
alias cp='cp -iv'
|
alias cp='cp -iv'
|
||||||
|
|
||||||
alias dcu='docker compose up -d --force-recreate'
|
alias dcu='docker compose up -d'
|
||||||
alias dclf='docker compose logs -tf'
|
alias dcul='docker compose up -d --force-recreate && docker compose logs -tf'
|
||||||
alias dcul='dcu && dclf'
|
|
||||||
alias dcp='docker compose pull'
|
alias dcp='docker compose pull'
|
||||||
alias df='df -h'
|
alias df='df -h'
|
||||||
alias dns-flush='sudo systemctl restart systemd-resolved.service && sudo systemd-resolve --flush-caches && sudo resolvectl flush-caches'
|
alias dns-flush='sudo systemctl restart systemd-resolved.service && sudo systemd-resolve --flush-caches && sudo resolvectl flush-caches'
|
||||||
|
|
|
@ -118,19 +118,6 @@ target = "jetbrains-toolbox"
|
||||||
pipe = "tar xzO"
|
pipe = "tar xzO"
|
||||||
group = "graphical"
|
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]]
|
[[autoinstall]]
|
||||||
|
|
|
@ -29,3 +29,13 @@ _dott_completions()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
complete -F _dott_completions ".t"
|
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 AUTOSTART_DISPLAY=''
|
||||||
|
|
||||||
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME/bash-completion"
|
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME"
|
||||||
export BEMENU_OPTS="--tb '#6272a4'\
|
export BEMENU_OPTS="--tb '#6272a4'\
|
||||||
--tf '#f8f8f2'\
|
--tf '#f8f8f2'\
|
||||||
--fb '#282a36'\
|
--fb '#282a36'\
|
||||||
|
@ -22,10 +22,7 @@ export BEMENU_OPTS="--tb '#6272a4'\
|
||||||
--sf '#50fa7b'\
|
--sf '#50fa7b'\
|
||||||
--scb '#282a36'\
|
--scb '#282a36'\
|
||||||
--scf '#ff79c6'\
|
--scf '#ff79c6'\
|
||||||
--list 25\
|
--list 25 --ignorecase -P '>' -p ''"
|
||||||
--ignorecase\
|
|
||||||
--no-overlap\
|
|
||||||
-P '>' -p ''"
|
|
||||||
|
|
||||||
export DMENU="bemenu"
|
export DMENU="bemenu"
|
||||||
export DOCKER_BUILDKIT=1
|
export DOCKER_BUILDKIT=1
|
||||||
|
|
|
@ -5,11 +5,8 @@
|
||||||
# File stuff
|
# File stuff
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.bak
|
*.bak
|
||||||
|
|
||||||
*.git_hidden
|
*.git_hidden
|
||||||
*.git_hidden.*
|
*.git_hidden.*
|
||||||
*.git-hidden
|
|
||||||
*.git-hidden.*
|
|
||||||
|
|
||||||
# Vim Stuff
|
# Vim Stuff
|
||||||
*.swp
|
*.swp
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
tokei # project-language statistics
|
tokei # project-language statistics
|
||||||
trash-cli # trash utils
|
trash-cli # trash utils
|
||||||
unzip # unzip
|
unzip # unzip
|
||||||
vim # vim
|
vimHugeX # vim with clipboard support
|
||||||
xdg-user-dirs # tool manage user directories
|
xdg-user-dirs # tool manage user directories
|
||||||
yadm # dotfile manager
|
yadm # dotfile manager
|
||||||
yq # tool for YAML
|
yq # tool for YAML
|
||||||
|
|
|
@ -15,7 +15,3 @@ workspace=$ws10, monitor:$mon2
|
||||||
|
|
||||||
monitor = $mon1,2560x1440@144,1920x0,auto
|
monitor = $mon1,2560x1440@144,1920x0,auto
|
||||||
monitor = $mon2,1920x1080@60,0x0,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
|
|
|
@ -1,20 +0,0 @@
|
||||||
$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
|
|
|
@ -28,6 +28,7 @@ def init(c):
|
||||||
|
|
||||||
c.qt.workarounds.remove_service_workers = True
|
c.qt.workarounds.remove_service_workers = True
|
||||||
|
|
||||||
|
c.url.default_page = 'dashboard.serguzim.me'
|
||||||
c.url.searchengines = {
|
c.url.searchengines = {
|
||||||
'DEFAULT': 'https://duckduckgo.com/?q={}',
|
'DEFAULT': 'https://duckduckgo.com/?q={}',
|
||||||
'ddg': 'https://duckduckgo.com/?q={}',
|
'ddg': 'https://duckduckgo.com/?q={}',
|
||||||
|
|
|
@ -65,14 +65,6 @@ ZSH_CUSTOM=$ZDOTDIR/custom
|
||||||
export plugin_path="$ZSH_CUSTOM/plugins"
|
export plugin_path="$ZSH_CUSTOM/plugins"
|
||||||
autoinstall run oh-my-zsh
|
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?
|
# Which plugins would you like to load?
|
||||||
# Standard plugins can be found in $ZSH/plugins/
|
# Standard plugins can be found in $ZSH/plugins/
|
||||||
|
|
Loading…
Reference in a new issue