diff --git a/botfiles/.config/gtk-2.0/gtkfilechooser.ini b/botfiles/.config/gtk-2.0/gtkfilechooser.ini index 24f2c76..374b384 100644 --- a/botfiles/.config/gtk-2.0/gtkfilechooser.ini +++ b/botfiles/.config/gtk-2.0/gtkfilechooser.ini @@ -2,8 +2,8 @@ LocationMode=path-bar ShowHidden=true ShowSizeColumn=true -GeometryX=540 -GeometryY=237 +GeometryX=538 +GeometryY=223 GeometryWidth=840 GeometryHeight=630 SortColumn=name diff --git a/botfiles/.config/nvim/plugins.vim b/botfiles/.config/nvim/plugins.vim index be82e22..c643711 100644 --- a/botfiles/.config/nvim/plugins.vim +++ b/botfiles/.config/nvim/plugins.vim @@ -120,7 +120,8 @@ let g:fzf_colors = \ 'spinner': ['fg', 'Label'], \ 'header': ['fg', 'Comment'] } -let g:fzf_layout = { 'down': '~20%' } +let g:fzf_layout = { 'down': '~40%' } +let g:fzf_preview_window = 'right:60%' " gitgutter set updatetime=1000 diff --git a/botfiles/.config/qutebrowser/qsettings/QtProject.conf b/botfiles/.config/qutebrowser/qsettings/QtProject.conf index 5869aae..caa9709 100644 --- a/botfiles/.config/qutebrowser/qsettings/QtProject.conf +++ b/botfiles/.config/qutebrowser/qsettings/QtProject.conf @@ -1,6 +1,6 @@ [FileDialog] -history=file:///home/samedamci/Pictures/Screenshots, file:///home/samedamci/.scripts/rofi-keepassxc -lastVisited=file:///home/samedamci/.scripts/rofi-keepassxc +history=file:///home/samedamci/Pictures/Screenshots, file:///home/samedamci/.scripts/rofi-keepassxc, file:///home/samedamci/Pictures +lastVisited=file:///home/samedamci/Pictures/Screenshots qtVersion=5.14.1 shortcuts=file:, file:///home/samedamci sidebarWidth=90 diff --git a/botfiles/.config/autostart/autostart.sh b/botfiles/.scripts/autostart similarity index 61% rename from botfiles/.config/autostart/autostart.sh rename to botfiles/.scripts/autostart index 2d1e79d..b1ee3d7 100755 --- a/botfiles/.config/autostart/autostart.sh +++ b/botfiles/.scripts/autostart @@ -5,55 +5,39 @@ # | (_| | |_| | || (_) \__ \ || (_| | | | |_ # \__,_|\__,_|\__\___/|___/\__\__,_|_| \__| -#~~~~~~ -# APPS -#~~~~~~ -# MPD -killall -q mpd -while pgrep -u $UID -x mpd >/dev/null; do sleep 1; done -mpd & -# POLYBAR +# Load .Xresources +xrdb ~/.Xresources +# Wallpaper +feh --bg-fill --randomize /home/samedamci/.config/wallpapers/1920x1080/ & + +# Polybar killall -q polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done polybar polybarexe & -# SXHKD +# Polybar killall -q sxhkd while pgrep -u $UID -x sxhkd >/dev/null; do sleep 1; done sxhkd & -# DUNST +# Dunst killall -q dunst while pgrep -u $UID -x dunst >/dev/null; do sleep 1; done dunst & -# LXSESSION -killall -q lxsession -while pgrep -u $UID -x lxsession >/dev/null; do sleep 1; done -lxsession & -# PICOM +# Picom killall -q picom while pgrep -u $UID -x picom >/dev/null; do sleep 1; done picom & -# TELEGRAM -kkillall -q telegram-desktop -while pgrep -u $UID -x telegram-desktop >/dev/null; do sleep 1; done -telegram-desktop & -#~~~~~~~ -# OTHER -#~~~~~~~ -# Welcome notify -dunstify "Hello ${USER}!" -# Wallpaper -feh --bg-fill --randomize /home/samedamci/.config/wallpapers/1920x1080/ & -# Keyboard layout & key swaping +# Set keyboard layout & key swaping setxkbmap -layout 'pl' -option caps:swapescape & # Cursor xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal -# Refresh .Xresources -xrdb ~/.Xresources -# udiskie -killall -q udiskie -while pgrep -u $UID -x udiskie >/dev/null; do sleep 1; done -udiskie & -# clipmenud -clipmenud & +# Not reload +[[ -z $(pgrep udiskie) ]] && udiskie & +[[ -z $(pgrep clipmenud) ]] && clipmenud & +[[ -z $(pgrep mpd) ]] && mpd & +[[ -z $(pgrep dunst) ]] && dunst & +telegram-desktop & + +# Welcome notify +dunstify "Hello ${USER}!" diff --git a/botfiles/.scripts/websearch b/botfiles/.scripts/websearch index 401c488..a68bbe2 100755 --- a/botfiles/.scripts/websearch +++ b/botfiles/.scripts/websearch @@ -1,10 +1,10 @@ #!/usr/bin/env sh bookmarks="redd.it\narch wiki\ninvidio.us\ngithub\ngitlab\ndotfiles\npython doc\nvulcan" -PHRASE=$(printf "${bookmarks}" | dmenu -h 24 -p "Web search:") +PHRASE="$(printf "${bookmarks}" | dmenu -h 24 -p "Web search:")" case "$PHRASE" in - "redd.it") PG="https://old.reddit.com" ;; + "redd.it") PG="https://reddit.com" ;; "arch wiki") PG="https://wiki.archlinux.org" ;; "invidio.us") PG="https://invidio.us" ;; "github") PG="https://github.com" ;; diff --git a/botfiles/.shellrc b/botfiles/.shellrc index 1bb9121..b7be794 100644 --- a/botfiles/.shellrc +++ b/botfiles/.shellrc @@ -70,6 +70,7 @@ alias mirrors='sudo reflector --latest 200 --protocol http --protocol https --so alias copy='xclip -selection clipboard' alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0' alias c256='(x=`tput op` y=`printf %76s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done)' +alias ...='cd ~/Dotfiles' #~~~~~~~~~~~~~~~~~ # Commands Colors