Add breeze theme and dolphin

This commit is contained in:
outfoxxed 2023-06-25 20:29:03 -07:00
parent 91339cb16b
commit f0444011cb
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
9 changed files with 319 additions and 3 deletions

View file

@ -40,10 +40,7 @@
(import ./modules/impurity.nix self) (import ./modules/impurity.nix self)
./modules/preserve-system.nix ./modules/preserve-system.nix
./modules/devenv ./modules/devenv
./modules/overlay-pkgs
./modules/core
./modules/system.nix ./modules/system.nix
./modules/user
./modules/hyprland ./modules/hyprland
./systems/lenovo ./systems/lenovo
]; ];

View file

@ -1,4 +1,11 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [
./core
./theme
./overlay-pkgs
./user
];
programs.dconf.enable = true; programs.dconf.enable = true;
services.cpupower-gui.enable = true; services.cpupower-gui.enable = true;

View file

@ -0,0 +1,4 @@
[ColorScheme]
active_colors=#fffcfcfc, #ff31363b, #ff40464c, #ff363b40, #ff191b1d, #ff25292c, #fffcfcfc, #ffffffff, #fffcfcfc, #ff1b1e20, #ff2a2e32, #ff121415, #ff3daee9, #fffcfcfc, #ff1d99f3, #ff9b59b6, #ff232629, #ffffffff, #ff31363b, #fffcfcfc, #80ffffff
disabled_colors=#ff6e7173, #ff2f3338, #ff3e444a, #ff353a3f, #ff181a1c, #ff23272a, #ff656768, #ffffffff, #ff727679, #ff1a1d1f, #ff282c30, #ff111314, #ff282c30, #ff6e7173, #ff1a4665, #ff443051, #ff212427, #ffffffff, #ff31363b, #fffcfcfc, #80ffffff
inactive_colors=#fffcfcfc, #ff31363b, #ff40464c, #ff363b40, #ff191b1d, #ff25292c, #fffcfcfc, #ffffffff, #fffcfcfc, #ff1b1e20, #ff2a2e32, #ff121415, #ff1f485e, #fffcfcfc, #ff1d99f3, #ff9b59b6, #ff232629, #ffffffff, #ff31363b, #fffcfcfc, #80ffffff

52
modules/theme/default.nix Normal file
View file

@ -0,0 +1,52 @@
{ self, config, pkgs, ... }: {
environment.systemPackages = with pkgs; [
qt5ct
breeze-qt5
breeze-gtk
breeze-icons
];
environment.variables = {
"QT_QPA_PLATFORMTHEME" = "qt5ct";
};
home-manager.users.${config.main-user} = {
home = {
file.".icons/default/index.theme".text = ''
[Icon Theme]
Inherits=breeze_cursors
'';
};
xdg.configFile = {
# fixes dolphin background colors
"kdeglobals".source = "${pkgs.breeze-qt5}/share/color-schemes/BreezeDark.colors";
"qt5ct/qt5ct.conf".text = ''
[Appearance]
style=Breeze
# Cantata misbehaves without color overrides. This overrides the breeze colors with the
# exact same colors.
color_scheme_path=${./breeze-dark-colors-override.conf}
custom_palette=true
'';
};
gtk = {
enable = true;
theme = {
package = pkgs.breeze-gtk;
name = "Breeze-Dark";
};
iconTheme = {
package = pkgs.breeze-icons;
name = "breeze-dark";
};
cursorTheme = {
package = pkgs.breeze-gtk;
name = "breeze_cursors";
};
};
};
}

View file

@ -4,6 +4,7 @@
in { in {
imports = [ imports = [
./modules/wofi ./modules/wofi
./modules/dolphin
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -0,0 +1,18 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
dolphin
libssh # sftp
# thumbnails
plasma5Packages.kio
plasma5Packages.kio-extras
plasma5Packages.kimageformats
plasma5Packages.kdegraphics-thumbnailers
];
xdg.configFile."dolphinrc".source = ./dolphinrc;
xdg.dataFile = {
"kxmlgui5/dolphin/dolphinui.rc".source = ./dolphinui.rc;
"dolphin/view_properties/global/.directory".source = ./view_properties;
};
}

View file

@ -0,0 +1,20 @@
MenuBar=Disabled
[General]
BrowseThroughArchives=true
OpenExternallyCalledFolderInNewTab=false
RememberOpenedTabs=false
ShowFullPath=true
ShowSelectionToggle=false
ShowSpaceInfo=false
ShowToolTips=true
ShowZoomSlider=false
Version=202
[KFileDialog Settings]
Places Icons Auto-resize=false
Places Icons Static Size=22
[MainWindow]
MenuBar=Disabled
ToolBarsMovable=Disabled

View file

@ -0,0 +1,211 @@
<!DOCTYPE gui>
<gui version="36" name="dolphin" translationDomain="kxmlgui5">
<MenuBar alreadyVisited="1">
<Menu alreadyVisited="1" name="file" noMerge="1">
<text translationDomain="kxmlgui5">&amp;File</text>
<Action name="file_new"/>
<Separator weakSeparator="1"/>
<Action name="new_menu"/>
<Action name="file_new"/>
<Action name="new_tab"/>
<Action name="file_close"/>
<Action name="undo_close_tab"/>
<Separator/>
<Action name="add_to_places"/>
<Separator/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Separator/>
<Action name="show_target"/>
<Separator/>
<Action name="properties"/>
<Separator weakSeparator="1"/>
<Action name="file_close"/>
<Separator weakSeparator="1"/>
<Action name="file_quit"/>
</Menu>
<Menu alreadyVisited="1" name="edit" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Edit</text>
<Action name="edit_undo"/>
<Separator weakSeparator="1"/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="edit_paste"/>
<Separator weakSeparator="1"/>
<Action name="edit_select_all"/>
<Separator weakSeparator="1"/>
<Action name="edit_find"/>
<Separator weakSeparator="1"/>
<Action name="edit_undo"/>
<Separator/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="copy_location"/>
<Action name="edit_paste"/>
<Separator/>
<Action name="show_filter_bar"/>
<Action name="edit_find"/>
<Separator/>
<Action name="copy_to_inactive_split_view"/>
<Action name="move_to_inactive_split_view"/>
<Action name="edit_select_all"/>
<Action name="invert_selection"/>
</Menu>
<Menu alreadyVisited="1" name="view" noMerge="1">
<text translationDomain="kxmlgui5">&amp;View</text>
<Action name="view_zoom_in"/>
<Action name="view_zoom_out"/>
<Separator weakSeparator="1"/>
<Action name="view_redisplay"/>
<Separator weakSeparator="1"/>
<Action name="view_zoom_in"/>
<Action name="view_zoom_reset"/>
<Action name="view_zoom_out"/>
<Separator/>
<Action name="sort"/>
<Action name="view_mode"/>
<Action name="additional_info"/>
<Action name="show_preview"/>
<Action name="show_in_groups"/>
<Action name="show_hidden_files"/>
<Separator/>
<Action name="split_view"/>
<Action name="split_stash"/>
<Action name="redisplay"/>
<Action name="stop"/>
<Separator/>
<Action name="panels"/>
<Menu name="location_bar" icon="edit-select-text" noMerge="1">
<text translationDomain="dolphin" context="@title:menu">Location Bar</text>
<Action name="editable_location"/>
<Action name="replace_location"/>
</Menu>
<Separator/>
<Action name="view_properties"/>
</Menu>
<Menu alreadyVisited="1" name="go" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Go</text>
<Action name="go_up"/>
<Action name="go_back"/>
<Action name="go_forward"/>
<Action name="go_home"/>
<Separator weakSeparator="1"/>
<Action name="bookmarks"/>
<Action name="closed_tabs"/>
</Menu>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Menu alreadyVisited="1" name="tools" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Tools</text>
<Action name="open_preferred_search_tool"/>
<Action name="open_terminal"/>
<Action name="open_terminal_here"/>
<Action name="focus_terminal_panel"/>
<Action name="compare_files"/>
<Action name="change_remote_encoding"/>
</Menu>
<Menu alreadyVisited="1" name="settings" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Settings</text>
<Action name="options_show_menubar"/>
<Merge name="StandardToolBarMenuHandler"/>
<Merge name="KMDIViewActions"/>
<Action name="options_show_statusbar"/>
<Separator weakSeparator="1"/>
<Action name="switch_application_language"/>
<Action name="options_configure_keybinding"/>
<Action name="options_configure_toolbars"/>
<Action name="options_configure"/>
</Menu>
<Separator weakSeparator="1"/>
<Menu alreadyVisited="1" name="help" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Help</text>
<Action name="help_contents"/>
<Action name="help_whats_this"/>
<Action name="open_kcommand_bar"/>
<Separator weakSeparator="1"/>
<Action name="help_report_bug"/>
<Separator weakSeparator="1"/>
<Action name="help_donate"/>
<Separator weakSeparator="1"/>
<Action name="help_about_app"/>
<Action name="help_about_kde"/>
</Menu>
</MenuBar>
<ToolBar alreadyVisited="1" name="mainToolBar" noMerge="1">
<text translationDomain="dolphin" context="@title:menu">Main Toolbar</text>
<Action name="go_back"/>
<Action name="go_forward"/>
<Separator name="separator_0"/>
<Action name="view_mode"/>
<Action name="url_navigators"/>
<Action name="split_view"/>
<Action name="new_tab"/>
<Action name="view_redisplay"/>
<Action name="hamburger_menu"/>
</ToolBar>
<State name="new_file">
<disable>
<Action name="edit_undo"/>
<Action name="edit_redo"/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="invert_selection"/>
<Separator/>
<Action name="go_back"/>
<Action name="go_forward"/>
</disable>
</State>
<State name="has_selection">
<enable>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="invert_selection"/>
</enable>
</State>
<State name="has_no_selection">
<disable>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="delete_shortcut"/>
<Action name="invert_selection"/>
</disable>
</State>
<ActionProperties scheme="Default">
<Action priority="0" name="go_back"/>
<Action priority="0" name="go_forward"/>
<Action priority="0" name="go_up"/>
<Action priority="0" name="go_home"/>
<Action priority="0" name="stop"/>
<Action priority="0" name="icons"/>
<Action priority="0" name="compact"/>
<Action priority="0" name="details"/>
<Action priority="0" name="view_zoom_in"/>
<Action priority="0" name="view_zoom_reset"/>
<Action priority="0" name="view_zoom_out"/>
<Action priority="0" name="edit_cut"/>
<Action priority="0" name="edit_copy"/>
<Action priority="0" name="edit_paste"/>
<Action priority="0" name="toggle_search"/>
<Action priority="0" name="toggle_filter"/>
<Action priority="0" name="split_view"/>
<Action priority="0" name="view_mode"/>
<Action priority="0" name="new_tab"/>
<Action priority="0" name="view_redisplay"/>
</ActionProperties>
</gui>

View file

@ -0,0 +1,6 @@
[Dolphin]
Version=4
ViewMode=1
[Settings]
HiddenFilesShown=true