-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f3d0a8
commit bc9125c
Showing
5 changed files
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
"pactl set-sink-volume 0 -10%" | ||
"pactl set-sink-volume @DEFAULT_SINK@ -10%" | ||
XF86AudioLowerVolume | ||
"pactl set-sink-volume 0 +10%" | ||
"pactl set-sink-volume @DEFAULT_SINK@ +10%" | ||
XF86AudioRaiseVolume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
mkdir $LWRISO_ROOT/etc/luwrain | ||
cat <<EOF > $LWRISO_ROOT/etc/luwrain/system-start | ||
#!/bin/bash | ||
# Copyright 2022 Michael Pozhidaev <[email protected]> | ||
# Copyright $(date +%Y) Michael Pozhidaev <[email protected]> | ||
|
||
bt-agent-d --capability=NoInputNoOutput | ||
bt-agent -d --capability=NoInputNoOutput | ||
|
||
if [ -r /etc/luwrain/default-user ]; then | ||
USER="\$(cat /etc/luwrain/default-user)" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ chmod 755 $LWRISO_ROOT/home/$LWRISO_USER/.local/bin/dwm-autolaunch | |
|
||
if [ "$LWRISO_LANG" == en ]; then | ||
cat <<EOF > $LWRISO_ROOT/home/$LWRISO_ROOT/.xinitrc | ||
# Copyright 2022 Michael Pozhidaev <[email protected]> | ||
# Copyright $(date +%Y) Michael Pozhidaev <[email protected]> | ||
|
||
export PATH=~/.local/bin:$PATH | ||
export LANG=en_US.UTF-8 | ||
|
@@ -24,24 +24,21 @@ fi | |
|
||
if [ "$LWRISO_LANG" == ru ]; then | ||
cat <<EOF > $LWRISO_ROOT/home/$LWRISO_USER/.xinitrc | ||
# Copyright 2022 Michael Pozhidaev <[email protected]> | ||
# Copyright $(date +%Y) Michael Pozhidaev <[email protected]> | ||
|
||
export PATH=~/.local/bin:$PATH | ||
export LANG=ru_RU.UTF-8 | ||
export VOICEMAN_EMACSPEAK_RATE_FRACTION=2 | ||
#export PULSE_SERVER=/run/pulse/native | ||
export VOICEMAN_LIBAO_DRIVER=alsa | ||
|
||
pulseaudio -D ||: | ||
|
||
if ! [ -e /tmp/voiceman.socket ]; then | ||
/usr/bin/voicemand -d | ||
fi | ||
|
||
setxkbmap -layout "us,ru" | ||
setxkbmap -option "grp:caps_toggle,grp_led:scroll" | ||
xbindkeys | ||
|
||
|
||
pulseaudio -D ||: | ||
export VOICEMAN_EMACSPEAK_RATE_FRACTION=2 | ||
export VOICEMAN_LIBAO_DRIVER=alsa | ||
if ! [ -e /tmp/voiceman.socket ]; then /usr/bin/voicemand -d; fi | ||
|
||
exec dwm-luwrain | ||
EOF | ||
fi |