Compare commits
7 Commits
446a7a9e1e
...
marynux
Author | SHA1 | Date | |
---|---|---|---|
75e6358b38 | |||
b3084fd9b6 | |||
8d3e39736b | |||
d20a50e347 | |||
db3649c29e | |||
ff9dc31f07 | |||
87b56c0c73 |
@ -1,9 +0,0 @@
|
|||||||
current_resolution=$(xrandr | awk '/DSI1/ {print $4}')
|
|
||||||
|
|
||||||
if [[ $current_resolution == 1920x1200* ]];
|
|
||||||
then
|
|
||||||
xrandr --size 600x960
|
|
||||||
else
|
|
||||||
xrandr --size 1200x1920
|
|
||||||
fi
|
|
||||||
chwp
|
|
@ -123,3 +123,5 @@ sxhkd &
|
|||||||
#. $HOME/.config/bspwm/autostart
|
#. $HOME/.config/bspwm/autostart
|
||||||
#limepanel &
|
#limepanel &
|
||||||
$HOME/.config/polybar/launch.sh &
|
$HOME/.config/polybar/launch.sh &
|
||||||
|
|
||||||
|
$HOME/.fehbg
|
||||||
|
@ -48,7 +48,7 @@ secondary = #e60053
|
|||||||
alert = #FF5555
|
alert = #FF5555
|
||||||
|
|
||||||
[bar/bspbar1]
|
[bar/bspbar1]
|
||||||
monitor = ${env:MONITOR:DVI-D-0}
|
monitor = ${env:MONITOR:DVI-I-1}
|
||||||
width = 100%:-10
|
width = 100%:-10
|
||||||
height = 25
|
height = 25
|
||||||
offset-x = 5
|
offset-x = 5
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# bspwm hotkeys
|
# bspwm hotkeys
|
||||||
#
|
#
|
||||||
# Cleanly quit bspwm
|
# Cleanly quit bspwm
|
||||||
super + shift + q
|
super + shift + a
|
||||||
bspc quit 1
|
bspc quit 1 && pkill lemonpanel && pkill lemonbar
|
||||||
|
|
||||||
# Show keybindings
|
# Show keybindings
|
||||||
super + F1
|
super + F1
|
||||||
@ -96,7 +96,7 @@ super + Return
|
|||||||
# bspc node -n @/
|
# bspc node -n @/
|
||||||
|
|
||||||
# go (Shift=move) to desktop (and focus the monitor that the desktop is located on. Bspwm style)
|
# go (Shift=move) to desktop (and focus the monitor that the desktop is located on. Bspwm style)
|
||||||
super + {_,shift + }{1,2,3,4,5,6,7,8,9,0}
|
super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,section,egrave,exclam,ccedilla,agrave}
|
||||||
bspc {desktop -f,node -d} ^{1-9,10}
|
bspc {desktop -f,node -d} ^{1-9,10}
|
||||||
|
|
||||||
## Alternative: i3 style behavior (focus nth, desktop of the focused monitor)
|
## Alternative: i3 style behavior (focus nth, desktop of the focused monitor)
|
||||||
@ -125,7 +125,7 @@ super + Tab
|
|||||||
WindowSelector
|
WindowSelector
|
||||||
|
|
||||||
#Focus windows by direction, works with multihead
|
#Focus windows by direction, works with multihead
|
||||||
super + {a,s,w,d}
|
super + {q,s,z,d}
|
||||||
focusmover {west,south,north,east}
|
focusmover {west,south,north,east}
|
||||||
|
|
||||||
super + {h,j,k,l}
|
super + {h,j,k,l}
|
||||||
@ -137,7 +137,7 @@ super + {Left,Down,Up,Right}
|
|||||||
# Move tiled windows. Moving a tiled window to
|
# Move tiled windows. Moving a tiled window to
|
||||||
# preselected one moves into preselection instead.
|
# preselected one moves into preselection instead.
|
||||||
# Moving out of the screen should move the window to next monitor if possible
|
# Moving out of the screen should move the window to next monitor if possible
|
||||||
super + shift + {q,s,w,d}
|
super + shift + {q,s,z,d}
|
||||||
windowgrabber {west,south,north,east}
|
windowgrabber {west,south,north,east}
|
||||||
|
|
||||||
super + shift + {h,j,k,l}
|
super + shift + {h,j,k,l}
|
||||||
@ -148,7 +148,7 @@ super + shift + {Left,Down,Up,Right}
|
|||||||
euclid_mover {west,south,north,east}
|
euclid_mover {west,south,north,east}
|
||||||
|
|
||||||
#resize windows
|
#resize windows
|
||||||
super + ctrl + {a,s,w,d}
|
super + ctrl + {q,s,z,d}
|
||||||
bspwm_resize.sh {west,south,north,east}
|
bspwm_resize.sh {west,south,north,east}
|
||||||
|
|
||||||
super + ctrl + {h,j,k,l}
|
super + ctrl + {h,j,k,l}
|
||||||
@ -334,9 +334,6 @@ super + ctrl + space
|
|||||||
{pkill picom ,\
|
{pkill picom ,\
|
||||||
picom -b }
|
picom -b }
|
||||||
|
|
||||||
ctrl + alt +t
|
|
||||||
pkill rotateScreen_au || rotateScreen_auto
|
|
||||||
|
|
||||||
# Remove receptacles
|
# Remove receptacles
|
||||||
super + BackSpace
|
super + BackSpace
|
||||||
for i in $(bspc query -N -n .leaf.!window.local); do bspc node $i -k; done
|
for i in $(bspc query -N -n .leaf.!window.local); do bspc node $i -k; done
|
||||||
|
@ -1 +0,0 @@
|
|||||||
set tw=120
|
|
@ -1,10 +1,10 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
PATH_TO_LOMBOK = os.path.expanduser("/usr/lib/lombok-common/lombok.jar")
|
PATH_TO_LOMBOK = os.path.expanduser("/usr/lib/lombok-common/lombok.jar")
|
||||||
jdtls_args = ['-noverify',
|
# jdtls_args = ['-noverify',
|
||||||
'-Xmx1G',
|
# '-Xmx1G',
|
||||||
'-XX:+UseG1GC',
|
# '-XX:+UseG1GC',
|
||||||
'-XX:+UseStringDeduplication']
|
# '-XX:+UseStringDeduplication']
|
||||||
|
|
||||||
def Settings( **kwargs ):
|
def Settings( **kwargs ):
|
||||||
if not os.path.exists(PATH_TO_LOMBOK):
|
if not os.path.exists(PATH_TO_LOMBOK):
|
||||||
@ -15,6 +15,6 @@ def Settings( **kwargs ):
|
|||||||
'jvm_args': [
|
'jvm_args': [
|
||||||
'-javaagent:' + PATH_TO_LOMBOK,
|
'-javaagent:' + PATH_TO_LOMBOK,
|
||||||
'-Xbootclasspath/a:' + PATH_TO_LOMBOK
|
'-Xbootclasspath/a:' + PATH_TO_LOMBOK
|
||||||
] + jdtls_args
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,8 @@ nnoremap K :YcmCompleter GetDoc<CR>
|
|||||||
nnoremap \<CR> :YcmCompleter FixIt<CR>
|
nnoremap \<CR> :YcmCompleter FixIt<CR>
|
||||||
noremap gN :Lex<CR>
|
noremap gN :Lex<CR>
|
||||||
|
|
||||||
|
nnoremap yp :let @+=expand('%') .. '#' .. line('.')<CR>
|
||||||
|
|
||||||
nnoremap <F12> :Make<CR>
|
nnoremap <F12> :Make<CR>
|
||||||
nnoremap <leader><F12> :Make run<CR>
|
nnoremap <leader><F12> :Make run<CR>
|
||||||
|
|
||||||
@ -132,4 +134,4 @@ hi Normal ctermfg=None ctermbg=None
|
|||||||
hi NonText ctermfg=None ctermbg=None
|
hi NonText ctermfg=None ctermbg=None
|
||||||
|
|
||||||
packadd termdebug
|
packadd termdebug
|
||||||
let termdebug_wide=1
|
let g:termdebug_wide=1
|
||||||
|
@ -176,8 +176,10 @@ zmodload zsh/terminfo
|
|||||||
# Enabling fzf capabilities
|
# Enabling fzf capabilities
|
||||||
source /usr/share/fzf/*.zsh
|
source /usr/share/fzf/*.zsh
|
||||||
|
|
||||||
|
source /opt/enhancd/init.sh
|
||||||
source /usr/share/enhancd/init.sh
|
source /usr/share/enhancd/init.sh
|
||||||
export ENHANCD_ENABLE_DOUBLE_DOT=false
|
export ENHANCD_ENABLE_DOUBLE_DOT=false
|
||||||
|
>>>>>>> origin/master
|
||||||
|
|
||||||
bindkey "$terminfo[kcuu1]" history-substring-search-up
|
bindkey "$terminfo[kcuu1]" history-substring-search-up
|
||||||
bindkey "$terminfo[kcud1]" history-substring-search-down
|
bindkey "$terminfo[kcud1]" history-substring-search-down
|
||||||
@ -187,8 +189,7 @@ bindkey '^[[B' history-substring-search-down
|
|||||||
# Apply different settigns for different terminals
|
# Apply different settigns for different terminals
|
||||||
case $(basename "$(cat "/proc/$PPID/comm")") in
|
case $(basename "$(cat "/proc/$PPID/comm")") in
|
||||||
login)
|
login)
|
||||||
RPROMPT="%(?.%{$fg[green]%}✓ %{$reset_color%}.%{$fg[red]%}✗ %{$reset_color%})"
|
RPROMPT="%{$fg[red]%} %(?..[%?])"
|
||||||
# RPROMPT="%{$fg[red]%} %(?..[%?])"
|
|
||||||
alias x='startx ~/.xinitrc' # Type name of desired desktop after x, xinitrc is configured for it
|
alias x='startx ~/.xinitrc' # Type name of desired desktop after x, xinitrc is configured for it
|
||||||
;;
|
;;
|
||||||
# 'tmux: server')
|
# 'tmux: server')
|
||||||
|
Reference in New Issue
Block a user