Skip to content

Commit

Permalink
lazy bump
Browse files Browse the repository at this point in the history
Signed-off-by: Egor Kovetskiy <[email protected]>
  • Loading branch information
kovetskiy committed Mar 10, 2023
1 parent 4444a40 commit 687ae21
Show file tree
Hide file tree
Showing 31 changed files with 148 additions and 229 deletions.
1 change: 0 additions & 1 deletion .Xresources
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ URxvt.perl-ext-common: clipboard,default,rotate-colors

URxvt.keysym.C-Mod4-a: perl:rotate-colors:next
URxvt.keysym.Mod4-c: perl:clipboard:copy
URxvt.keysym.Mod4-v: perl:clipboard:paste
URxvt.clipboard.copycmd: clipboard-copy
URxvt.clipboard.pastecmd: xsel --output --clipboard

Expand Down
30 changes: 17 additions & 13 deletions .config/coc/extensions/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
{
"dependencies": {
"coc-css": ">=1.2.4",
"coc-eslint": ">=1.4.5",
"coc-git": ">=2.4.3",
"coc-go": ">=0.13.3",
"coc-highlight": ">=1.2.8",
"coc-java": ">=1.5.4",
"coc-css": ">=1.3.0",
"coc-eslint": ">=1.5.8",
"coc-git": ">=2.5.1",
"coc-go": ">=1.3.0",
"coc-java": ">=1.5.5",
"coc-java-lombok": ">=1.0.0",
"coc-json": ">=1.3.6",
"coc-pairs": ">=1.3.0",
"coc-prettier": ">=1.1.24",
"coc-pyright": ">=1.1.172",
"coc-json": ">=1.6.1",
"coc-pairs": ">=1.3.2",
"coc-pyright": ">=1.1.266",
"coc-python": ">=1.2.12",
"coc-sql": ">=0.8.1",
"coc-tslint-plugin": ">=1.2.0",
"coc-tsserver": ">=1.8.6",
"coc-xml": ">=1.14.1",
"coc-yaml": ">=1.4.2"
}
}
"coc-yaml": ">=1.8.0",
"coc-zig": ">=0.6.1",
"coc-clangd": ">=0.28.0",
"coc-prettier": ">=9.3.1"
},
"disabled": [],
"locked": [],
"lastUpdate": 1674640397797
}
1 change: 1 addition & 0 deletions .config/i3/config.base
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ bindcode 173 exec playerctl previous

for_window [title="tudu"] floating enable
for_window [class="zoom"] floating enable
for_window [class="kuake"] floating enable
for_window [title="^zoom"] floating enable
for_window [title="^Zoom"] floating enable
for_window [title="Emulator"] floating enable
Expand Down
8 changes: 4 additions & 4 deletions .config/i3/config.desktop
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
set $left DP-4
set $center DP-0
set $right DP-2
set $left DP-0
set $center DP-2
set $right DP-4

workspace 1 output $center
workspace 2 output $center
workspace 3 output $center
workspace 4 output $center
workspace s output $center

workspace w output $left
workspace a output $left
workspace z output $left
workspace d output $left

workspace q output $right
workspace w output $right
workspace e output $right
8 changes: 2 additions & 6 deletions .config/sxhkd/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ super + control + 9
super + control + 0
;pa-switch-profile -i webcam active output:hdmi-stereo output:analog-stereo

alt + control + d
;infobar

super + control + e
translator

Expand All @@ -89,7 +86,7 @@ super + 7
secrets_repository=~/.secrets carcosa-qr

super + grave
;kuake-bottom
tdrop -a -m -w 50% -x 25% -y 60% -h 40% alacritty --class kuake -e tmux

super + backslash
quickaction
Expand All @@ -98,7 +95,7 @@ super + BackSpace
chrome-todoist

super + equal
;kuake --terminal --class top --top --middle --height 30 --width 50
tdrop -a -m -w 50% -x 25% -h 40% alacritty --class kuake -e tmux

control + F3
wg-toggle
Expand All @@ -121,7 +118,6 @@ F9
Print
screen-lock -suspend


super + 0
i3-msg 'gaps horizontal current toggle 400'

Expand Down
8 changes: 0 additions & 8 deletions .mailcap

This file was deleted.

33 changes: 0 additions & 33 deletions .mutt/theme_dark

This file was deleted.

48 changes: 0 additions & 48 deletions .mutt/theme_light

This file was deleted.

61 changes: 0 additions & 61 deletions .muttrc

This file was deleted.

3 changes: 1 addition & 2 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -g window-status-current-format "window-status-current-format"
set -g window-status-format "window-status-format"
#set -g force-height 1
set -g escape-time 0
set -g history-limit 10000
set -g history-limit 2000
set -g set-titles on

set-option -g automatic-rename on
Expand Down Expand Up @@ -53,4 +53,3 @@ set -g default-terminal screen-256color
bind-key -Tcopy-mode-vi q send-keys -X begin-selection

set -g destroy-unattached off

3 changes: 3 additions & 0 deletions .xbindkeysrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@

"xsecurelock"
Mod3 + g

"infobar"
Control_R
5 changes: 0 additions & 5 deletions .yaourtrc

This file was deleted.

35 changes: 29 additions & 6 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ docompinit() {
ZSH_AUTOSUGGEST_STRATEGY=("history")
zgen load zsh-users/zsh-autosuggestions && _zsh_autosuggest_start

export NVM_LAZY_LOAD=true
zgen load lukechilds/zsh-nvm

hash-aliases:install
autopair-init
}
Expand Down Expand Up @@ -814,11 +817,20 @@ docompinit() {
fi
}

:git:get-master() {
if git rev-parse master >&-; then
echo "master"
else
echo "main"
fi
}

:git:master() {
master=$(:git:get-master)
git fetch && \
git checkout origin/master && \
git branch -D master && \
git checkout -b master
git checkout origin/$master && \
git branch -D $master && \
git checkout -b $master

if [[ "$1" ]]; then
git checkout -b "$1"
Expand Down Expand Up @@ -1500,7 +1512,7 @@ alias gnt='git init'
alias gdh='git diff HEAD'
alias psx='ps fuxa | grep'
alias grp='git remote update'
alias gra='git remote add origin '
alias gra='git remote add '
alias gro='git remote show'
alias gru='git remote get-url origin'
alias grg='git remote show origin -n'
Expand Down Expand Up @@ -1547,7 +1559,18 @@ alias jxfg='sudo journalctl -xef | grep '
alias wh='() { while :; do eval "${@}"; sleep 0.5; done }'

:helm-context() {
helm --kube-context "${@}"
local context="$1"
shift

local match=$(kubectl config get-contexts --no-headers -o name | grep -P "${context}")
if [[ ! "$match" ]]; then
echo "no context found for ${context}" >&2
return 1
fi

echo "[helm-context] helm --kube-context ${match} ${@}" >&2

helm --kube-context "$match" "${@}"
}
alias he=':helm-context'

Expand Down Expand Up @@ -1642,4 +1665,4 @@ fi

setopt share_history

source /usr/share/nvm/init-nvm.sh
#source /usr/share/nvm/init-nvm.sh
10 changes: 5 additions & 5 deletions bin/autoxrandr
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ exclusive="$1"

profile=$(cat ~/.config/profile)
if [[ "$profile" == "desktop" ]]; then
CENTER=DP-0
LEFT=DP-4
RIGHT=DP-2
CENTER=DP-2
LEFT=DP-0
RIGHT=DP-4
TV=HDMI-0

cmd=()

if has $CENTER; then
cmd+=(--output $CENTER --mode 2560x1440 --rate 144 --pos 1440x1120)
cmd+=(--output $CENTER --mode 2560x1440 --rate 144 --pos 1440x1120 --rotate normal)
fi

if has $RIGHT; then
cmd+=(--output $RIGHT --mode 2560x1440 --rotate right --right-of $CENTER --pos 4000x0)
cmd+=(--output $RIGHT --mode 2560x1440 --rotate normal --right-of $CENTER --pos 4000x0)
fi

if has $LEFT; then
Expand Down
2 changes: 1 addition & 1 deletion bin/brb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

text="${1:-lunch}"
exec discord-status idle "brb $text" "🍕"
exec discord-status idle "brb $text" "🥩"
Loading

0 comments on commit 687ae21

Please sign in to comment.