Compare commits

..

2 commits

2 changed files with 50 additions and 53 deletions

View file

@ -9,17 +9,20 @@
./services/email/default.nix ./services/email/default.nix
./services/calendar/default.nix ./services/calendar/default.nix
]; ];
home.packages = with pkgs; [ home = {
packages = with pkgs; [
webcord webcord
signal-desktop signal-desktop
whatsapp-for-linux whatsapp-for-linux
x2goclient x2goclient
]; ];
file.${config.gtk.gtk2.configLocation}.force = true; # Stop clashing with KDE
};
services.syncthing.enable = true; services.syncthing.enable = true;
programs.mpv.enable = true; programs.mpv.enable = true;
gtk = { gtk = {
enable = true; enable = true;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/dummyrc"; # Stop clashing with KDE gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
iconTheme = { iconTheme = {
package = pkgs.papirus-icon-theme; package = pkgs.papirus-icon-theme;
name = "Papirus"; name = "Papirus";
@ -51,6 +54,12 @@
}; };
}; };
configFile = { configFile = {
# Ensure GTK config is set
"gtk-3.0/gtk.css".force = true;
"gtk-3.0/settings.ini".force = true;
"gtk-4.0/gtk.css".force = true;
"gtk-4.0/settings.ini".force = true;
# Autostart some programs
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop"; "autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop"; "autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
}; };

View file

@ -70,15 +70,27 @@
panels = [ panels = [
{ {
height = 24; height = 32;
lengthMode = "fill"; lengthMode = "fill";
location = "top"; location = "bottom";
alignment = "center"; alignment = "center";
hiding = "normalpanel"; hiding = "normalpanel";
floating = true; floating = true;
widgets = [ widgets = [
"org.kde.plasma.appmenu" {
"org.kde.plasma.panelspacer" name = "org.kde.plasma.kicker";
config.General = {
icon = "nix-snowflake";
appNameFormat = 0;
limitDepth = true;
alphaSort = true;
recentOrdering = 0;
showRecentApps = true;
showRecentDocs = true;
showIconsRootLevel = true;
};
}
"org.kde.plasma.marginsseparator"
{ {
name = "org.kde.plasma.pager"; name = "org.kde.plasma.pager";
config.General = { config.General = {
@ -88,6 +100,24 @@
}; };
} }
"org.kde.plasma.panelspacer" "org.kde.plasma.panelspacer"
{
name = "org.kde.plasma.icontasks";
config.General = {
maxStripes = "1";
showToolTips = "true";
launchers = [
"preferred://filemanager"
"preferred://browser"
"applications:emacs.desktop"
"applications:writer.desktop"
"applications:calc.desktop"
"applications:impress.desktop"
"applications:org.kde.elisa.desktop"
"applications:systemsettings.desktop"
];
};
}
"org.kde.plasma.panelspacer"
"org.kde.plasma.marginsseparator" "org.kde.plasma.marginsseparator"
"org.kde.plasma.keyboardindicator" "org.kde.plasma.keyboardindicator"
"org.kde.plasma.cameraindicator" "org.kde.plasma.cameraindicator"
@ -124,48 +154,6 @@
} }
]; ];
} }
{
height = 48;
lengthMode = "fit";
location = "bottom";
alignment = "center";
hiding = "dodgewindows";
floating = true;
screen = "all";
widgets = [
{
name = "org.kde.plasma.kickoff";
config.General = {
icon = "nix-snowflake";
primaryActions = "0";
favoritesDisplay = "0";
applicationsDisplay = "1";
pin = "false";
showActionButtonCaptions = "true";
compactMode = "false";
};
}
"org.kde.plasma.marginsseparator"
{
name = "org.kde.plasma.icontasks";
config.General = {
maxStripes = "1";
showToolTips = "true";
launchers = [
"preferred://filemanager"
"preferred://browser"
"applications:emacs.desktop"
"applications:writer.desktop"
"applications:calc.desktop"
"applications:impress.desktop"
"applications:org.kde.elisa.desktop"
"applications:Alacritty.desktop"
"applications:systemsettings.desktop"
];
};
}
];
}
]; ];
shortcuts = { shortcuts = {