refactor: update stylix cursor config and kitty cursor

This commit is contained in:
Youwen Wu 2024-10-31 01:09:48 -07:00
parent 453e984ed1
commit 9171c9c09c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 14 additions and 9 deletions

View file

@ -29,5 +29,11 @@
package = (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; }); package = (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; });
}; };
}; };
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 26;
};
}; };
} }

View file

@ -7,7 +7,6 @@
wl-clipboard wl-clipboard
swaybg swaybg
bibata-cursors
libsForQt5.qtstyleplugin-kvantum libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct libsForQt5.qt5ct
papirus-icon-theme papirus-icon-theme
@ -26,12 +25,12 @@
"$Right" = "L"; "$Right" = "L";
"$Up" = "K"; "$Up" = "K";
"$Down" = "J"; "$Down" = "J";
env = [ # env = [
"HYPRCURSOR_THEME,Bibata-Modern-Ice" # "HYPRCURSOR_THEME,Bibata-Modern-Ice"
"HYPRCURSOR_SIZE,26" # "HYPRCURSOR_SIZE,26"
"XCURSOR_THEME,Bibata-Modern-Ice" # "XCURSOR_THEME,Bibata-Modern-Ice"
"XCURSOR_SIZE,26" # "XCURSOR_SIZE,26"
]; # ];
bind = bind =
[ [
# Application Keybinds # Application Keybinds

View file

@ -15,8 +15,8 @@
allow_remote_control = "socket-only"; allow_remote_control = "socket-only";
listen_on = "unix:/tmp/kitty"; listen_on = "unix:/tmp/kitty";
scrollback_pager = ''nvim --noplugin -c "set signcolumn=no showtabline=0" -c "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer - "''; scrollback_pager = ''nvim --noplugin -c "set signcolumn=no showtabline=0" -c "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer - "'';
cursor = "#c0caf5"; cursor = pkgs.lib.mkForce "#c0caf5";
cursor_text_color = "#1a1b26"; cursor_text_color = pkgs.lib.mkForce "#1a1b26";
}; };
keybindings = { keybindings = {
"kitty_mod+h" = "show_scrollback"; "kitty_mod+h" = "show_scrollback";