From 8f77d9894f51738aa0439e2fc6f8222af498036c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czy=C5=BC?= Date: Tue, 12 Nov 2024 13:30:43 +0100 Subject: [PATCH] fix: qt theme fixed --- flake.lock | 95 +- flake.nix | 49 +- .../rosepine-kvantum.kvconfig | 491 ++ .../rosepine-kvantum/rosepine-kvantum.svg | 6799 +++++++++++++++++ home/system/hyprland.nix | 11 +- home/system/theme.nix | 24 +- 6 files changed, 7423 insertions(+), 46 deletions(-) create mode 100644 home/configs/rosepine-kvantum/rosepine-kvantum.kvconfig create mode 100644 home/configs/rosepine-kvantum/rosepine-kvantum.svg diff --git a/flake.lock b/flake.lock index ce998d0..5f51a17 100644 --- a/flake.lock +++ b/flake.lock @@ -293,6 +293,24 @@ } }, "flake-utils_3": { + "inputs": { + "systems": "systems_7" + }, + "locked": { + "lastModified": 1726560853, + "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_4": { "inputs": { "systems": [ "stylix", @@ -473,11 +491,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1731340175, - "narHash": "sha256-IfE7lqNFfFyzAu3pe2XTeNovU9tVzJeGLzQ2B8Segy0=", + "lastModified": 1731372835, + "narHash": "sha256-QZJlKczljD8irXWDixqGXpsk6E4soTsaXTV/KY+CJdU=", "ref": "refs/heads/main", - "rev": "f5fa84554ffe55e29a397014964238be89ffa54d", - "revCount": 5448, + "rev": "a29cfa78431a054a093f3c843228bac6783a6d33", + "revCount": 5449, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -1082,6 +1100,22 @@ } }, "nixpkgs_8": { + "locked": { + "lastModified": 1731139594, + "narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_9": { "locked": { "lastModified": 1731139594, "narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=", @@ -1099,11 +1133,11 @@ }, "nur": { "locked": { - "lastModified": 1731336490, - "narHash": "sha256-hoH/MuM9TDJgxFt2HeHWiF2NOSxSYH7ImFpRvivJkfA=", + "lastModified": 1731407316, + "narHash": "sha256-b0AdjynJwJmg+gXrPvXVTbLJPnInoyG48zKIiNWkcoc=", "owner": "nix-community", "repo": "NUR", - "rev": "7a90da52e605c22684cedc506e02d574042baa72", + "rev": "33f52fb5eb91a1736e371ba6f47f34cec0a50f2a", "type": "github" }, "original": { @@ -1149,12 +1183,32 @@ "nix-alien": "nix-alien", "nixpkgs": "nixpkgs_7", "nur": "nur", + "rosepine-kvantum": "rosepine-kvantum", "spicetify-nix": "spicetify-nix", "split-monitor-workspaces": "split-monitor-workspaces", "stylix": "stylix", "zen-browser": "zen-browser" } }, + "rosepine-kvantum": { + "inputs": { + "flake-utils": "flake-utils_3", + "nixpkgs": "nixpkgs_8" + }, + "locked": { + "lastModified": 1731413701, + "narHash": "sha256-s8gvBOYtbnz88OuBFNzE/cmNcW+CU5yBxnjQtd9Amyk=", + "owner": "eRgo35", + "repo": "RosePine-Kvantum", + "rev": "af3ed811e982e76ae180c3103a24c36e74627c6c", + "type": "github" + }, + "original": { + "owner": "eRgo35", + "repo": "RosePine-Kvantum", + "type": "github" + } + }, "rust-overlay": { "inputs": { "flake-utils": [ @@ -1188,11 +1242,11 @@ ] }, "locked": { - "lastModified": 1731298576, - "narHash": "sha256-l2m0LcSohbU7FXhdlJC/jbxt9PEvFfIcdEXQdSzbvL4=", + "lastModified": 1731384954, + "narHash": "sha256-lTq/3IR2RoIKqbP8PORTV/iEdxVee6MyHMsjgIOQs4s=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "c503d1e7521af93013b6253a5f4899ea62a3c5a3", + "rev": "a3cffdcb8992825929b115ea8030f806ed1ad24f", "type": "github" }, "original": { @@ -1229,13 +1283,13 @@ "base16-helix": "base16-helix", "base16-vim": "base16-vim", "flake-compat": "flake-compat_5", - "flake-utils": "flake-utils_3", + "flake-utils": "flake-utils_4", "gnome-shell": "gnome-shell", "home-manager": "home-manager_3", "nixpkgs": [ "nixpkgs" ], - "systems": "systems_7", + "systems": "systems_8", "tinted-foot": "tinted-foot", "tinted-kitty": "tinted-kitty", "tinted-tmux": "tinted-tmux" @@ -1359,6 +1413,21 @@ "type": "github" } }, + "systems_8": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "tinted-foot": { "flake": false, "locked": { @@ -1452,7 +1521,7 @@ }, "zen-browser": { "inputs": { - "nixpkgs": "nixpkgs_8" + "nixpkgs": "nixpkgs_9" }, "locked": { "lastModified": 1731344149, diff --git a/flake.nix b/flake.nix index 389b422..68c58b0 100644 --- a/flake.nix +++ b/flake.nix @@ -7,6 +7,7 @@ nur.url = "github:nix-community/NUR"; nix-alien.url = "github:thiagokokada/nix-alien"; zen-browser.url = "github:eRgo35/zen-browser-flake"; + rosepine-kvantum.url = "github:eRgo35/RosePine-Kvantum"; hyprsunset.url = "github:hyprwm/hyprsunset"; hyprsysteminfo.url = "github:/hyprwm/hyprsysteminfo"; @@ -50,35 +51,37 @@ }; }; - outputs = { nixpkgs, ... } @inputs: { + outputs = + { nixpkgs, ... }@inputs: + { - nixosConfigurations = { - zion = nixpkgs.lib.nixosSystem { - modules = [ ./hosts ]; - specialArgs = { - inherit inputs; - username = "mike"; - hostname = "zion"; + nixosConfigurations = { + zion = nixpkgs.lib.nixosSystem { + modules = [ ./hosts ]; + specialArgs = { + inherit inputs; + username = "mike"; + hostname = "zion"; + }; }; - }; - thor = nixpkgs.lib.nixosSystem { - modules = [ ./hosts ]; - specialArgs = { - inherit inputs; - username = "mike"; - hostname = "thor"; + thor = nixpkgs.lib.nixosSystem { + modules = [ ./hosts ]; + specialArgs = { + inherit inputs; + username = "mike"; + hostname = "thor"; + }; }; - }; - server = nixpkgs.lib.nixosSystem { - modules = [ ./hosts ]; - specialArgs = { - inherit inputs; - username = "mike"; - hostname = "server"; + server = nixpkgs.lib.nixosSystem { + modules = [ ./hosts ]; + specialArgs = { + inherit inputs; + username = "mike"; + hostname = "server"; + }; }; }; }; - }; } diff --git a/home/configs/rosepine-kvantum/rosepine-kvantum.kvconfig b/home/configs/rosepine-kvantum/rosepine-kvantum.kvconfig new file mode 100644 index 0000000..6e7348b --- /dev/null +++ b/home/configs/rosepine-kvantum/rosepine-kvantum.kvconfig @@ -0,0 +1,491 @@ +[%General] +author=Sourav Gope +comment=rosepine kvantum theme +x11drag=menubar_and_primary_toolbar +alt_mnemonic=true +left_tabs=true +attach_active_tab=true +mirror_doc_tabs=true +group_toolbar_buttons=false +toolbar_item_spacing=1 +toolbar_interior_spacing=3 +spread_progressbar=true +composite=true +menu_shadow_depth=5 +menu_separator_height=6 +tooltip_shadow_depth=6 +splitter_width=4 +scroll_width=6 +scroll_arrows=false +scroll_min_extent=60 +slider_width=2 +slider_handle_width=18 +slider_handle_length=18 +center_toolbar_handle=true +check_size=14 +textless_progressbar=false +progressbar_thickness=2 +menubar_mouse_tracking=true +toolbutton_style=1 +double_click=false +translucent_windows=true +blurring=true +popup_blurring=true +vertical_spin_indicators=false +spin_button_width=32 +fill_rubberband=false +merge_menubar_with_toolbar=true +small_icon_size=16 +large_icon_size=32 +button_icon_size=16 +toolbar_icon_size=22 +combo_as_lineedit=true +animate_states=false +button_contents_shift=false +combo_menu=true +hide_combo_checkboxes=true +combo_focus_rect=true +groupbox_top_label=true +inline_spin_indicators=false +joined_inactive_tabs=false +layout_spacing=6 +layout_margin=9 +scrollbar_in_view=true +transient_scrollbar=true +transient_groove=false +submenu_overlap=0 +tooltip_delay=-1 +tree_branch_line=true +dark_titlebar=true +opaque=QMPlay2,kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,trojita,dragon,digikam +reduce_window_opacity=18 +scrollable_menu=false +submenu_delay=250 +no_inactiveness=false +no_window_pattern=false +reduce_menu_opacity=0 +respect_DE=true +contrast=1.00 +dialog_button_layout=0 +intensity=1.00 +saturation=1.00 + +[GeneralColors] +window.color=#26233a +base.color=#26233a +alt.base.color=#1f1d2e +button.color=#3c4454 +light.color=#1f1d2e +mid.light.color=#1f1d2e +dark.color=#1f1d2e +mid.color=#1f1d2e +highlight.color=#524f67 +inactive.highlight.color=#1f1d2e +text.color=#e0def4 +window.text.color=#e0def4 +button.text.color=#e0def4 +disabled.text.color=#e0def4 +tooltip.text.color=#e0def4 +highlight.text.color=#e0def4 +link.color=#9ccfd8 +link.visited.color=#31748f +progress.indicator.text.color=#e0def4 + +[Hacks] +transparent_ktitle_label=true +transparent_dolphin_view=true +transparent_pcmanfm_sidepane=true +blur_translucent=true +transparent_menutitle=true +respect_darkness=true +kcapacitybar_as_progressbar=true +force_size_grip=true +iconless_pushbutton=false +iconless_menu=false +disabled_icon_opacity=70 +lxqtmainmenu_iconsize=22 +normal_default_pushbutton=true +single_top_toolbar=true +tint_on_mouseover=0 +transparent_pcmanfm_view=true +middle_click_scroll=false +no_selection_tint=false +opaque_colors=false +scroll_jump_workaround=false + +[PanelButtonCommand] +frame=true +frame.element=button +frame.top=3 +frame.bottom=3 +frame.left=3 +frame.right=3 +interior=true +interior.element=button +indicator.size=8 +text.normal.color=#e0def4 +text.focus.color=#e0def4 +text.press.color=#e0def4 +text.toggle.color=#e0def4 +text.shadow=0 +text.margin=1 +text.iconspacing=4 +indicator.element=arrow +text.margin.top=2 +text.margin.bottom=2 +text.margin.left=2 +text.margin.right=2 +min_width=+0.3font +min_height=+0.3font +frame.expansion=6 + +[PanelButtonTool] +inherits=PanelButtonCommand + +[Dock] +inherits=PanelButtonCommand +interior.element=dock +frame.element=dock +frame.top=1 +frame.bottom=1 +frame.left=1 +frame.right=1 +text.normal.color=#e0def4 + +[DockTitle] +inherits=PanelButtonCommand +frame=false +interior=false +text.normal.color=#e0def4 +text.focus.color=#c8c8ca +text.bold=false + +[IndicatorSpinBox] +inherits=PanelButtonCommand +frame=true +interior=true +frame.left=1 +indicator.element=spin +indicator.size=10 +text.normal.color=#e0def4 + +[RadioButton] +inherits=PanelButtonCommand +frame=false +interior.element=radio +text.normal.color=#e0def4 +text.focus.color=#908caa + +[CheckBox] +inherits=PanelButtonCommand +frame=false +interior.element=checkbox +text.normal.color=#e0def4 +text.focus.color=#908caa + +[Focus] +inherits=PanelButtonCommand +frame=true +frame.element=focus +frame.top=1 +frame.bottom=1 +frame.left=1 +frame.right=1 +frame.patternsize=20 + +[GenericFrame] +inherits=PanelButtonCommand +frame=true +interior=false +frame.element=common +interior.element=common +frame.top=1 +frame.bottom=1 +frame.left=1 +frame.right=1 + +[LineEdit] +inherits=PanelButtonCommand +frame.element=lineedit +interior.element=lineedit +text.margin.left=0 +text.margin.right=0 + +[DropDownButton] +inherits=PanelButtonCommand +indicator.element=arrow-down + +[IndicatorArrow] +indicator.element=arrow +indicator.size=8 + +[ToolboxTab] +inherits=PanelButtonCommand +text.normal.color=#e0def4 +text.focus.color=#908caa +text.press.color=#908caa + +[Tab] +inherits=PanelButtonCommand +interior.element=tab +text.margin.left=8 +text.margin.right=8 +text.margin.top=2 +text.margin.bottom=2 +frame.element=tab +indicator.element=tab +frame.top=4 +frame.bottom=4 +frame.left=4 +frame.right=4 +text.normal.color=#e0def4 +text.focus.color=#e0def4 +text.toggle.color=#e0def4 +frame.expansion=0 + +[TabFrame] +inherits=PanelButtonCommand +frame.element=tabframe +interior.element=tabframe +frame.top=4 +frame.bottom=4 +frame.left=4 +frame.right=4 + +[TreeExpander] +inherits=PanelButtonCommand +indicator.size=12 +indicator.element=tree + +[HeaderSection] +inherits=PanelButtonCommand +interior.element=header +frame.element=header +frame.top=1 +frame.bottom=1 +frame.left=1 +frame.right=1 +text.bold=false +text.normal.color=#e0def4 +text.focus.color=#908caa +text.press.color=#e0def4 +text.toggle.color=#e0def4 +frame.expansion=0 + +[SizeGrip] +indicator.element=resize-grip + +[Toolbar] +inherits=PanelButtonCommand +indicator.element=toolbar +indicator.size=5 +text.margin=0 +frame=true +interior.element=menubar +frame.element=menubar +text.normal.color=#e0def4 +text.focus.color=#908caa +frame.left=0 +frame.right=0 +frame.top=0 +frame.bottom=1 +frame.expansion=0 + +[Slider] +inherits=PanelButtonCommand +frame.element=slider +interior.element=slider +frame.top=3 +frame.bottom=3 +frame.left=3 +frame.right=3 + +[SliderCursor] +inherits=PanelButtonCommand +frame=false +interior.element=slidercursor + +[Progressbar] +inherits=PanelButtonCommand +frame.element=progress +interior.element=progress +text.margin=0 +text.normal.color=#e0def4 +text.focus.color=#e0def4 +text.press.color=#e0def4 +text.toggle.color=#e0def4 +text.bold=false +frame.expansion=8 + +[ProgressbarContents] +inherits=PanelButtonCommand +frame=true +frame.element=progress-pattern +interior.element=progress-pattern + +[ItemView] +inherits=PanelButtonCommand +text.margin=0 +frame.element=itemview +interior.element=itemview +frame.top=2 +frame.bottom=2 +frame.left=2 +frame.right=2 +text.margin.top=2 +text.margin.bottom=2 +text.margin.left=4 +text.margin.right=4 +text.normal.color=#e0def4 +text.focus.color=#e0def4 +text.press.color=#e0def4 +text.toggle.color=#e0def4 +min_width=+0.3font +min_height=+0.3font +frame.expansion=0 + +[Splitter] +indicator.size=48 + +[Scrollbar] +inherits=PanelButtonCommand +indicator.element=arrow +indicator.size=8 + +[ScrollbarSlider] +inherits=PanelButtonCommand +interior.element=scrollbarslider +interior=true +frame=false +frame.expansion=48 + +[ScrollbarGroove] +inherits=PanelButtonCommand +interior.element=scrollbargroove +interior=true +frame=false +frame.expansion=48 + +[MenuItem] +inherits=PanelButtonCommand +frame=true +frame.element=menuitem +interior.element=menuitem +indicator.element=menuitem +text.normal.color=#e0def4 +text.focus.color=#e0def4 +text.margin.top=1 +text.margin.bottom=1 +text.margin.left=4 +text.margin.right=4 +frame.top=3 +frame.bottom=3 +frame.left=3 +frame.right=3 +text.bold=false +min_width=+0.3font +min_height=+0.3font +frame.expansion=0 + +[MenuBar] +inherits=PanelButtonCommand +frame.element=menubar +interior.element=menubar +text.normal.color=#e0def4 +frame.bottom=0 +frame.expansion=0 + +[MenuBarItem] +inherits=PanelButtonCommand +interior=true +interior.element=menubaritem +frame.element=menubaritem +frame.top=2 +frame.bottom=2 +frame.left=2 +frame.right=2 +text.margin.left=4 +text.margin.right=4 +text.margin.top=0 +text.margin.bottom=0 +text.normal.color=#e0def4 +text.focus.color=#e0def4 +frame.expansion=0 + +[TitleBar] +inherits=PanelButtonCommand +frame=false +text.margin.top=2 +text.margin.bottom=2 +text.margin.left=2 +text.margin.right=2 +interior.element=titlebar +indicator.size=16 +indicator.element=mdi +text.normal.color=#e0def4 +text.focus.color=#e0def4 +text.bold=true +text.italic=false +frame.expansion=0 + +[ComboBox] +inherits=PanelButtonCommand +interior.element=combo +frame.element=combo +text.press.color=#e0def4 +indicator.element=carrow + +[Menu] +inherits=PanelButtonCommand +frame.top=1 +frame.bottom=1 +frame.left=1 +frame.right=1 +frame.element=menu +interior.element=menu +text.normal.color=#e0def4 +text.shadow=false +frame.expansion=0 + +[GroupBox] +inherits=GenericFrame +frame=false +text.shadow=0 +text.margin=0 +text.normal.color=#e0def4 +text.focus.color=#e0def4 +text.bold=true +frame.expansion=0 + +[TabBarFrame] +inherits=GenericFrame +frame=true +frame.element=tabBarFrame +interior=false +frame.top=4 +frame.bottom=4 +frame.left=4 +frame.right=4 + +[ToolTip] +inherits=GenericFrame +frame.top=3 +frame.bottom=3 +frame.left=3 +frame.right=3 +interior=true +text.shadow=0 +text.margin=0 +interior.element=tooltip +frame.element=tooltip +frame.expansion=0 + +[StatusBar] +inherits=GenericFrame +frame=false +interior=false +interior=false + +[Window] +interior=true +interior.element=window diff --git a/home/configs/rosepine-kvantum/rosepine-kvantum.svg b/home/configs/rosepine-kvantum/rosepine-kvantum.svg new file mode 100644 index 0000000..746e326 --- /dev/null +++ b/home/configs/rosepine-kvantum/rosepine-kvantum.svg @@ -0,0 +1,6799 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/home/system/hyprland.nix b/home/system/hyprland.nix index 1c29bb6..9ae839d 100644 --- a/home/system/hyprland.nix +++ b/home/system/hyprland.nix @@ -21,6 +21,8 @@ wev wlr-randr wdisplays + # wl-copy + # wl-paste # wf-recorder # wl-screenrec @@ -631,7 +633,6 @@ }; - ################################# # Hyprpaper ################################# @@ -693,10 +694,10 @@ } # { - # timeout = 1800; # 30min - # on-timeout = "systemctl hibernate"; - # on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed - # on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. + # timeout = 1800; # 30min + # on-timeout = "systemctl hibernate"; + # on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed + # on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. # } ]; }; diff --git a/home/system/theme.nix b/home/system/theme.nix index bcf2a93..1436594 100644 --- a/home/system/theme.nix +++ b/home/system/theme.nix @@ -1,23 +1,37 @@ { lib, - config, pkgs, + inputs, ... -}: { +}: +let + +in +{ qt = { enable = true; - platformTheme = "qtct"; + platformTheme.name = "qtct"; style = { name = "kvantum"; }; }; xdg.configFile = { + # "Kvantum/kvantum.kvconfig".text = '' + # [General] + # theme=GraphiteNordDark + # ''; + + # "Kvantum/GraphiteNord".source = "${pkgs.graphite-kde-theme}/share/Kvantum/GraphiteNord"; + "Kvantum/kvantum.kvconfig".text = '' [General] - theme=GraphiteNordDark + theme=rosepine-kvantum ''; - "Kvantum/GraphiteNord".source = "${pkgs.graphite-kde-theme}/share/Kvantum/GraphiteNord"; + "Kvantum/rosepine-kvantum".source = "${ + inputs.rosepine-kvantum.packages.${pkgs.system}.default + }/share/Kvantum/rosepine-kvantum"; + # "Kvantum/rosepine".source = ../configs/Kvantum/rosepine-kvantum; }; }