Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
[submodule "fzf"]
path = fzf
url = https://github.com/junegunn/fzf.git
[submodule "meta/dotbot_plugins/aptget"]
path = meta/dotbot_plugins/aptget
url = https://github.com/dein0s/dotbot_plugin_aptget
[submodule "meta/dotbot_plugins/pip"]
path = meta/dotbot_plugins/pip
url = https://github.com/sobolevn/dotbot-pip
Expand Down
25 changes: 16 additions & 9 deletions config/aliasrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d"

# Uses non default software
alias \
cat="bat" \
diff="diff-so-fancy" \
find="fd" \
fzf="fzf --preview=\"bat {} --color=always\"" \

# Verbosity and settings that you pretty much just always are going to want.
Expand Down Expand Up @@ -54,7 +52,7 @@ alias \
y="yay" \
,gs="git status" \
,gc="git commit" \
,gch="git checkout" \
,gck="git checkout" \
,gcm="git commit -m" \
,gfa="git fetch --all" \
,gpl="git pull" \
Expand All @@ -64,7 +62,7 @@ alias \
,gd="git diff" \
,gds="git diff --staged" \
,gcan="git commit --amend --no-edit" \
,gpsf="git push --force" \
,gpsf="git push --force-with-lease" \
,gr="git rebase" \
,grc="git rebase --continue" \
lt="tree -L 2" \
Expand All @@ -73,10 +71,9 @@ alias \
xc="xclip -sel clip" \
xcp="xclip -sel clip -target image/png -i" \
kx="killall xcape" \
fs='flameshot gui -r | tee ~/Pictures/Flameshot_$(date +%Y-%m-%d_%H-%M-%S).jpg | xcp' \
fs='env QT_SCREEN_SCALE_FACTORS="$REVERSE_SCALE" flameshot gui -r | tee ~/Pictures/Flameshot_$(date +%Y-%m-%d_%H-%M-%S).jpg | xcp' \
/="ack" \


# This alias is important. It enables the `pauseallmpv` command.
alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)"

Expand All @@ -100,9 +97,19 @@ function qe() {
v ~/.local/share/qutebrowser_$1/config/custom_config.py
}

,e() { du --exclude-from=$HOME/.config/du_excludes -a ~/.scripts/* ~/.config/* ~/.dotfiles/*(N) /var/lib/transmission/.config/*(N) | cut -d$'\t' -f2- | fzf | xargs -d '\n' -r $EDITOR ;}
,e() { du --exclude-from=$HOME/.config/du_excludes -a ~/.scripts/* ~/scripts/*(N) ~/.config/* ~/.dotfiles/*(N) /var/lib/transmission/.config/*(N) | cut -d$'\t' -f2- | fzf | xargs -d '\n' -r $EDITOR ;}
,t() { fzf | xargs -d '\n' -r -I % $EDITOR % ;}
cdf() { cd -- "$(du | cut -d$'\t' -f2- | fzf)"}
cdp() { cd -- "$(/usr/bin/ls -C -d ~/dev/git/*(N) ~/dev/projects/*(N) ~/localstorage/dev/*(N) | fzf;)"}

cdf() { cd -- "$(du | cut -d$'\t' -f2- | fzf)"}
cdt() { cd -- "$HOME/Downloads/Torrent/$(/usr/bin/ls -C --format=single-column ~/Downloads/Torrent | fzf;)"}

gfixup() {
rev=$(_fzf_git_hashes)
[[ $rev == "" ]] && return
git commit --fixup ${rev} && git rebase -i --autostash --autosquash ${rev}^ && echo --------git status---------- && git status
}
gdrop() {
rev=$(_fzf_git_hashes)
[[ $rev == "" ]] && return
git rebase -i --autostash --autosquash ${rev}^ && echo --------git status---------- && git status
}
1 change: 1 addition & 0 deletions config/ccache/ccache.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
max_size = 200.0G
3 changes: 3 additions & 0 deletions config/dirs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ L ~/localstorage
w ~/localstorage/workspace
S ~/shares
.t ~/.tools
pc ~/localstorage/workspace/P33617/repos/project/.ci_tools
qp ~/shares/data/02_Software/2.1_Admin_Software/2.1.1_Team_Orga/QuarterlyPlanning/2021-Q4
pcli ~/localstorage/dev/project-cli
4 changes: 3 additions & 1 deletion config/fakevim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,7 @@ nnoremap ,eh :OpenHeaderSourceInNextSplit<cr>
nnoremap <c-}> :tag<cr>

nnoremap ,ec :EditWithCode<cr>
nnoremap ,yp :CopyFullPath<cr>
nnoremap ,yp :CopyPath<cr>
nnoremap ,yn :CopyFileName<cr>

nnoremap ,fu :FindUsages<cr>
2 changes: 2 additions & 0 deletions config/files.csv
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ x ~/.Xdefaults
c ~/.dotfiles/meta/configs
n ~/Dokumente/note.org
t ~/Dokumente/today.org
b ~/Dokumente/bericht.org
qp ~/shares/data/02_Software/2.1_Admin_Software/2.1.1_Team_Orga/QuarterlyPlanning/2021-Q4/2021-Q4_ZolbooErdenebayar.jpg
105 changes: 0 additions & 105 deletions config/fontconfig/conf.d/10-powerline-symbols.conf

This file was deleted.

24 changes: 18 additions & 6 deletions config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# new_window pixel
default_border pixel
default_border pixel 4
set_from_resource $fontsize fontsize 13

# font pango:DejaVu Sans Mono for Powerline, FontAwesome $fontsize
Expand Down Expand Up @@ -106,6 +106,8 @@ for_window [title="mpvfloat"] sticky enable
for_window [title="mpvfloat"] border pixel 0
no_focus [title="mpvfloat"]

for_window [class="^Ires20$"] floating disable

set $workspace2 "2: "
set $workspace3 "3: "
set $workspace4 "4: "
Expand Down Expand Up @@ -160,12 +162,22 @@ bar {
# #---Basic Bindings---# #
bindsym button3 --border kill
bindsym $mod+button1 --whole-window floating toggle
bindsym $mod+s mode "indurad"

set $devops "devops"
set $33617 "33617"
set $33020 "33020"

mode "indurad" {
bindsym d workspace $devops ; mode "default"
bindsym z exec --no-startup-id i3zen switch; mode "default"

set $wsBuK "S: BuK"
set $wsNumRe "S: NumRe"
set $wsST "S: ST"
set $wsCC "S: CC"
set $wsAS "S: AS"

bindsym Shift+d move container to workspace $devops
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}

# assign [class="Chromium-browser"] 7
# assign [class="Firefox"] $workspace2
Expand Down
12 changes: 9 additions & 3 deletions config/i3blocks/config
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ command=disk / 

[disk]
interval=60
command=disk /home
command=disk /home/ilocalstorage-sata il

[disk]
interval=60
command=disk /home/zerdenebayar/shares_cached 💻

[battery]
command=battery BAT0
Expand All @@ -71,8 +75,10 @@ interval=30
label=🕓
interval=1

#[internet]
#interval=10
[shutdown]
interval=0
command=wm_exit suspend
full_text=😪

[vpn]
interval=10
Expand Down
1 change: 1 addition & 0 deletions config/keyboard/xkbmap_def
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
xkb_keymap {
xkb_keycodes {
include "evdev+aliases(qwerty)"
<LWIN> = 66;
};

xkb_types { include "complete" };
Expand Down
6 changes: 3 additions & 3 deletions config/keyboard/xmodmaprc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ add control = Control_R
clear shift
add shift = Shift_L

add mod3 = Shift_R
! add mod3 = Shift_R

! add shift = Shift_R
add shift = Shift_R

pointer = 3 2 1
!pointer = 3 2 1
2 changes: 1 addition & 1 deletion config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1114,9 +1114,9 @@ let g:coc_global_extensions = [
\ 'coc-ultisnips',
\ 'coc-highlight',
\ 'coc-texlab',
\ 'coc-spell-checker',
\ 'coc-python',
\ ]
" \ 'coc-spell-checker',

" grep word under cursor
command! -nargs=+ -complete=custom,s:GrepArgs Rg exe 'CocList grep '.<q-args>
Expand Down
8 changes: 8 additions & 0 deletions config/qutebrowser/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,15 @@
"!sp": "https://www.startpage.com/do/dsearch?query={}",
"!pirate": "https://www.pirate-bay.net/search?q={}",
"!torrent": "https://www.pirate-bay.net/search?q={}",
"g" :"https://git.indurad.x/search?utf8=%E2%9C%93&search={}&group_id=&project_id=&snippets=false&repository_ref=&nav_source=navbar",
"w" :"https://wiki.indurad.x/foswiki/bin/view/Main/WebSearch?tab=search&search={}&scope=all",
}
if ENVMODE == 'indurad':
c.url.searchengines.update({
"g": "https://git.indurad.x/search?utf8=%E2%9C%93&search={}&group_id=&project_id=&snippets=false&repository_ref=&nav_source=navbar",
"w": "https://wiki.indurad.x/foswiki/bin/view/Main/WebSearch?search={}&scope=all&web=Main",
"j": "https://jenkins.indurad.x/search/?q={}&Jenkins-Crumb=8bfe1ab4d1d762edca143d9a7be37aae752c17de126e62349d4a2d2604993772",
"r": "https://redmine.indurad.x/issues/{}"
})


Expand Down Expand Up @@ -192,6 +195,9 @@
c.hints.selectors["ad"] = [
"a.pull-right > span.glyphicons-remove",
]
c.hints.selectors["issuesubject"] = [
'span[data-name="issue[subject]"]'
]

if DIRMODUS == 'jkl;':
config.bind('<ctrl-j>', 'back')
Expand Down Expand Up @@ -239,6 +245,8 @@
config.bind('hyy','hint links yank')
config.bind('hyd','hint div userscript copy_selected.py')

config.bind('h,s','hint --first issuesubject userscript copy_selected.py')


config.source('custom_config.py')

Expand Down
16 changes: 11 additions & 5 deletions config/sxhkd/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ super + Q; {l, e, s, h, H, r, S, g}
super + comma; {a,b, B, d, h, k, l, m, M, o, O, r, S, s, t, u, v, V, w, W, x, X, z, slash}
{dmenurecord, rofi -show windowcd -lines 15,vertical_bar_pos.sh,i3 "bar mode toggle",help-shortcut,i3 'sticky toggle',extbacklight,i3-msg 'move workspace to output right',i3-msg 'move workspace to output up',i3order, i3order --split 3,sudo /usr/bin/systemctl restart NetworkManager,i3 'move scratchpad',i3 'scratchpad show',rofi -show window -lines 15,dmenuunicode,vpntoggle 'vpn-default',vpntoggle 'PIA - Switzerland',sxivw,i3 'floating enable;;exec 21_9_width',fixit.sh l,fixit.sh d,i3zen toggle,ducksearch}

# music
super + m; {a, j, o, p, l, n, t, q, space, N, r, semicolon, XF86AudioLowerVolume, XF86AudioRaiseVolume}
{mpd_controll -a, lmc backward, mpd_controll -o, mpd_controll -p, mpd_controll -l, lmc next, mpd_controll -t, mpc stop, lmc toggle, lmc prev, lmc replay, lmc forward, mpc volume -5, mpc volume +5}

# # Audiokeys
XF86AudioMute
lmc mute
Expand Down Expand Up @@ -103,7 +99,7 @@ super + XF86MonBrightness{Up,Down}
xbacklight.py HDMI-1 {+,-}0.1

Print
flameshot gui -r | tee ~/Pictures/Flameshot_$(date +%Y-%m-%d_%H-%M-%S).jpg | xcp
flameshot gui -c -p ~/Pictures/Flameshot_$(date +%Y-%m-%d_%H-%M-%S).jpg
super + Print
maim Pictures/screenshot-"$(date '+%y%m%d-%H%M-%S').png"
super + shift+Print
Expand Down Expand Up @@ -158,6 +154,16 @@ super+{_,shift+}{w,e,r,y,u,i,p}
mode="{ ,move container to}";\
wsnumber="$WORKSPACE{2,3,4,6,7,8,0}";\
i3-msg "$mode workspace $wsnumber"
Print
xdotool getmouselocation --shell; \
scrot -a 482,272,1074,767 # cw
# scrot -a 440,281,1266,755 # under 23100
# scrot -a 5,349,1902,709 # rhs 23100
# scrot -a 50,280,1852,750 # lhs 23100
# scrot -a 10,273,1899,794 # lhs
# scrot -a 318,324,1420,696 # rhs
# scrot -a 258,289,1140,750
# flameshot gui -r > ~/Bilder/Flameshot_$(date +%Y-%m-%d_%H-%M-%S).jpg

super+z
pass generate -c
Loading