theme qt6
among other things..
This commit is contained in:
parent
20108064de
commit
4cca1dc327
16 changed files with 326 additions and 136 deletions
|
|
@ -15,7 +15,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package = pkgs.rofi;
|
||||
package = pkgs.rofi-wayland;
|
||||
|
||||
# Basic configuration
|
||||
terminal = "kitty";
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ in {
|
|||
# bold = mkStringOpt "JetBrainsMonoNL Nerd Font Mono ExtraBold" "Bold Font";
|
||||
# italic = mkStringOpt "JetBrainsMonoNL Nerd Font Mono Bold Italic" "Italic Font";
|
||||
# bold_italic = mkStringOpt "JetBrainsMonoNL Nerd Font Mono ExtraBold Italic" "Bold Italic Font";
|
||||
normal = mkStringOpt "Iosevka" "Normal Font";
|
||||
normal = mkStringOpt "Pragmata Pro Mono" "Normal Font";
|
||||
bold = mkStringOpt "Iosevka ExtraBold" "Bold Font";
|
||||
italic = mkStringOpt "Iosevka Bold Italic" "Italic Font";
|
||||
bold_italic = mkStringOpt "Iosevka ExtraBold Italic" "Bold Italic Font";
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ in {
|
|||
|
||||
settings = {
|
||||
window_padding_width = 12;
|
||||
background_opacity = "0.8";
|
||||
background_opacity = "0.9";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ return {
|
|||
preset = {
|
||||
header = [[
|
||||
/l、
|
||||
(゚、 。 7
|
||||
l ~ヽ
|
||||
(゚、 。 7
|
||||
l ~ヽ
|
||||
じしf_,)ノ
|
||||
]],
|
||||
},
|
||||
|
|
@ -26,9 +26,12 @@ return {
|
|||
},
|
||||
{
|
||||
"catppuccin",
|
||||
opts = { integrations = {
|
||||
blink_cmp = true,
|
||||
} },
|
||||
opts = {
|
||||
transparent_background = true,
|
||||
integrations = {
|
||||
blink_cmp = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
"f-person/git-blame.nvim",
|
||||
{ "nvim-lualine/lualine.nvim", enabled = false },
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ in {
|
|||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
|
||||
set -g @catppuccin_flavor "mocha"
|
||||
set -g @catppuccin_window_status_style "basic"
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g allow-passthrough on
|
||||
|
|
@ -61,6 +60,22 @@ in {
|
|||
|
||||
bind -n M-H previous-window
|
||||
bind -n M-L next-window
|
||||
|
||||
|
||||
bind-key C-j display-popup -E "\
|
||||
tmux list-sessions -F '#{session_name}' |\
|
||||
fzf --reverse --header 'Switch sessions' |\
|
||||
xargs tmux switch-client -t"
|
||||
|
||||
|
||||
set-option -g destroy-unattached on
|
||||
set-option -g exit-empty on
|
||||
set-option -g exit-unattached on
|
||||
|
||||
set-hook -g after-new-session 'run-shell "tmux rename-session \"#{b:pane_current_path}\""'
|
||||
set-hook -g after-new-window 'run-shell "tmux rename-session \"#{b:pane_current_path}\""'
|
||||
set-hook -g after-kill-pane 'run-shell "tmux rename-session \"#{b:pane_current_path}\""'
|
||||
set-hook -g pane-focus-in 'run-shell "tmux rename-session \"#{b:pane_current_path}\""'
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
24
modules/home/rice/qt/default.nix
Normal file
24
modules/home/rice/qt/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.custom; let
|
||||
cfg = config.rice.qt;
|
||||
in {
|
||||
options.rice.qt = with types; {
|
||||
enable = mkBoolOpt false "Enable QT Customization";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
catppuccin.kvantum.enable = true;
|
||||
catppuccin.kvantum.apply = true;
|
||||
|
||||
qt.enable = true;
|
||||
qt.style.name = "kvantum";
|
||||
qt.platformTheme.name = "kvantum";
|
||||
};
|
||||
}
|
||||
|
|
@ -60,7 +60,7 @@ in {
|
|||
bindkey "^[[1;5D" backward-word
|
||||
|
||||
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
tmux attach-session -t default || tmux new-session -s default
|
||||
tmux new-session
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
|
|||
|
|
@ -39,10 +39,6 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [
|
||||
pkgs.xwayland
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue