Update 24.03.22
This commit is contained in:
parent
0f42995fd5
commit
c2386880ed
@ -98,8 +98,6 @@ bindsym $mod+o exec ~/lock.sh
|
||||
#bindsym $mod+o exec slimlock
|
||||
# ristretto
|
||||
bindsym $mod+e exec thunar
|
||||
# Xournal
|
||||
bindsym $mod+n exec xournalpp
|
||||
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
@ -297,8 +295,11 @@ bar {
|
||||
|
||||
# separator_symbol "ʃ"
|
||||
#separator_symbol "❰"
|
||||
separator_symbol " ❱ "
|
||||
#separator_symbol " ▷ "
|
||||
#separator_symbol " ∠ "
|
||||
#separator_symbol "|"
|
||||
separator_symbol "ǁ"
|
||||
#separator_symbol "ǁ"
|
||||
|
||||
|
||||
strip_workspace_name no
|
||||
|
||||
44
config/i3/i3status.conf
Normal file
44
config/i3/i3status.conf
Normal file
@ -0,0 +1,44 @@
|
||||
order += "whatismyip"
|
||||
order += "ipv6"
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
order += "battery all"
|
||||
order += "disk /"
|
||||
order += "disk /home"
|
||||
order += "load"
|
||||
order += "memory"
|
||||
order += "tztime local"
|
||||
|
||||
whatismyip {
|
||||
format = " {isp}\|{city}\|{countryCode} ({ip}) "
|
||||
hide_when_offline = True
|
||||
url_geo = "http://ip-api.com/json"
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%status %percentage %consumption"
|
||||
}
|
||||
|
||||
wireless _first_ {
|
||||
format_up = " %ip (%essid)"
|
||||
format_down = ""
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
format_up = " %ip (%speed)"
|
||||
format_down = ""
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%percentage_used (%used / %free / %total)"
|
||||
on_click 1 = "exec thunar /"
|
||||
}
|
||||
|
||||
disk "/home" {
|
||||
format = "%percentage_used (%used / %free / %total)"
|
||||
on_click 1 = "exec thunar /home/legrems/Documents/Arcanite"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
@ -2,6 +2,6 @@
|
||||
|
||||
configuration {
|
||||
show-icons: true;
|
||||
font: "Courier New 32";
|
||||
font: "Courier New 12";
|
||||
icon-theme: "Papirus";
|
||||
}
|
||||
|
||||
@ -34,11 +34,11 @@ uptime=$(uptime -p | sed -e 's/up //g')
|
||||
rofi_command="rofi -theme $dir/$theme"
|
||||
|
||||
# Options
|
||||
shutdown=""
|
||||
reboot=""
|
||||
lock=""
|
||||
suspend=""
|
||||
logout=""
|
||||
shutdown="Sh"
|
||||
reboot="Re"
|
||||
lock="Lk"
|
||||
suspend="Su"
|
||||
logout="Lg"
|
||||
|
||||
# Confirmation
|
||||
confirm_exit() {
|
||||
|
||||
@ -7,4 +7,4 @@
|
||||
*
|
||||
*/
|
||||
|
||||
@import "nordic.rasi"
|
||||
@import "gotham.rasi"
|
||||
|
||||
@ -19,12 +19,12 @@
|
||||
d = difftool
|
||||
adog = log --all --decorate --oneline --graph
|
||||
dog = log --decorate --oneline --graph
|
||||
[core]
|
||||
editor = nvim
|
||||
excludesfile = /home/legrems/.gitignore_global
|
||||
[push]
|
||||
default = current
|
||||
|
||||
[core]
|
||||
editor = nvim
|
||||
pager = delta
|
||||
excludesfile = /home/legrems/.gitignore_global
|
||||
[pager]
|
||||
diff = delta
|
||||
log = delta
|
||||
|
||||
@ -6,8 +6,8 @@ bind-key C-a send-prefix
|
||||
# split panes
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
bind s split-window -h -p 25 -c "#{pane_current_path}"
|
||||
bind g split-window -h -p 25 -c "#{pane_current_path}" -b
|
||||
bind s split-window -h -p 20 -c "#{pane_current_path}"
|
||||
bind g split-window -h -p 20 -c "#{pane_current_path}" -b
|
||||
bind v split-window -v -p 30 -c "#{pane_current_path}"
|
||||
|
||||
# switch panes
|
||||
|
||||
13
vimrc
13
vimrc
@ -202,7 +202,8 @@ Plug 'https://github.com/millermedeiros/vim-statline.git'
|
||||
Plug 'https://github.com/tpope/vim-fugitive'
|
||||
let g:statline_fugitive = 1
|
||||
let g:fugitive_gitlab_domains = ['https://git.arcanite.ch', 'https://git.polylan.ch']
|
||||
Plug 'https://github.com/junegunn/gv.vim'
|
||||
"Plug 'https://github.com/junegunn/gv.vim'
|
||||
Plug 'https://github.com/Legrems/gv.vim'
|
||||
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'https://github.com/vim-syntastic/syntastic.git'
|
||||
@ -248,7 +249,6 @@ let g:lightline = {
|
||||
\ [ 'filename', 'readonly', 'modified' ],
|
||||
\ [ 'gitdiff' ] ],
|
||||
\ 'right': [ [ 'lineinfo' ],
|
||||
\ [ 'percent' ],
|
||||
\ [ 'gitbranch' ] ]
|
||||
\ },
|
||||
\ 'inactive': {
|
||||
@ -265,6 +265,7 @@ let g:lightline = {
|
||||
\ 'gitdiff': 'middle',
|
||||
\ },
|
||||
\ }
|
||||
|
||||
Plug 'https://github.com/preservim/nerdcommenter'
|
||||
" Add spaces after comment delimiters by default
|
||||
let g:NERDSpaceDelims = 0
|
||||
@ -512,8 +513,6 @@ nnoremap <c-right> :bnext<CR>
|
||||
nnoremap <Return> o<ESC>
|
||||
nnoremap <BS> O<ESC>
|
||||
|
||||
" nnoremap <C-X> %!xxd<CR>
|
||||
|
||||
nnoremap <leader>/ <cmd>Telescope search_history<CR>
|
||||
"nnoremap <leader>ch <cmd>Telescope command_history<CR>
|
||||
nnoremap <leader>ch <cmd>CocCommand fzf-preview.CommandPalette<CR>
|
||||
@ -532,3 +531,9 @@ nnoremap <leader>iss <cmd>! glab issue list<CR>
|
||||
vmap <leader>y :w! /tmp/vimtmp<CR>
|
||||
" Read from temp file
|
||||
nmap <leader>p :r! cat /tmp/vimtmp<CR>
|
||||
|
||||
" Copy filename + line number into clipboard
|
||||
nmap <leader>oo :call setreg('+', expand("%:h") . "/" . expand("%:t") . "#L" . line("."))<CR>
|
||||
|
||||
|
||||
nmap <leader>xx :%!xxd<CR>
|
||||
|
||||
18
work_monitor.sh
Executable file
18
work_monitor.sh
Executable file
@ -0,0 +1,18 @@
|
||||
xrandr --output DP-1-0 --pos 0x0
|
||||
xrandr --output DP-1-3 --pos 2560x0
|
||||
xrandr --output eDP-1 --off
|
||||
|
||||
i3-msg workspace 1
|
||||
i3-msg move workspace to output DP-1-3
|
||||
|
||||
i3-msg workspace 2
|
||||
i3-msg move workspace to output DP-1-3
|
||||
|
||||
i3-msg workspace 3
|
||||
i3-msg move workspace to output DP-1-0
|
||||
|
||||
i3-msg workspace 4
|
||||
i3-msg move workspace to output DP-1-0
|
||||
|
||||
i3-msg workspace 3
|
||||
i3-msg workspace 1
|
||||
3
xinitrc
3
xinitrc
@ -50,7 +50,8 @@ setxkbmap -option caps:swapescape
|
||||
|
||||
# Set background
|
||||
#feh --bg-fill ~/Downloads/atlantis-nexus-nebula-black-background-digital-render-3840x2400-3704.jpg
|
||||
feh --bg-fill ~/Downloads/digital-abstract-3d-render-pattern-minimal-art-black-3840x2160-7124.jpg
|
||||
#feh --bg-fill ~/Downloads/digital-abstract-3d-render-pattern-minimal-art-black-3840x2160-7124.jpg
|
||||
feh --bg-fill ~/Downloads/wp2618248-blackarch-wallpaper.png
|
||||
|
||||
# Launch i3
|
||||
exec i3
|
||||
|
||||
4
xprofile
4
xprofile
@ -1,7 +1,7 @@
|
||||
xbindkeys
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||
export GDK_SCALE=2
|
||||
export GDK_DPI_SCALE=0.5
|
||||
export GDK_SCALE=1
|
||||
export GDK_DPI_SCALE=1
|
||||
|
||||
# Used by i3-sensible-terminal
|
||||
export TERMINAL=alacritty
|
||||
|
||||
@ -29,6 +29,12 @@ amendnow() { GIT_COMMITTER_DATE="$(date +%d/%m/%Y' '%H:%M:%S)" git commit --amen
|
||||
continous-running() { while true; do inotifywait $1 -r -e close_write && ${@:2}; done }
|
||||
f() { find . -name "*$1*"; }
|
||||
|
||||
tar-create() {tar cfv $@}
|
||||
tar-list() {tar -tvf $@}
|
||||
tar-extract() {tar xfv $@}
|
||||
us-layout() {setxkbmap us -option caps:swapescape }
|
||||
usint-layout() {setxkbmap us -variant intl -option caps:swapescape }
|
||||
|
||||
make_venv() {
|
||||
echo $(basename $(pwd) | awk '{print "conda activate "$1}') > $(pwd | awk '{print $1"/.autoenv.zsh"}')
|
||||
echo $(basename $(pwd) | awk '{print "conda deactivate "}') > $(pwd | awk '{print $1"/.autoenv_leave.zsh"}')
|
||||
|
||||
@ -29,6 +29,8 @@ export PATH=$HOME/custom_commands:$PATH
|
||||
export NB_MINIONS=4
|
||||
export VAGRANT_TYPE='abacus-abahost'
|
||||
export NB_HAPROXY=2
|
||||
export NB_PROXMOXS=1
|
||||
export VAGRANT_ABACUS_BOX="ubuntu/focal64"
|
||||
export VISUAL=nvim
|
||||
export EDITOR=nvim
|
||||
export AUTOENV_ENV_FILENAME='.autoenv.zsh'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user