Compare commits
3 commits
31e23b25d5
...
41217bbee5
Author | SHA1 | Date | |
---|---|---|---|
41217bbee5 | |||
1b487b649f | |||
3dd9e96ac1 |
3 changed files with 3 additions and 9 deletions
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue