Compare commits

..

11 Commits

8 changed files with 28 additions and 20 deletions

9
bin/.bin/zoom_screen Executable file
View File

@ -0,0 +1,9 @@
current_resolution=$(xrandr | awk '/DSI1/ {print $4}')
if [[ $current_resolution == 1920x1200* ]];
then
xrandr --size 600x960
else
xrandr --size 1200x1920
fi
chwp

View File

@ -123,5 +123,3 @@ sxhkd &
#. $HOME/.config/bspwm/autostart #. $HOME/.config/bspwm/autostart
#limepanel & #limepanel &
$HOME/.config/polybar/launch.sh & $HOME/.config/polybar/launch.sh &
$HOME/.fehbg

View File

@ -48,7 +48,7 @@ secondary = #e60053
alert = #FF5555 alert = #FF5555
[bar/bspbar1] [bar/bspbar1]
monitor = ${env:MONITOR:DVI-I-1} monitor = ${env:MONITOR:DVI-D-0}
width = 100%:-10 width = 100%:-10
height = 25 height = 25
offset-x = 5 offset-x = 5

View File

@ -1,8 +1,8 @@
# bspwm hotkeys # bspwm hotkeys
# #
# Cleanly quit bspwm # Cleanly quit bspwm
super + shift + a super + shift + q
bspc quit 1 && pkill lemonpanel && pkill lemonbar bspc quit 1
# 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 + }{ampersand,eacute,quotedbl,apostrophe,parenleft,section,egrave,exclam,ccedilla,agrave} super + {_,shift + }{1,2,3,4,5,6,7,8,9,0}
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 + {q,s,z,d} super + {a,s,w,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,z,d} super + shift + {q,s,w,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 + {q,s,z,d} super + ctrl + {a,s,w,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,6 +334,9 @@ 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

View File

@ -0,0 +1 @@
set tw=120

View File

@ -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
} }
} }

View File

@ -37,8 +37,6 @@ 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>
@ -134,4 +132,4 @@ hi Normal ctermfg=None ctermbg=None
hi NonText ctermfg=None ctermbg=None hi NonText ctermfg=None ctermbg=None
packadd termdebug packadd termdebug
let g:termdebug_wide=1 let termdebug_wide=1

View File

@ -176,10 +176,8 @@ 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
@ -189,7 +187,8 @@ 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[red]%} %(?..[%?])" RPROMPT="%(?.%{$fg[green]%} %{$reset_color%}.%{$fg[red]%}✗ %{$reset_color%})"
# 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')