Merge branch 'master' of gitee.com:klesh/dotfiles

This commit is contained in:
Klesh Wong 2021-02-25 23:13:07 +08:00
commit e5b5e0e21b
7 changed files with 62 additions and 5 deletions

View File

@ -55,6 +55,7 @@ if status is-interactive
# === PATH and file sourcing # === PATH and file sourcing
append_paths ~/bin ~/.local/bin ~/.yarn/bin ~/dotfiles/bin ~/dotfiles/devops/bin append_paths ~/bin ~/.local/bin ~/.yarn/bin ~/dotfiles/bin ~/dotfiles/devops/bin
source_files /usr/share/autojump/autojump.fish /usr/local/share/autojump/autojump.fish \ source_files /usr/share/autojump/autojump.fish /usr/local/share/autojump/autojump.fish \
~/.jabba/jabba.fish \
~/.profile.fish ~/.profile.fish
# === auto cd into last activated directory # === auto cd into last activated directory

9
devel/dbeaver.md Normal file
View File

@ -0,0 +1,9 @@
从 aliyun maven 仓库下载驱动:
Window -> Preferences -> Connections -> Drviers -> Maven -> Add
```
http://maven.aliyun.com/nexus/content/groups/public/
```
然后移到最上面

View File

@ -25,7 +25,8 @@ esac
# build and install picom # build and install picom
#intorepo https://github.com/klesh/picom.git "$DIR/repos/picom" #intorepo https://github.com/klesh/picom.git "$DIR/repos/picom"
intorepo https://github.com/yshui/picom.git "$DIR/repos/picom" #intorepo https://github.com/yshui/picom.git "$DIR/repos/picom"
intorepo https://github.com/ibhagwan/picom.git "$DIR/repos/picom"
meson --buildtype=release . build meson --buildtype=release . build
sudo ninja -C build install sudo ninja -C build install
exitrepo exitrepo

View File

@ -1,4 +1,39 @@
################################# #################################
# Corners #
#################################
# requires: https://github.com/sdhand/compton
corner-radius = 7.0;
rounded-corners-exclude = [
#"window_type = 'normal'",
"class_g = 'awesome'",
"class_g = 'URxvt'",
"class_g = 'XTerm'",
"class_g = 'kitty'",
"class_g = 'Alacritty'",
#"class_g = 'Polybar'",
"class_g = 'code-oss'",
"class_g = 'firefox'",
"class_g = 'Thunderbird'"
];
round-borders = 3;
round-borders-exclude = [
#"class_g = 'TelegramDesktop'",
];
# Specify a list of border width rules, in the format `PIXELS:PATTERN`,
# Note we don't make any guarantee about possible conflicts with the
# border_width set by the window manager.
#
# example:
# round-borders-rule = [ "2:class_g = 'URxvt'" ];
#
round-borders-rule = [
"3:class_g = 'XTerm'",
"3:class_g = 'URxvt'",
"10:class_g = 'Alacritty'",
"15:class_g = 'Signal'"
];
#################################
# Shadows # # Shadows #
################################# #################################
@ -141,7 +176,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
# blur-method = # blur-method =
# blur-size = 12 # blur-size = 15
# #
# blur-deviation = false # blur-deviation = false
# #
@ -389,6 +424,7 @@ log-file = "/tmp/picom.log"
# #
wintypes: wintypes:
{ {
normal = { fade = false; shadow = false; }
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; } dock = { shadow = false; }
dnd = { shadow = false; } dnd = { shadow = false; }

View File

@ -11,7 +11,7 @@ stop() {
start() { start() {
echo start echo start
picom -b --experimental-backends \ picom -b --experimental-backends \
--blur-method dual_kawase --blur-strength 6 \ --blur-method dual_kawase --blur-strength 7 --blur-size 15 \
--no-fading-openclose --no-fading-openclose
sleep 1 sleep 1
! pgrep -x picom >/dev/null && echo 'fallback' && picom -b --no-fading-openclose ! pgrep -x picom >/dev/null && echo 'fallback' && picom -b --no-fading-openclose

View File

@ -0,0 +1,9 @@
# install scrcpy
https://github.com/Genymobile/scrcpy
# install guiscrcpy
https://guiscrcpy.srevinsaju.me/

View File

@ -112,8 +112,9 @@
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
// These two lines additionally bind them to Ctrl+C and Ctrl+V. // These two lines additionally bind them to Ctrl+C and Ctrl+V.
// To learn more about selection, visit https://aka.ms/terminal-selection // To learn more about selection, visit https://aka.ms/terminal-selection
{ "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" }, // { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": "paste", "keys": "ctrl+v" }, // { "command": "paste", "keys": "ctrl+v" },
// AMD Radeon Software might use Ctrl+Shift+C causing hotkey not working on Windows Termainl
// Press Ctrl+Shift+F to open the search box // Press Ctrl+Shift+F to open the search box
{ "command": "find", "keys": "ctrl+shift+f" }, { "command": "find", "keys": "ctrl+shift+f" },