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
|
STATUS=$PLAYERCTL_STATUS
|
||||||
else
|
else
|
||||||
STATUS="No player is running"
|
STATUS="No player is running"
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" == "--status" ]; then
|
if [ "$1" == "--status" ]; then
|
||||||
|
|
|
@ -26,9 +26,9 @@ super + p
|
||||||
super + shift + q
|
super + shift + q
|
||||||
slock
|
slock
|
||||||
|
|
||||||
# Chrome
|
# Firefox
|
||||||
super + b
|
super + b
|
||||||
google-chrome-unstable
|
firefox-nightly
|
||||||
|
|
||||||
# Discord
|
# Discord
|
||||||
super + d
|
super + d
|
||||||
|
|
|
@ -26,3 +26,5 @@
|
||||||
side-by-side = true
|
side-by-side = true
|
||||||
[diff]
|
[diff]
|
||||||
colorMoved = default
|
colorMoved = default
|
||||||
|
[tag]
|
||||||
|
forceSignAnnotated = true
|
||||||
|
|
|
@ -25,6 +25,12 @@ kscrollup(const Arg* a)
|
||||||
if (n < 0)
|
if (n < 0)
|
||||||
n = term.row + n;
|
n = term.row + n;
|
||||||
|
|
||||||
|
if (term.scr + n > term.histi)
|
||||||
|
n = term.histi - term.scr;
|
||||||
|
|
||||||
|
if (!n)
|
||||||
|
return;
|
||||||
|
|
||||||
if (term.scr <= HISTSIZE-n) {
|
if (term.scr <= HISTSIZE-n) {
|
||||||
term.scr += n;
|
term.scr += n;
|
||||||
selscroll(0, n);
|
selscroll(0, n);
|
||||||
|
|
Reference in a new issue