Compare commits

..

No commits in common. "41217bbee57471743af495fd8a5fb0dbaf88c0a6" and "31e23b25d5da31d10f5ddf86a428e0b1d59cde89" have entirely different histories.

3 changed files with 9 additions and 3 deletions

View file

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

View file

@ -68,6 +68,11 @@ 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,6 +178,7 @@ 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