some changes...

This commit is contained in:
Harri Lahtinen 2019-02-08 22:07:18 +02:00
parent 0d5e3c709d
commit fa68744a6e
2 changed files with 17 additions and 49 deletions

View File

@ -82,8 +82,8 @@ exec_always --no-startup-id ~/.config/polybar/launch.sh
#Start udiskie
exec --no-startup-id udiskie &
#Restore wpg
exec --no-startup-id ~/.config/wpg/wp-init.sh
exec --no-startup-id wal -R
exec --no-startup-id ~/.config/wpg/wp_init.sh
#exec --no-startup-id wal -R
#Add wallpaper:
exec --no-startup-id systemctl --user start wallpaper.service
#Unclutter makes the mouse invisible after a brief period
@ -111,9 +111,9 @@ set $beg --no-startup-id mpc seek 0%
set $BROWSER google-chrome-stable
#FOR ALSA/AMIXER
set $inc --no-startup-id amixer sset Master 2%+
set $inc --no-startup-id pactl -- set-sink-volume 0 +2%
set $biginc --no-startup-id amixer sset Master 5%+
set $dec --no-startup-id amixer sset Master 2%-
set $dec --no-startup-id pactl -- set-sink-volume 0 -2%
set $bigdec --no-startup-id amixer sset Master 5%-
set $mute --no-startup-id pactl set-sink-mute 0 toggle
set $truemute --no-startup-id amixer sset Master mute

58
.zshrc
View File

@ -21,19 +21,6 @@ export ZSH=/home/hate/.oh-my-zsh
#ZSH_THEME="agnoster"
ZSH_THEME="spaceship"
#ZSH_THEME="powerlevel9k/powerlevel9k"
# Set list of themes to load
# Setting this variable when ZSH_THEME=random
# cause zsh load theme from this variable instead of
# looking in ~/.oh-my-zsh/themes/
# An empty array have no effect
# ZSH_THEME_RANDOM_CANDIDATES=(f-magic" "robbyrussell" "agnoster" )
#source ~/kube-ps1/kube-ps1.sh
#PROMPT='$(kube_ps1)'$PROMPT
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
#HYPHEN_INSENSITIVE="true"
# Auto completion
autoload -Uz compinit
@ -64,18 +51,6 @@ setopt auto_list # automatically list choices on ambiguous completion
setopt auto_menu # automatically use menu completion
setopt always_to_end # move cursor to end if word had one match
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
#ENABLE_CORRECTION="true"
@ -92,14 +67,20 @@ setopt always_to_end # move cursor to end if word had one match
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(docker helm kube-ps1 kubectl gpg-agent git zsh-autosuggestions zsh-syntax-highlighting archlinux battery tmux extract yadm web-search)
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
archlinux
sudo
tmux
yadm
)
source $ZSH/oh-my-zsh.sh
@ -177,7 +158,7 @@ alias play="ncmpcpp -S visualizer"
alias userkey="gpg --search-keys"
alias wspeedd="speedometer -rx wlp11s0"
alias wspeedu="speedometer -tx wlp11s0"
alias edis='expressvpn disconnect && sudo cp ~/resolv.conf /etc/resolv.conf'
alias edis='expressvpn disconnect'
alias aws1='ssh ubuntu@ec2-18-196-102-236.eu-central-1.compute.amazonaws.com'
alias gcp='gcloud compute ssh instance-1'
@ -188,19 +169,6 @@ if [ -f '/home/hate/google-cloud-sdk/path.zsh.inc' ]; then source '/home/hate/go
# The next line enables shell command completion for gcloud.
if [ -f '/home/hate/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/hate/google-cloud-sdk/completion.zsh.inc'; fi
#Powerlevel9k-options
POWERLEVEL9K_MODE="nerd-complete"
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs load ram disk_usage ip battery time)
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(host context dir vcs custom_wifi_signal)
POWERLEVEL9K_CUSTOM_WIFI_SIGNAL="echo signal: \$(nmcli device wifi | grep yes | awk '{print \$8}')"
POWERLEVEL9K_CUSTOM_WIFI_SIGNAL_BACKGROUND="blue"
POWERLEVEL9K_CUSTOM_WIFI_SIGNAL_FOREGROUND="yellow"
POWERLEVEL9K_BATTERY_STAGES=(
$'▏ ▏' $'▎ ▏' $'▍ ▏' $'▌ ▏' $'▋ ▏' $'▊ ▏' $'▉ ▏' $'█ ▏'
$'█▏ ▏' $'█▎ ▏' $'█▍ ▏' $'█▌ ▏' $'█▋ ▏' $'█▊ ▏' $'█▉ ▏' $'██ ▏'
$'██ ▏' $'██▎ ▏' $'██▍ ▏' $'██▌ ▏' $'██▋ ▏' $'██▊ ▏' $'██▉ ▏' $'███ ▏'
$'███ ▏' $'███▎ ▏' $'███▍ ▏' $'███▌ ▏' $'███▋ ▏' $'███▊ ▏' $'███▉ ▏' $'████ ▏'
$'████ ▏' $'████▎▏' $'████▍▏' $'████▌▏' $'████▋▏' $'████▊▏' $'████▉▏' $'█████▏' )
#Spaceship-options
SPACESHIP_TIME_SHOW="true"
SPACESHIP_BATTERY_SHOW="always"
# Spaceship
# BATTERY
SPACESHIP_BATTERY_SHOW="true"