Minor fixes

This commit is contained in:
js0ny 2025-04-16 20:33:09 +01:00
parent 94461cdebb
commit 78400e4a6a
8 changed files with 12 additions and 11 deletions

View file

@ -43,7 +43,7 @@ ModifierOnlyKeyTimeout=250
0=Tab
[Hotkey/TogglePreedit]
0=Control+Alt+P
# 0=Control+Alt+P
[Behavior]
# 默认状态为激活

View file

@ -118,7 +118,7 @@ general {
gaps_in = 0
gaps_out = 0
border_size = 3
border_size = 5
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = $lavender $pink 45deg
@ -140,8 +140,8 @@ decoration {
rounding = 0
# Change transparency of focused and unfocused windows
active_opacity = 0.9
inactive_opacity = 0.6
active_opacity = 1
inactive_opacity = 0.9
shadow {
enabled = true

View file

@ -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 = kwriteconfig5 --group "General" --key "ColorScheme" "BreezeLight"
exec = ln -sf ~/.config/waybar/light.css ~/.config/waybar/current.css
exec = ln -sf ~/.config/rofi/light.rasi ~/.config/rofi/current.rasi

View file

@ -25,5 +25,6 @@
base: #eff1f5;
mantle: #e6e9ef;
crust: #dce0e8;
accent: @lavender;
}

View file

@ -345,7 +345,7 @@ unmap("yma")
unmap("ymc")
unmap("ymv")
map("ym", "yank link as markdown", function () {
mapkey("ym", "yank link as markdown", function () {
const url = new URL(window.location.href);
const title = document.title;
Clipboard.write(`[${title}](${url.origin + url.pathname})`);

View file

@ -60,8 +60,7 @@ abbr --add ipy ipython
abbr --add g lazygit
abbr --add doomrc "emacsclient -t ~/.config/doom/"
abbr --add aic "aichat -s"
# lsd - modern ls
if command -v lsd > /dev/null

View file

@ -2,13 +2,13 @@ switch (uname)
case "Linux"
set SYSTEM_COLOR_SCHEME (gsettings get org.gnome.desktop.interface color-scheme)
if test $SYSTEM_COLOR_SCHEME = "'prefer-dark'"
set -g fish_config_theme "Catppuccin Mocha"
fish_config theme choose "Catppuccin Mocha"
else
set -g fish_config_theme "Catppuccin Latte"
fish_config theme choose "Catppuccin Latte"
end
case "Darwin"
set SYSTEM_COLOR_SCHEME defaults read -g AppleInterfaceStyle
echo "[TODO] Check if dark mode is enabled in macOS"
case '*'
set -g fish_config_theme "Catppuccin Mocha"
fish_config theme choose "Catppuccin Mocha"
end

View file

@ -23,7 +23,7 @@ return {
{ "<leader>cs", "<cmd>FzfLua treesitter<CR>", desc = "Search symbols" },
{ "<leader>cS", "<cmd>FzfLua grep_string<CR>", desc = "Search current symbol" },
{ "<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" },
},
opts = {},