Compare commits

...

3 commits

Author SHA1 Message Date
41217bbee5 neovim: Remove map ; : 2019-02-18 17:38:57 +01:00
1b487b649f i3: Improve backlight performance 2019-02-18 17:38:57 +01:00
3dd9e96ac1 i3: Remove media keys 2019-02-18 17:38:57 +01:00
3 changed files with 3 additions and 9 deletions

View file

@ -1,10 +1,10 @@
#!/usr/bin/fish
xbacklight $argv[1..-1]
set brightness (xbacklight -get)
set bar (seq -s "─" 0 (math $brightness / 3) | tr -d '[:digit:]')
set brightness (cat /sys/class/backlight/intel_backlight/brightness)
set bar (seq -s "─" 0 (math $brightness / 36) | tr -d '[:digit:]')
set percentage (printf '%44s%d%%' '' "$brightness")
set percentage (printf '%44s%d%%' '' (math $brightness / 12))
set body "$percentage\n $bar"
set title ' Brightness'

View file

@ -68,11 +68,6 @@ bindsym $mod+Shift+space floating toggle
# focus the parent container
bindsym $mod+a focus parent
# media keys
bindsym $mod+equal exec --no-startup-id playerctl play-pause
bindsym $mod+Shift+9 exec --no-startup-id playerctl previous
bindsym $mod+Shift+0 exec --no-startup-id playerctl next
# focus the child container
#bindsym $mod+d focus child

View file

@ -178,7 +178,6 @@ nnoremap <silent> <C-t> :tabnew<CR>
nnoremap <silent> <C-n> :tabnext<CR>
nnoremap <silent> <C-p> :tabprevious<CR>
nnoremap <C-[> <C-t>
map ; :
""" Cache
set backupdir=~/.nvim/backup