diff options
| -rw-r--r--[-rwxr-xr-x] | emacs/.local/share/applications/emacsclient.desktop | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | emacs/.local/share/applications/mimeapps.list | 0 | ||||
| -rw-r--r-- | i3/.i3status.conf | 9 | ||||
| -rwxr-xr-x | scripts/bin/notifyvolume | 2 | ||||
| -rw-r--r-- | zsh/.zshrc | 3 |
5 files changed, 12 insertions, 2 deletions
diff --git a/emacs/.local/share/applications/emacsclient.desktop b/emacs/.local/share/applications/emacsclient.desktop index 1629a69..1629a69 100755..100644 --- a/emacs/.local/share/applications/emacsclient.desktop +++ b/emacs/.local/share/applications/emacsclient.desktop | |||
diff --git a/emacs/.local/share/applications/mimeapps.list b/emacs/.local/share/applications/mimeapps.list index a5853b0..a5853b0 100755..100644 --- a/emacs/.local/share/applications/mimeapps.list +++ b/emacs/.local/share/applications/mimeapps.list | |||
diff --git a/i3/.i3status.conf b/i3/.i3status.conf index 3a4b727..3d24f04 100644 --- a/i3/.i3status.conf +++ b/i3/.i3status.conf | |||
| @@ -28,6 +28,13 @@ ethernet _first_ { | |||
| 28 | 28 | ||
| 29 | battery 0 { | 29 | battery 0 { |
| 30 | format = "%status %percentage %remaining" | 30 | format = "%status %percentage %remaining" |
| 31 | format_down = "No battery" | ||
| 32 | status_chr = "⚡ CHR" | ||
| 33 | status_bat = "🔋 BAT" | ||
| 34 | status_unk = "? UNK" | ||
| 35 | status_full = "☻ FULL" | ||
| 36 | path = "/sys/class/power_supply/BAT%d/uevent" | ||
| 37 | low_threshold = 10 | ||
| 31 | } | 38 | } |
| 32 | 39 | ||
| 33 | run_watch DHCP { | 40 | run_watch DHCP { |
| @@ -56,4 +63,4 @@ volume master { | |||
| 56 | device = "default" | 63 | device = "default" |
| 57 | mixer = "Master" | 64 | mixer = "Master" |
| 58 | mixer_idx = 0 | 65 | mixer_idx = 0 |
| 59 | } \ No newline at end of file | 66 | } |
diff --git a/scripts/bin/notifyvolume b/scripts/bin/notifyvolume index 0da7337..4b43b00 100755 --- a/scripts/bin/notifyvolume +++ b/scripts/bin/notifyvolume | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | 2 | ||
| 3 | exec /usr/bin/notify-send -t 1000 -i volume-knob "Volume $(amixer -q | grep -A5 Master | grep '%' | cut -d'[' -f2 | cut -d']' -f1)" | 3 | exec amixer set Master $@ | grep "Mono: Playback" | cut -d '[' -f2 | cut -d ']' -f1 | xargs /usr/bin/notify-send -t 500 -i volume-knob |
| @@ -56,7 +56,10 @@ source $ZSH/oh-my-zsh.sh | |||
| 56 | export LANG=en_US.UTF-8 | 56 | export LANG=en_US.UTF-8 |
| 57 | export MANPATH="/usr/local/man:$MANPATH" | 57 | export MANPATH="/usr/local/man:$MANPATH" |
| 58 | 58 | ||
| 59 | # Enable direnv (https://github.com/direnv/direnv/) | ||
| 60 | eval "$(direnv hook zsh)" | ||
| 59 | # PATH setup | 61 | # PATH setup |
| 62 | |||
| 60 | export PATH="$HOME/bin:$HOME/.cargo/bin:/usr/local/go/bin/:$PATH" | 63 | export PATH="$HOME/bin:$HOME/.cargo/bin:/usr/local/go/bin/:$PATH" |
| 61 | if [ -f /usr/local/go/bin/go ]; then | 64 | if [ -f /usr/local/go/bin/go ]; then |
| 62 | export PATH="$PATH:$GOROOT/bin:$(go env GOPATH)/bin" | 65 | export PATH="$PATH:$GOROOT/bin:$(go env GOPATH)/bin" |