Compare commits

..

No commits in common. "7ba61a7de4f908517d885fe22ebdb014457bde25" and "e49c1a659de6f01daa54620bc9fe493d49a4b3b1" have entirely different histories.

10 changed files with 103 additions and 85 deletions

67
flake.lock generated
View file

@ -43,11 +43,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769245071, "lastModified": 1768182537,
"narHash": "sha256-zNALt0KgqdHkfpr4hs8QtZMDS2SBiLNJmM8m8VnOTg0=", "narHash": "sha256-1Ff3WJ57qPtX8D5srMKzXbsWD+bmC0sZzWIIRdAkmNo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "26e95836ccff731543f898b603b1a213463ce919", "rev": "35a115b97a6dfc196cc479c676556ce3c874ee81",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -122,11 +122,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769187349, "lastModified": 1768068402,
"narHash": "sha256-clG+nT6I2qxjIgk5WoSDKJyNhzKJs9jzbCujPF2S/yg=", "narHash": "sha256-bAXnnJZKJiF7Xr6eNW6+PhBf1lg2P1aFUO9+xgWkXfA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "082a4cd87c6089d1d9c58ebe52655f9e07245fcb", "rev": "8bc5473b6bc2b6e1529a9c4040411e1199c43b4c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -218,11 +218,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1768908865, "lastModified": 1768144432,
"narHash": "sha256-KkzYP2+FVo3wIb2oom2BT7RRGmlvTiEaDJApCpTdcWw=", "narHash": "sha256-6fc6FyEmfwT1Ke+2ib/80XPshc1h2lapIB/HlsaxyP4=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland", "repo": "Hyprland",
"rev": "8f547c6fa089f91e7577947c426f692397e9a5cb", "rev": "fbf421df889ceff3bac08a9f4b9493def5eecc4d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -284,11 +284,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769251059, "lastModified": 1767957561,
"narHash": "sha256-aMCfeMcMKA9UGX2up34iPpzTVGQzbLqyuz77XsCfAtk=", "narHash": "sha256-N0kFdc6tSE0yFeQ/Iit3KNrz4nf2K5xvP3juL7SUyhc=",
"owner": "outfoxxed", "owner": "outfoxxed",
"repo": "hy3", "repo": "hy3",
"rev": "c9d598a9c8a6cf2c977e711db1c65a335b78f5ba", "rev": "3287049e79e9e51431de8c09f9192a18afa1bf35",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -534,11 +534,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1769018530, "lastModified": 1768127708,
"narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=", "narHash": "sha256-1Sm77VfZh3mU0F5OqKABNLWxOuDeHIlcFjsXeeiPazs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "88d3861acdd3d2f0e361767018218e51810df8a1", "rev": "ffbc9f8cbaacfb331b6017d5a5abb21a492c9a38",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -555,11 +555,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769243040, "lastModified": 1768203973,
"narHash": "sha256-nl50Pd82SvwSnhMIjFjEkn7bq/SeP7Fuq1lxbn1/WdU=", "narHash": "sha256-bf+HggwDgQRt47maAe9fbv2sH6uwZnzVy4tTb2nonP8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "4b6d299c772e8bfcd4db8b60f02851766c609e10", "rev": "7a7b3e1d25b93474d988915412e69c6f2401a0b7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -591,26 +591,6 @@
"type": "github" "type": "github"
} }
}, },
"qtengine": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1769015610,
"narHash": "sha256-Uvrb9lpTW77sJvsgO7o2U/BmSAbD8IDdUr9bGmIKtt8=",
"owner": "kosslan",
"repo": "qtengine",
"rev": "10d61da0369c123d8bde94ffc6b60441e5e7c2f3",
"type": "github"
},
"original": {
"owner": "kosslan",
"repo": "qtengine",
"type": "github"
}
},
"quickshell": { "quickshell": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -618,11 +598,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768985439, "lastModified": 1768204289,
"narHash": "sha256-qkU4r+l+UPz4dutMMRZSin64HuVZkEv9iFpu9yMWVY0=", "narHash": "sha256-aXPr9W8AEmPz9+dH8CHIwrppKIjtS3mHyOXR2ppH/aw=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "191085a8821b35680bba16ce5411fc9dbe912237", "rev": "db37dc580afc9db1bc598436649c650138b6166d",
"revCount": 731, "revCount": 723,
"type": "git", "type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell" "url": "https://git.outfoxxed.me/quickshell/quickshell"
}, },
@ -644,7 +624,6 @@
"nix-qml-support": "nix-qml-support", "nix-qml-support": "nix-qml-support",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nur": "nur", "nur": "nur",
"qtengine": "qtengine",
"quickshell": "quickshell", "quickshell": "quickshell",
"stable": "stable", "stable": "stable",
"systems": "systems" "systems": "systems"

View file

@ -48,10 +48,17 @@
inputs.hyprland.follows = "hyprland"; inputs.hyprland.follows = "hyprland";
}; };
qtengine = { /*hyprqt6engine = {
url = "github:kosslan/qtengine"; url = "github:hyprwm/hyprqt6engine";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; inputs.hyprutils.follows = "hyprutils";
inputs.hyprlang.follows = "hyprlang";
};*/
/*qt6engine = {
url = "github:kosslan/qt6engine";
inputs.nixpkgs.follows = "nixpkgs";
};*/
quickshell = { quickshell = {
url = "git+https://git.outfoxxed.me/quickshell/quickshell"; url = "git+https://git.outfoxxed.me/quickshell/quickshell";

View file

@ -9,7 +9,7 @@
wrapper = pkgs.callPackage ({ ... }: pkgs.writeShellScriptBin "hyprland" '' wrapper = pkgs.callPackage ({ ... }: pkgs.writeShellScriptBin "hyprland" ''
${builtins.readFile ./session.sh} ${builtins.readFile ./session.sh}
${config.hyprland-session.prerun} ${config.hyprland-session.prerun}
${lib.getExe' exe "start-hyprland"} -- $@ ${lib.getExe exe} $@
'') {}; '') {};
in { in {
imports = [ hyprland.nixosModules.default ]; imports = [ hyprland.nixosModules.default ];
@ -87,7 +87,6 @@ in {
}; };
}; };
/*
# Without this the portal blocks on desktop portals not being ready... # Without this the portal blocks on desktop portals not being ready...
systemd.user.services.plasma-xdg-desktop-portal-kde.Service = { systemd.user.services.plasma-xdg-desktop-portal-kde.Service = {
ExecStart = "${pkgs.kdePackages.xdg-desktop-portal-kde}/libexec/xdg-desktop-portal-kde"; ExecStart = "${pkgs.kdePackages.xdg-desktop-portal-kde}/libexec/xdg-desktop-portal-kde";
@ -97,7 +96,6 @@ in {
"QT_QPA_PLATFORMTHEME=" "QT_QPA_PLATFORMTHEME="
]; ];
}; };
*/
}; };
}; };
} }

View file

@ -23,7 +23,6 @@
git-lfs git-lfs
vim vim
android-tools android-tools
sshfs
]; ];
services.ntp.enable = true; services.ntp.enable = true;

View file

@ -1,32 +1,7 @@
{ self, lib, config, pkgs, inputs, ... }: { { self, lib, config, pkgs, ... }: {
imports = [ inputs.qtengine.nixosModules.default ];
programs.qtengine = {
enable = true;
config = {
theme = {
colorScheme = "${pkgs.kdePackages.breeze}/share/color-schemes/BreezeDark.colors";
iconTheme = "breeze-dark";
style = "breeze";
fontFixed.family = "JetBrainsMono Nerd Font";
fontFixed.size = 12;
font.family = "DejaVu Sans";
font.size = 12;
};
misc = {
singleClickActivate = false;
menusHaveIcons = true;
shortcutsForContextMenus = true;
};
};
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
qt6.qtwayland qt6.qtwayland
kdePackages.breeze kdePackages.breeze
kdePackages.breeze.qt5
kdePackages.breeze-icons kdePackages.breeze-icons
qt6.qtsvg # needed to load breeze icons qt6.qtsvg # needed to load breeze icons
@ -36,15 +11,35 @@
kdePackages.kirigami.unwrapped kdePackages.kirigami.unwrapped
kdePackages.kirigami-addons kdePackages.kirigami-addons
kdePackages.sonnet kdePackages.sonnet
qt6Packages.qt6ct
]; ];
qt = { qt = {
enable = true; enable = true;
platformTheme = null; platformTheme = "qt5ct";
}; };
home-manager.users.${config.main-user} = { home-manager.users.${config.main-user} = {
imports = [ ./home.nix ]; imports = [ ./home.nix ];
}; };
nixpkgs.overlays = [(final: prev: {
qt6Packages = prev.qt6Packages.overrideScope (qfinal: qprev: {
qt6ct = qprev.qt6ct.overrideAttrs (ctprev: {
src = pkgs.fetchFromGitLab {
domain = "www.opencode.net";
owner = "ilya-fedin";
repo = "qt6ct";
rev = "9d64a13ff6c376380901ef855f3c5e6a1f7afc0d"; # 'kde' branch
sha256 = "vOq5LC5TPRkBfFYzsqyd8wGIzAa6jT7PwWsEj5Dqrqs=";
};
buildInputs = ctprev.buildInputs ++ (with final.kdePackages; [
kconfig
kcolorscheme
kiconthemes
]);
cmakeFlags = [ "-DPLUGINDIR=${placeholder "out"}/lib/qt-6/plugins"];
});
});
})];
} }

View file

@ -4,11 +4,51 @@
Inherits=breeze_cursors Inherits=breeze_cursors
''; '';
xdg.configFile = { xdg.configFile = let
qtctConf = kdecolors: ''
[Appearance]
${if kdecolors then ''
color_scheme_path=${pkgs.kdePackages.breeze}/share/color-schemes/BreezeDark.colors
'' else ''
color_scheme_path=${./colors-qt5ct.conf}
''}
custom_palette=true
icon_theme=breeze-dark
standard_dialogs=xdgdesktopportal
style=Breeze
[Fonts]
fixed="JetBrainsMono Nerd Font,12,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Medium"
general="DejaVu Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
[Interface]
activate_item_on_single_click=1
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=2
double_click_interval=400
keyboard_scheme=2
menus_have_icons=true
show_shortcuts_in_context_menus=true
toolbutton_style=2
underline_shortcut=1
wheel_scroll_lines=3
[Troubleshooting]
force_raster_widgets=0
'';
in {
# fixes dolphin background colors # fixes dolphin background colors
"kdeglobals".source = "${pkgs.kdePackages.breeze}/share/color-schemes/BreezeDark.colors"; "kdeglobals".source = "${pkgs.kdePackages.breeze}/share/color-schemes/BreezeDark.colors";
"qt5ct/qt5ct.conf".text = qtctConf false;
"qt6ct/qt6ct.conf".text = qtctConf true;
}; };
home.packages = [
pkgs.kdePackages.breeze
];
gtk = { gtk = {
enable = true; enable = true;
theme = { theme = {

View file

@ -125,7 +125,6 @@
kdePackages.filelight kdePackages.kirigami kdePackages.kquickcharts # deps kdePackages.filelight kdePackages.kirigami kdePackages.kquickcharts # deps
curl curl
cantata cantata
feishin
logseq logseq
lxqt.pavucontrol-qt lxqt.pavucontrol-qt
helvum helvum

View file

@ -18,7 +18,7 @@ PanelWindow {
property real baseWidth: 55 property real baseWidth: 55
property real leftMargin: root.compactState * 10 property real leftMargin: root.compactState * 10
implicitWidth: baseWidth + 15 width: baseWidth + 15
exclusiveZone: baseWidth + (isFullscreenWorkspace ? 0 : 15) - margins.left exclusiveZone: baseWidth + (isFullscreenWorkspace ? 0 : 15) - margins.left
mask: Region { mask: Region {
@ -42,7 +42,7 @@ PanelWindow {
return Math.max(barRect.anchors.topMargin + height, Math.min(barRect.height + barRect.anchors.topMargin - height, targetY)) return Math.max(barRect.anchors.topMargin + height, Math.min(barRect.height + barRect.anchors.topMargin - height, targetY))
} }
readonly property bool isFullscreenWorkspace: Hyprland.monitorFor(screen).activeWorkspace?.hasFullscreen ?? false readonly property bool isFullscreenWorkspace: Hyprland.monitorFor(screen).activeWorkspace.hasFullscreen
property real compactState: isFullscreenWorkspace ? 0 : 1 property real compactState: isFullscreenWorkspace ? 0 : 1
Behavior on compactState { Behavior on compactState {
NumberAnimation { NumberAnimation {

View file

@ -101,8 +101,8 @@ Scope {
} }
//height: bar.height //height: bar.height
implicitWidth: Math.max(700, tooltipItem.largestAnimWidth) // max due to qtwayland glitches width: Math.max(700, tooltipItem.largestAnimWidth) // max due to qtwayland glitches
implicitHeight: { height: {
const h = tooltipItem.lowestAnimY - tooltipItem.highestAnimY const h = tooltipItem.lowestAnimY - tooltipItem.highestAnimY
//console.log(`seth ${h} ${tooltipItem.highestAnimY} ${tooltipItem.lowestAnimY}; ${tooltipItem.y1} ${tooltipItem.y2}`) //console.log(`seth ${h} ${tooltipItem.highestAnimY} ${tooltipItem.lowestAnimY}; ${tooltipItem.y1} ${tooltipItem.y2}`)
return h return h

View file

@ -1,4 +1,5 @@
//@ pragma ShellId shell //@ pragma ShellId shell
//@ pragma IgnoreSystemSettings
import Quickshell import Quickshell
import Quickshell.Io import Quickshell.Io