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
[[Snippets]] | |
Description = "Arch removes pkg with fzf." | |
Filename = "/home/hypr/.config/pet/snippet.toml" | |
Output = "" | |
Tag = ["archlinux", "fzf"] | |
command = "pacman -Qq | fzf --multi --preview 'pacman -Qi {1}' | xargs -ro sudo pacman -Rns" | |
[[Snippets]] | |
Description = "Arch Linux installs pkg with fzf." |
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
~/.config/pipewire/pipewire.conf.d/10-bt-headphones-default.conf | |
=========== | |
context.properties = [ | |
default.configured.audio.sink = { "name": "bluez_output.AC_12_2F_24_80_86.1" } | |
] | |
===========使用pipewire的模块消除麦克风的回音 | |
~/.config/pipewire/pipewire.conf.d/20-echo-cancel.conf | |
=========== | |
context.modules = [ | |
{ name = libpipewire-module-echo-cancel |
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
# _ __ | |
# | |_ _ __ ___ _ ___ __ ___ ___ _ __ / _| | |
# | __| '_ ` _ \| | | \ \/ / / __/ _ \| '_ \| |_ | |
# | |_| | | | | | |_| |> < | (_| (_) | | | | _| | |
#(_)__|_| |_| |_|\__,_/_/\_(_)___\___/|_| |_|_| | |
# tmux version tmux 3.5 | |
# https://github.com/tmux/tmux | |
## 配置参考:http://louiszhai.github.io/2017/09/30/tmux/ |
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
" ~/.vim/vimrc | |
" _ | |
"__ _(_)_ __ ___ _ __ ___ | |
"\ \ / / | '_ ` _ \| '__/ __| | |
" \ V /| | | | | | | | | (__ | |
" \_/ |_|_| |_| |_|_| \___| | |
" | |
" Arch linux | |
" $ sudo pacman -S vim fzf |
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
syntax on " enable syntax highlighting | |
set background=dark " we like it dark! | |
try | colorscheme gruvbox | catch | endtry " use this awesome theme if possible | |
highlight Pmenu ctermbg=black guibg=black | " fix popup color so it's easier to read | |
filetype plugin on " load plugins based on file type | |
filetype indent on " load indent settings based on file type | |
set shiftwidth=2 " number of spaces to use for indenting | |
set softtabstop=2 " number of spaces to use when inserting a tab | |
set tabstop=2 " show tabs as 2 spaces | |
set expandtab " convert tabs into spaces |
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
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
import sys | |
import os | |
import dlib | |
import glob | |
import numpy | |
from skimage import io | |
import time |