mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Minor fixes
This commit is contained in:
parent
94461cdebb
commit
78400e4a6a
8 changed files with 12 additions and 11 deletions
|
|
@ -43,7 +43,7 @@ ModifierOnlyKeyTimeout=250
|
||||||
0=Tab
|
0=Tab
|
||||||
|
|
||||||
[Hotkey/TogglePreedit]
|
[Hotkey/TogglePreedit]
|
||||||
0=Control+Alt+P
|
# 0=Control+Alt+P
|
||||||
|
|
||||||
[Behavior]
|
[Behavior]
|
||||||
# 默认状态为激活
|
# 默认状态为激活
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ general {
|
||||||
gaps_in = 0
|
gaps_in = 0
|
||||||
gaps_out = 0
|
gaps_out = 0
|
||||||
|
|
||||||
border_size = 3
|
border_size = 5
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||||
col.active_border = $lavender $pink 45deg
|
col.active_border = $lavender $pink 45deg
|
||||||
|
|
@ -140,8 +140,8 @@ decoration {
|
||||||
rounding = 0
|
rounding = 0
|
||||||
|
|
||||||
# Change transparency of focused and unfocused windows
|
# Change transparency of focused and unfocused windows
|
||||||
active_opacity = 0.9
|
active_opacity = 1
|
||||||
inactive_opacity = 0.6
|
inactive_opacity = 0.9
|
||||||
|
|
||||||
shadow {
|
shadow {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
|
||||||
|
|
@ -81,3 +81,4 @@ exec = gsettings set org.gnome.desktop.interface gtk-theme "BreezeLight" # for
|
||||||
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-light" # for GTK4 apps
|
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-light" # for GTK4 apps
|
||||||
exec = kwriteconfig5 --group "General" --key "ColorScheme" "BreezeLight"
|
exec = kwriteconfig5 --group "General" --key "ColorScheme" "BreezeLight"
|
||||||
exec = ln -sf ~/.config/waybar/light.css ~/.config/waybar/current.css
|
exec = ln -sf ~/.config/waybar/light.css ~/.config/waybar/current.css
|
||||||
|
exec = ln -sf ~/.config/rofi/light.rasi ~/.config/rofi/current.rasi
|
||||||
|
|
|
||||||
|
|
@ -25,5 +25,6 @@
|
||||||
base: #eff1f5;
|
base: #eff1f5;
|
||||||
mantle: #e6e9ef;
|
mantle: #e6e9ef;
|
||||||
crust: #dce0e8;
|
crust: #dce0e8;
|
||||||
|
accent: @lavender;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -345,7 +345,7 @@ unmap("yma")
|
||||||
unmap("ymc")
|
unmap("ymc")
|
||||||
unmap("ymv")
|
unmap("ymv")
|
||||||
|
|
||||||
map("ym", "yank link as markdown", function () {
|
mapkey("ym", "yank link as markdown", function () {
|
||||||
const url = new URL(window.location.href);
|
const url = new URL(window.location.href);
|
||||||
const title = document.title;
|
const title = document.title;
|
||||||
Clipboard.write(`[${title}](${url.origin + url.pathname})`);
|
Clipboard.write(`[${title}](${url.origin + url.pathname})`);
|
||||||
|
|
|
||||||
|
|
@ -60,8 +60,7 @@ abbr --add ipy ipython
|
||||||
|
|
||||||
abbr --add g lazygit
|
abbr --add g lazygit
|
||||||
|
|
||||||
|
abbr --add aic "aichat -s"
|
||||||
abbr --add doomrc "emacsclient -t ~/.config/doom/"
|
|
||||||
|
|
||||||
# lsd - modern ls
|
# lsd - modern ls
|
||||||
if command -v lsd > /dev/null
|
if command -v lsd > /dev/null
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ switch (uname)
|
||||||
case "Linux"
|
case "Linux"
|
||||||
set SYSTEM_COLOR_SCHEME (gsettings get org.gnome.desktop.interface color-scheme)
|
set SYSTEM_COLOR_SCHEME (gsettings get org.gnome.desktop.interface color-scheme)
|
||||||
if test $SYSTEM_COLOR_SCHEME = "'prefer-dark'"
|
if test $SYSTEM_COLOR_SCHEME = "'prefer-dark'"
|
||||||
set -g fish_config_theme "Catppuccin Mocha"
|
fish_config theme choose "Catppuccin Mocha"
|
||||||
else
|
else
|
||||||
set -g fish_config_theme "Catppuccin Latte"
|
fish_config theme choose "Catppuccin Latte"
|
||||||
end
|
end
|
||||||
case "Darwin"
|
case "Darwin"
|
||||||
set SYSTEM_COLOR_SCHEME defaults read -g AppleInterfaceStyle
|
set SYSTEM_COLOR_SCHEME defaults read -g AppleInterfaceStyle
|
||||||
echo "[TODO] Check if dark mode is enabled in macOS"
|
echo "[TODO] Check if dark mode is enabled in macOS"
|
||||||
case '*'
|
case '*'
|
||||||
set -g fish_config_theme "Catppuccin Mocha"
|
fish_config theme choose "Catppuccin Mocha"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ return {
|
||||||
{ "<leader>cs", "<cmd>FzfLua treesitter<CR>", desc = "Search symbols" },
|
{ "<leader>cs", "<cmd>FzfLua treesitter<CR>", desc = "Search symbols" },
|
||||||
{ "<leader>cS", "<cmd>FzfLua grep_string<CR>", desc = "Search current symbol" },
|
{ "<leader>cS", "<cmd>FzfLua grep_string<CR>", desc = "Search current symbol" },
|
||||||
{ "<leader>bB", "<cmd>FzfLua buffers<CR>", desc = "List Buffers" },
|
{ "<leader>bB", "<cmd>FzfLua buffers<CR>", desc = "List Buffers" },
|
||||||
{ "<leader>fl", ":FzfLua filetypes", desc = "Set Filetype/Lang to ..." },
|
{ "<leader>fl", "<cmd>FzfLua filetypes<CR>", desc = "Set Filetype/Lang to ..." },
|
||||||
{ "<leader>R", "<cmd>FzfLua resume<CR>", desc = "Resume FzfLua" },
|
{ "<leader>R", "<cmd>FzfLua resume<CR>", desc = "Resume FzfLua" },
|
||||||
},
|
},
|
||||||
opts = {},
|
opts = {},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue