bug fixes
This commit is contained in:
parent
fbcaf5f7ed
commit
efe4d0d80c
4 changed files with 11 additions and 2 deletions
|
@ -36,6 +36,7 @@ if [ $EXIT_CODE -eq 0 ]; then
|
|||
STATUS=$PLAYERCTL_STATUS
|
||||
else
|
||||
STATUS="No player is running"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "$1" == "--status" ]; then
|
||||
|
|
|
@ -26,9 +26,9 @@ super + p
|
|||
super + shift + q
|
||||
slock
|
||||
|
||||
# Chrome
|
||||
# Firefox
|
||||
super + b
|
||||
google-chrome-unstable
|
||||
firefox-nightly
|
||||
|
||||
# Discord
|
||||
super + d
|
||||
|
|
|
@ -26,3 +26,5 @@
|
|||
side-by-side = true
|
||||
[diff]
|
||||
colorMoved = default
|
||||
[tag]
|
||||
forceSignAnnotated = true
|
||||
|
|
|
@ -25,6 +25,12 @@ kscrollup(const Arg* a)
|
|||
if (n < 0)
|
||||
n = term.row + n;
|
||||
|
||||
if (term.scr + n > term.histi)
|
||||
n = term.histi - term.scr;
|
||||
|
||||
if (!n)
|
||||
return;
|
||||
|
||||
if (term.scr <= HISTSIZE-n) {
|
||||
term.scr += n;
|
||||
selscroll(0, n);
|
||||
|
|
Reference in a new issue