Minor improvements
This commit is contained in:
parent
6b85cb68a9
commit
3a30c5e694
@ -13,7 +13,7 @@ bindsym Print exec "shutter -r"
|
|||||||
|
|
||||||
#screensaver
|
#screensaver
|
||||||
bindsym $mod+shift+backslash exec "cat /tmp/noss&&(rm /tmp/noss;notify-send 'Screensaver Enabled' -t 200)||(touch /tmp/noss;notify-send 'Screensaver Disabled' -t 200)"
|
bindsym $mod+shift+backslash exec "cat /tmp/noss&&(rm /tmp/noss;notify-send 'Screensaver Enabled' -t 200)||(touch /tmp/noss;notify-send 'Screensaver Disabled' -t 200)"
|
||||||
exec --no-startup-id xautolock -time 3 -locker '~/.i3/screensaver.sh'
|
exec --no-startup-id xautolock -time 10 -locker '~/.i3/screensaver.sh'
|
||||||
|
|
||||||
set $bg #121212
|
set $bg #121212
|
||||||
set $fg #9f9f9f
|
set $fg #9f9f9f
|
||||||
@ -179,11 +179,11 @@ exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/uxterm'
|
|||||||
exec --no-startup-id /usr/bin/shutter --min_at_startup
|
exec --no-startup-id /usr/bin/shutter --min_at_startup
|
||||||
exec --no-startup-id /usr/bin/screen -dmS syncthing /home/stonewareslord/Applications/syncthing/syncthing
|
exec --no-startup-id /usr/bin/screen -dmS syncthing /home/stonewareslord/Applications/syncthing/syncthing
|
||||||
exec --no-startup-id "sleep 25;/usr/bin/owncloud"
|
exec --no-startup-id "sleep 25;/usr/bin/owncloud"
|
||||||
exec --no-startup-id /usr/bin/nm-applet
|
|
||||||
exec --no-startup-id /usr/bin/gtk-redshift -l 36.3:-80.3 -t 6500:4000
|
exec --no-startup-id /usr/bin/gtk-redshift -l 36.3:-80.3 -t 6500:4000
|
||||||
exec --no-startup-id /usr/bin/parcellite
|
exec --no-startup-id /usr/bin/parcellite
|
||||||
exec --no-startup-id /usr/bin/numlockx
|
exec --no-startup-id /usr/bin/numlockx
|
||||||
exec --no-startup-id /usr/bin/synapse -s
|
bindsym $mod+p exec dmenu_run -p Run -l 5 -i
|
||||||
|
#exec --no-startup-id /usr/bin/synapse -s
|
||||||
exec --no-startup-id /usr/bin/zeal
|
exec --no-startup-id /usr/bin/zeal
|
||||||
exec --no-startup-id xset -b
|
exec --no-startup-id xset -b
|
||||||
# vim: ts=2:sw=2:et
|
# vim: ts=2:sw=2:et
|
||||||
|
@ -11,16 +11,16 @@ general {
|
|||||||
interval = 1
|
interval = 1
|
||||||
}
|
}
|
||||||
order += "disk /"
|
order += "disk /"
|
||||||
order += "wireless wlan0"
|
order += "wireless wlo1"
|
||||||
order += "ethernet p5p1"
|
order += "ethernet eno1"
|
||||||
order += "volume master"
|
order += "volume master"
|
||||||
order += "battery 1"
|
order += "battery 1"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
wireless wlan0 {
|
wireless wlo1 {
|
||||||
format_up = "%essid : %ip @ %quality"
|
format_up = "%essid : %ip @ %quality"
|
||||||
format_down = "!W"
|
format_down = "!W"
|
||||||
}
|
}
|
||||||
ethernet p5p1 {
|
ethernet eno1 {
|
||||||
# if you use %speed, i3status requires root privileges
|
# if you use %speed, i3status requires root privileges
|
||||||
format_up = "%ip (%speed)"
|
format_up = "%ip (%speed)"
|
||||||
format_down = "!E"
|
format_down = "!E"
|
||||||
@ -41,7 +41,7 @@ volume master {
|
|||||||
battery 1 {
|
battery 1 {
|
||||||
#format = "%status %remaining %emptytime"
|
#format = "%status %remaining %emptytime"
|
||||||
format = "%status %percentage"
|
format = "%status %percentage"
|
||||||
path = "/sys/class/power_supply/BAT0/uevent"
|
path = "/sys/class/power_supply/BAT1/uevent"
|
||||||
low_threshold = 20
|
low_threshold = 20
|
||||||
}
|
}
|
||||||
disk "/" {
|
disk "/" {
|
||||||
|
@ -46,6 +46,10 @@ while getopts ":hbsdpcw" VALUE "$@"; do
|
|||||||
sudo pip install $(grep -vE "^\s*#" $ABSPATH/scripts/pip.txt | tr "\n" " ")
|
sudo pip install $(grep -vE "^\s*#" $ABSPATH/scripts/pip.txt | tr "\n" " ")
|
||||||
fi
|
fi
|
||||||
if [ "$VALUE" = "c" ] ; then
|
if [ "$VALUE" = "c" ] ; then
|
||||||
|
if [ "$2" = "-f" ] ; then
|
||||||
|
# Reinstall antigen
|
||||||
|
rm -rf ~/.antigen
|
||||||
|
fi
|
||||||
echo "Syncing config files"
|
echo "Syncing config files"
|
||||||
if which trash >/dev/null; then
|
if which trash >/dev/null; then
|
||||||
trash ~/.gitconfig ~/.vimperatorrc ~/.vimperator/colors/vimPgray.vimp ~/.bashrc ~/.pylintrc ~/.zshrc ~/.tmux.conf ~/.config/liquidpromptrc
|
trash ~/.gitconfig ~/.vimperatorrc ~/.vimperator/colors/vimPgray.vimp ~/.bashrc ~/.pylintrc ~/.zshrc ~/.tmux.conf ~/.config/liquidpromptrc
|
||||||
|
@ -56,6 +56,7 @@ export EDITOR='vim'
|
|||||||
if [ "$(uname)" != "Darwin" ]; then
|
if [ "$(uname)" != "Darwin" ]; then
|
||||||
alias ls='ls --color=always -F'
|
alias ls='ls --color=always -F'
|
||||||
fi
|
fi
|
||||||
|
alias hc='herbstclient'
|
||||||
alias steam='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown'
|
alias steam='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown'
|
||||||
alias matlab='matlab -glnx86'
|
alias matlab='matlab -glnx86'
|
||||||
alias srm='srm -dv'
|
alias srm='srm -dv'
|
||||||
@ -137,7 +138,7 @@ export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x'
|
|||||||
function ctar(){
|
function ctar(){
|
||||||
DST=$1
|
DST=$1
|
||||||
shift
|
shift
|
||||||
tar -cf - $@|pv -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip>$DST
|
tar -cf - $@|pv -s $(($(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0)))|gzip>$DST
|
||||||
}
|
}
|
||||||
function pcat(){
|
function pcat(){
|
||||||
pygmentize -f terminal "$1" | less -R
|
pygmentize -f terminal "$1" | less -R
|
||||||
|
Loading…
x
Reference in New Issue
Block a user