Move to scripts dir and edit autostart script

This commit is contained in:
samedamci 2020-03-22 14:43:49 +01:00
parent 270b1a62b6
commit 1125ab4372
6 changed files with 28 additions and 42 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -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" ;;

View File

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