Compare commits
8 commits
fd51725aa8
...
e11fd1a774
Author | SHA1 | Date | |
---|---|---|---|
e11fd1a774 | |||
8e33a041f4 | |||
d5eee70630 | |||
2b9a70668c | |||
bd16b959aa | |||
7ecd105eb9 | |||
0d2bf324f9 | |||
4b6d78f3b1 |
9 changed files with 50 additions and 21 deletions
|
@ -13,6 +13,8 @@ alias dotfiles='.f'
|
|||
alias dotfiles-mail='.fm'
|
||||
alias du='du -h'
|
||||
|
||||
alias exa="exa -lh --icons"
|
||||
|
||||
alias free='free -h'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
sxhkd &
|
||||
|
||||
host_name=$(cat /proc/sys/kernel/hostname)
|
||||
if [[ $host_name == "portalo" ]]; then
|
||||
bspc monitor HDMI-1 -d web terminal 3 4 5 6 game
|
||||
bspc monitor DVI-D-1 -d side-view voip messenger
|
||||
bspc monitor HDMI-1 -n primary
|
||||
bspc monitor DVI-D-1 -n secondary
|
||||
|
||||
bspc monitor primary -d web terminal 3 4 5 6 game
|
||||
bspc monitor secondary -d side-view voip messenger
|
||||
|
||||
bspc wm -O primary secondary
|
||||
|
||||
bspc desktop ^7 --layout monocle
|
||||
#bspc desktop ^9 --layout monocle
|
||||
bspc desktop ^10 --layout monocle
|
||||
elif [[ $host_name == *"laptop"* ]]; then
|
||||
bspc monitor eDP-1 -d web terminal 3 4 5 6 7 8 9 10
|
||||
else
|
||||
|
@ -17,6 +17,7 @@ else
|
|||
fi
|
||||
|
||||
bspc desktop web --layout monocle
|
||||
bspc desktop game --layout monocle
|
||||
|
||||
bspc config border_width 1
|
||||
bspc config window_gap 10
|
||||
|
@ -38,6 +39,8 @@ bspc rule -a 'firefox:Toolkit' follow='true' desktop='side-view' state='fullscre
|
|||
bspc rule -a 'vlc' follow='true' desktop='side-view' state='fullscreen'
|
||||
bspc rule -a 'MPlayer' follow='true' desktop='side-view' state='fullscreen'
|
||||
bspc rule -a 'mpv:gl' follow='true' desktop='side-view' state='fullscreen'
|
||||
bspc rule -a 'FreeTube' follow='true' desktop='side-view'
|
||||
|
||||
|
||||
bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true'
|
||||
bspc rule -a 'Alacritty:mail' desktop='voip' locked='true'
|
||||
|
@ -53,4 +56,3 @@ bspc rule -a 'sticky-note:sticky-note' state='floating' sticky='on' border='off'
|
|||
bspc rule -a 'Xarchiver' state='floating'
|
||||
|
||||
$HOME/.config/polybar/launch.sh &
|
||||
$HOME/.config/bspwm/swallow.py &
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
|
||||
|
||||
export EDITOR='/usr/bin/vim'
|
||||
export NOTMUCH_CONFIG="$HOME/.config/notmuch/config"
|
||||
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
||||
|
|
|
@ -9,3 +9,5 @@ venv/
|
|||
.syntastic_*_config
|
||||
|
||||
.breakpoints
|
||||
|
||||
latexmk_output/
|
||||
|
|
|
@ -50,9 +50,9 @@
|
|||
[bar/portalo-base]
|
||||
inherit = bar/base
|
||||
|
||||
modules-left = bspwm i3
|
||||
modules-left = bspwm
|
||||
modules-center = mpd
|
||||
modules-right = memory cpu fan-speed temperature eth check-arch-updates date powermenu
|
||||
modules-right = memory cpu temperature eth check-arch-updates date powermenu
|
||||
|
||||
eth-interface = enp0s31f6
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
|||
|
||||
monitor = eDP-1
|
||||
|
||||
modules-left = bspwm i3
|
||||
modules-left = bspwm
|
||||
modules-center =
|
||||
modules-right = pulseaudio battery xbacklight memory cpu temperature wlan eth check-arch-updates date powermenu
|
||||
|
||||
|
|
|
@ -2,18 +2,25 @@ config.load_autoconfig()
|
|||
|
||||
c.auto_save.session = True
|
||||
|
||||
c.url.start_pages = ['dashboard.serguzim.me']
|
||||
#c.content.proxy = "socks://localhost:9050/"
|
||||
|
||||
c.downloads.position = 'bottom'
|
||||
|
||||
c.url.start_pages = ['dashboard.serguzim.me', 'cloud.serguzim.me', 'localhost:6680/iris/']
|
||||
c.url.searchengines = {'DEFAULT': 'bookmarks.serguzim/?q={}'}
|
||||
|
||||
c.tabs.background = True
|
||||
c.tabs.mousewheel_switching = False
|
||||
c.tabs.new_position.related = 'last'
|
||||
|
||||
c.zoom.default = 130
|
||||
|
||||
|
||||
|
||||
config.bind(',v', 'spawn mpv {url}')
|
||||
config.bind(',V', 'hint links spawn mpv {hint-url}')
|
||||
|
||||
config.bind(',b', 'spawn brave {url}')
|
||||
config.bind(',B', 'hint links spawn brave {hint-url}')
|
||||
|
||||
config.bind(',s', 'spawn steam steam://openurl/{url}')
|
||||
config.bind(',rr', 'open {url:scheme}://removeddit.com{url:path}{url:query}')
|
||||
config.bind(',rt', 'open {url:scheme}://reddit.tube{url:path}{url:query}')
|
||||
|
|
|
@ -48,6 +48,9 @@ XF86MonBrightnessUp
|
|||
XF86MonBrightnessDown
|
||||
[ $(xbacklight -get | cut -d'.' -f 1) -ge 10 ] && xbacklight -dec 5
|
||||
|
||||
super + v
|
||||
mpv $(xclip -o -selection clipboard)
|
||||
|
||||
#
|
||||
# bspwm hotkeys
|
||||
#
|
||||
|
|
|
@ -17,6 +17,7 @@ call plug#begin('~/.config/vim/plugged')
|
|||
Plug 'cespare/vim-toml'
|
||||
Plug 'posva/vim-vue'
|
||||
Plug 'vhdirk/vim-cmake'
|
||||
Plug 'lervag/vimtex'
|
||||
call plug#end()
|
||||
|
||||
packadd termdebug
|
||||
|
@ -49,8 +50,6 @@ set wildmode=longest,list,full
|
|||
|
||||
set fillchars+=vert:\
|
||||
|
||||
autocmd FileType yaml setlocal ai tabstop=2 shiftwidth=2 expandtab cuc nu
|
||||
|
||||
runtime ftplugin/man.vim
|
||||
set keywordprg=:Man
|
||||
|
||||
|
@ -58,7 +57,12 @@ if has("autocmd")
|
|||
" Save cursor position. I don't understand this part
|
||||
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
||||
|
||||
au BufNewFile,BufRead neomutt-* setf mail
|
||||
|
||||
au FileType yaml setlocal ai tabstop=2 shiftwidth=2 expandtab cuc nu
|
||||
|
||||
au FileType lilypond au BufWritePost * !lilypond %
|
||||
au FileType dot au BufWritePost * !dot -Tpng -O %
|
||||
endif
|
||||
|
||||
|
||||
|
@ -127,3 +131,8 @@ let g:syntastic_check_on_open = 1
|
|||
let g:syntastic_check_on_wq = 0
|
||||
let g:syntastic_oclint_config_file = '.syntastic_oclint_config'
|
||||
let g:syntastic_c_config_file = '.syntastic_cc_config'
|
||||
|
||||
let g:tex_flavor = 'latex'
|
||||
let g:vimtex_compiler_latexmk = {
|
||||
\ 'build_dir': 'latexmk_output'
|
||||
\}
|
||||
|
|
12
.xprofile
12
.xprofile
|
@ -1,4 +1,3 @@
|
|||
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
|
||||
source $HOME/.config/environment
|
||||
|
||||
xcompmgr -n -f -D3 &
|
||||
|
@ -16,11 +15,17 @@ fi
|
|||
|
||||
_autostart_on_launch()
|
||||
{
|
||||
xrandr --output DVI-D-1 --left-of HDMI-1
|
||||
xrandr --output HDMI-1 --mode 2560x1440 --refresh 144
|
||||
|
||||
dunst &
|
||||
ckb-next --background &
|
||||
parcellite &
|
||||
solaar --window hide &
|
||||
xrandr --output HDMI-1 --mode 2560x1440 --refresh 144
|
||||
|
||||
sxhkd &
|
||||
$HOME/.config/bspwm/swallow.py &
|
||||
$HOME/.config/bspwm/focus-voip.py &
|
||||
|
||||
conky --daemonize --config="$HOME/.config/conky/clock.conf"
|
||||
conky --daemonize --config="$HOME/.config/conky/cpu_ram_storage.conf"
|
||||
|
@ -44,9 +49,6 @@ _autostart_on_launch()
|
|||
alacritty --class "mail" --command sh -c "neomutt" &
|
||||
sleep 1
|
||||
element-desktop &
|
||||
sleep 1
|
||||
bspc node "@voip:/first" -f
|
||||
xdg-open "steam://open/friends/"
|
||||
|
||||
mopidy &
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue