More changes

This commit is contained in:
Austen Adler 2015-07-31 16:55:31 -04:00
parent f724950654
commit b93166e96b
3 changed files with 29 additions and 2 deletions

View File

@ -160,8 +160,8 @@ bindsym $mod+equal exec --no-startup-id banshee --play
# To initialize wallpapers, run: # To initialize wallpapers, run:
# export DISPLAY=:0.0;mkdir -p ~/.i3/wall;cp ~/ownCloud/wallpaper/std/* ~/.i3/wall;cd ~/.i3/wall;rename -v 's/(.* )+//' *;mogrify -resize `xrandr -q|perl -F'\s|,' -lane "/^Sc/&&print join '',@F[8..10]"`^ -verbose -gravity center -format png *;rm *.jpg;rm *.jpeg # export DISPLAY=:0.0;mkdir -p ~/.i3/wall;cp ~/ownCloud/wallpaper/std/* ~/.i3/wall;cd ~/.i3/wall;rename -v 's/(.* )+//' *;mogrify -resize `xrandr -q|perl -F'\s|,' -lane "/^Sc/&&print join '',@F[8..10]"`^ -verbose -gravity center -format png *;rm *.jpg;rm *.jpeg
bindsym $mod+grave exec "i3lock -di `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`" bindsym $mod+grave exec "slock"
bindsym $mod+shift+grave exec "sudo pm-suspend | i3lock -di `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`" bindsym $mod+shift+grave exec "slock"
# Tees the filename to /tmp/wall for debugging # Tees the filename to /tmp/wall for debugging
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+q restart bindsym $mod+q restart

3
zsh/security.zsh Normal file
View File

@ -0,0 +1,3 @@
alias checkrootkits="sudo rkhunter --update; sudo rkhunter --propupd; sudo rkhunter --check"
alias checkvirus="clamscan --recursive=yes --infected /home"
alias updateantivirus="sudo freshclam"

24
zsh/styles.zsh Normal file
View File

@ -0,0 +1,24 @@
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
#ZSH_HIGHLIGHT_STYLES[default]='none'
#ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red'
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=yellow'
#ZSH_HIGHLIGHT_STYLES[alias]='fg=green'
#ZSH_HIGHLIGHT_STYLES[builtin]='fg=green'
#ZSH_HIGHLIGHT_STYLES[function]='fg=green'
#ZSH_HIGHLIGHT_STYLES[command]='fg=green'
#ZSH_HIGHLIGHT_STYLES[precommand]='none'
#ZSH_HIGHLIGHT_STYLES[commandseparator]='none'
#ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=green'
#ZSH_HIGHLIGHT_STYLES[path]='none'
#ZSH_HIGHLIGHT_STYLES[path_prefix]='none'
ZSH_HIGHLIGHT_STYLES[path_approx]='fg=yellow'
#ZSH_HIGHLIGHT_STYLES[globbing]='fg=green'
#ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=green'
#ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=magenta'
#ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=red'
#ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='none'
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=yellow'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=yellow'
#ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan'
#ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan'
#ZSH_HIGHLIGHT_STYLES[assign]='none'