bugfix after several pkg updates. new alias introduced.
This commit is contained in:
@@ -15,6 +15,11 @@ window-rule {
|
||||
|
||||
window-rule {
|
||||
match app-id="com.obsproject.Studio"
|
||||
// default-column-width { proportion 0.6; }
|
||||
open-on-output "eDP-1"
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match app-id="Electron" title="Test" // frg2089.BiliLive.Observer
|
||||
match app-id="Electron" title="Blivechat-Openlive" // blivechat
|
||||
default-column-width { proportion 0.42; }
|
||||
@@ -49,7 +54,7 @@ window-rule {
|
||||
window-rule {
|
||||
// match title=r#"Code - OSS$"#
|
||||
match title=r#"Visual Studio Code$"# app-id=r#"^code"#
|
||||
match app-id="krita"
|
||||
// match app-id="krita"
|
||||
|
||||
open-maximized true
|
||||
}
|
||||
|
||||
1
.zshrc
1
.zshrc
@@ -149,6 +149,7 @@ export GPG_TTY=$TTY
|
||||
|
||||
alias uvenv='source .venv/bin/activate'
|
||||
alias noproxy='env -u http_proxy -u https_proxy'
|
||||
alias savebg='cp ~/.local/share/.wallpaper ~/Pictures/img.webp'
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
@@ -18,10 +18,10 @@ from os import getenv
|
||||
from subprocess import run as start_process
|
||||
|
||||
# region config
|
||||
AUD_OUT_EMB = ( # my laptop embedded speaker
|
||||
"alsa_output.pci-0000_00_1f"
|
||||
".3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink"
|
||||
)
|
||||
# AUD_OUT_EMB = ( # my laptop embedded speaker
|
||||
# "alsa_output.pci-0000_00_1f"
|
||||
# ".3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink"
|
||||
# )
|
||||
# better searched by editor like VSCode.
|
||||
AUD_FILE = "~/.local/share/.low_power.wav".replace("~", getenv("HOME"), 1)
|
||||
# endregion config
|
||||
@@ -186,6 +186,6 @@ if __name__ == "__main__":
|
||||
if low_power_detected:
|
||||
start_process([
|
||||
"pw-play",
|
||||
f"--target={AUD_OUT_EMB}",
|
||||
# f"--target={AUD_OUT_EMB}",
|
||||
AUD_FILE
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user