summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/.local/bin/statusbar4
-rw-r--r--nvim/.config/nvim/init.vim1
-rw-r--r--spectrwm/.config/spectrwm/spectrwm.conf12
3 files changed, 8 insertions, 9 deletions
diff --git a/bin/.local/bin/statusbar b/bin/.local/bin/statusbar
index 31f9be0..433b4d5 100755
--- a/bin/.local/bin/statusbar
+++ b/bin/.local/bin/statusbar
@@ -4,8 +4,8 @@ BOLD='\033[1m'
4BB='\033[00m' 4BB='\033[00m'
5 5
6vol(){ 6vol(){
7 vol=$(amixer get Master | awk -F'[][]' 'END{ print $2 }') 7 vol=$(pulsemixer --get-volume | awk '{print $1}')
8 echo -e "+@fg=1;vol+@fg=0; $vol " 8 echo -e "+@fg=1;vol+@fg=0; $vol% "
9} 9}
10 10
11bat() { 11bat() {
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index 3229b65..9686f54 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -8,6 +8,7 @@ Plug 'Shougo/deol.nvim'
8Plug 'ap/vim-css-color' 8Plug 'ap/vim-css-color'
9Plug 'luochen1990/rainbow' 9Plug 'luochen1990/rainbow'
10Plug 'tpope/vim-eunuch' 10Plug 'tpope/vim-eunuch'
11Plug 'tpope/vim-commentary'
11Plug 'scrooloose/nerdtree' 12Plug 'scrooloose/nerdtree'
12Plug 'junegunn/goyo.vim' 13Plug 'junegunn/goyo.vim'
13Plug 'airblade/vim-gitgutter' 14Plug 'airblade/vim-gitgutter'
diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf
index 40738ca..62709ad 100644
--- a/spectrwm/.config/spectrwm/spectrwm.conf
+++ b/spectrwm/.config/spectrwm/spectrwm.conf
@@ -105,11 +105,10 @@ program[term] = urxvtc
105program[menu] = ~/bin/menu 105program[menu] = ~/bin/menu
106program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' 106program[bup] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done'
107program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' 107program[bdown] = sudo bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done'
108program[soundinc] = amixer set Master 5%+ 108program[soundinc] = pulsemixer --change-volume +5
109program[sounddec] = amixer set Master 5%- 109program[sounddec] = pulsemixer --change-volume -5
110program[soundmute] = amixer set Master toggle 110program[soundmute] = pulsemixer --toggle-mute
111program[shut] = ~/.local/bin/shut 111program[shut] = ~/.local/bin/shut
112program[scrot] = scrot
113# program[search] = dmenu $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected 112# program[search] = dmenu $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
114# program[name_workspace] = dmenu $dmenu_bottom -p Workspace -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected 113# program[name_workspace] = dmenu $dmenu_bottom -p Workspace -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
115 114
@@ -123,11 +122,10 @@ bind[soundinc] = XF86AudioRaiseVolume
123bind[sounddec] = XF86AudioLowerVolume 122bind[sounddec] = XF86AudioLowerVolume
124bind[soundmute] = XF86AudioMute 123bind[soundmute] = XF86AudioMute
125bind[shut] = MOD+x 124bind[shut] = MOD+x
126bind[scrot] = Print
127 125
128# Optional default programs that will only be validated if you override: 126# Optional default programs that will only be validated if you override:
129# program[screenshot_all] = screenshot.sh full # optional 127program[screenshot_all] = screenshot full # optional
130# program[screenshot_wind] = screenshot.sh window # optional 128program[screenshot_wind] = screenshot window # optional
131# program[initscr] = initscreen.sh # optional 129# program[initscr] = initscreen.sh # optional
132 130
133# EXAMPLE: Define 'firefox' action and bind to key. 131# EXAMPLE: Define 'firefox' action and bind to key.