Fix Signal and scratchpad
parent
f95fae733b
commit
042eef68f8
101
.asoundrc.desk
101
.asoundrc.desk
|
@ -1,96 +1,21 @@
|
||||||
# ------------------------------------------------------
|
|
||||||
# Custom asoundrc file for use with snd-aloop and JACK
|
|
||||||
#
|
|
||||||
# use it like this:
|
|
||||||
# env JACK_SAMPLE_RATE=44100 JACK_PERIOD_SIZE=1024 alsa_in (...)
|
|
||||||
#
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# playback device
|
|
||||||
pcm.aloopPlayback {
|
|
||||||
type dmix
|
|
||||||
ipc_key 1
|
|
||||||
ipc_key_add_uid true
|
|
||||||
slave {
|
|
||||||
pcm "hw:Loopback,0,0"
|
|
||||||
format S32_LE
|
|
||||||
rate {
|
|
||||||
@func igetenv
|
|
||||||
vars [ JACK_SAMPLE_RATE ]
|
|
||||||
default 44100
|
|
||||||
}
|
|
||||||
period_size {
|
|
||||||
@func igetenv
|
|
||||||
vars [ JACK_PERIOD_SIZE ]
|
|
||||||
default 1024
|
|
||||||
}
|
|
||||||
buffer_size 4096
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# capture device
|
|
||||||
pcm.aloopCapture {
|
|
||||||
type dsnoop
|
|
||||||
ipc_key 2
|
|
||||||
ipc_key_add_uid true
|
|
||||||
slave {
|
|
||||||
pcm "hw:Loopback,0,1"
|
|
||||||
format S32_LE
|
|
||||||
rate {
|
|
||||||
@func igetenv
|
|
||||||
vars [ JACK_SAMPLE_RATE ]
|
|
||||||
default 44100
|
|
||||||
}
|
|
||||||
period_size {
|
|
||||||
@func igetenv
|
|
||||||
vars [ JACK_PERIOD_SIZE ]
|
|
||||||
default 1024
|
|
||||||
}
|
|
||||||
buffer_size 4096
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# duplex device
|
|
||||||
pcm.aloopDuplex {
|
|
||||||
type asym
|
|
||||||
playback.pcm "aloopPlayback"
|
|
||||||
capture.pcm "aloopCapture"
|
|
||||||
}
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# default device
|
|
||||||
pcm.!default {
|
pcm.!default {
|
||||||
type plug
|
type plug
|
||||||
slave.pcm "aloopDuplex"
|
slave { pcm "jack" }
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------
|
pcm.jack {
|
||||||
# alsa_in -j alsa_in -dcloop -q 1
|
type jack
|
||||||
pcm.cloop {
|
playback_ports {
|
||||||
type dsnoop
|
0 system:playback_1
|
||||||
ipc_key 3
|
1 system:playback_2
|
||||||
ipc_key_add_uid true
|
|
||||||
slave {
|
|
||||||
pcm "hw:Loopback,1,0"
|
|
||||||
channels 2
|
|
||||||
format S32_LE
|
|
||||||
rate {
|
|
||||||
@func igetenv
|
|
||||||
vars [ JACK_SAMPLE_RATE ]
|
|
||||||
default 44100
|
|
||||||
}
|
}
|
||||||
period_size {
|
capture_ports {
|
||||||
@func igetenv
|
0 system:capture_1
|
||||||
vars [ JACK_PERIOD_SIZE ]
|
1 system:capture_2
|
||||||
default 1024
|
|
||||||
}
|
}
|
||||||
buffer_size 32768
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------
|
ctl.mixer0 {
|
||||||
# alsa_out -j alsa_out -dploop -q 1
|
type hw
|
||||||
pcm.ploop {
|
card 0
|
||||||
type plug
|
|
||||||
slave.pcm "hw:Loopback,1,1"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -232,7 +232,7 @@ for_window [class="(?i)Thunderbird"] move position center
|
||||||
# scratchpad
|
# scratchpad
|
||||||
# Make the currently focused window a scratchpad
|
# Make the currently focused window a scratchpad
|
||||||
bindsym $mod+Shift+BackSpace move scratchpad
|
bindsym $mod+Shift+BackSpace move scratchpad
|
||||||
for_window [class="Signal"] move scratchpad
|
for_window [class="Signal" window_type="normal"] move scratchpad
|
||||||
for_window [class="Telegram"] move scratchpad
|
for_window [class="Telegram"] move scratchpad
|
||||||
# we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad
|
# we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad
|
||||||
for_window [instance="Mail"] move scratchpad
|
for_window [instance="Mail"] move scratchpad
|
||||||
|
|
7
.zshrc
7
.zshrc
|
@ -114,7 +114,7 @@ alias pica_test='mkdir -p ~/sshfs/pica01-test && sshfs qduchemi@pica01-test.pica
|
||||||
eval "$(ssh-agent -s -t 3600)" &>/dev/null
|
eval "$(ssh-agent -s -t 3600)" &>/dev/null
|
||||||
|
|
||||||
alias lt='ls -lath'
|
alias lt='ls -lath'
|
||||||
export PATH=${PATH}:~/doc/picasoft/pass:$HOME/go/bin/:$HOME/.local/bin:/opt/feather:/opt/resolve/bin
|
export PATH=${PATH}:~/doc/picasoft/pass:$HOME/go/bin/:$HOME/.local/bin:/opt/feather:/opt/resolve/bin:/opt
|
||||||
|
|
||||||
source <(mmctl completion zsh)
|
source <(mmctl completion zsh)
|
||||||
|
|
||||||
|
@ -138,3 +138,8 @@ export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
|
||||||
|
|
||||||
alias code=vscodium
|
alias code=vscodium
|
||||||
alias k=kubectl
|
alias k=kubectl
|
||||||
|
alias kk="kubectl -n identibat-back"
|
||||||
|
alias kx="kubectl -n identibat-back exec -it"
|
||||||
|
|
||||||
|
export SCENARI_SSH_USER=qduchemin
|
||||||
|
export SCENARI_SSH_KEY_PATH=$HOME/.ssh/id_rsa
|
||||||
|
|
Loading…
Reference in New Issue