fx: termfilechooser

This commit is contained in:
2026-10-07 02:32:31 +02:00
parent 875bfca0a6
commit 7f9b31ea55
4 changed files with 27 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, inputs, ... }:
{ lib, pkgs, inputs, ... }:
{
imports = [
@@ -90,24 +90,17 @@
};
};
# TODO: check termfilechooser still works; had to disable this becos of hyprland
# portal = {
# enable = true;
# config = {
# common.default = [ "gtk" ];
# hyprland = {
# default = [
# "gtk"
# "hyprland"
# ];
# org.freedesktop.impl.portal.FileChooser = [ "termfilechooser" ];
# };
# };
# extraPortals = with pkgs; [
# xdg-desktop-portal-gtk
# xdg-desktop-portal-termfilechooser
# ];
# };
portal = {
enable = true;
config.hyprland = {
default = [ "hyprland" ];
"org.freedesktop.impl.portal.FileChooser" = lib.mkForce [ "termfilechooser" ];
};
extraPortals = with pkgs; lib.mkForce [
xdg-desktop-portal-hyprland
xdg-desktop-portal-termfilechooser
];
};
};
@@ -115,7 +108,7 @@
catppuccin = {
cursors = {
enable = true;
accent = "mauve"; # TODO: should maybe be dark? unsure
accent = "dark";
};
qt5ct.enable = true;
};

View File

@@ -53,19 +53,17 @@ in
hyprlandPlugins.hypr-darkwindow
];
portalPackage = null;
# portalPackage = null;
systemd.enable = false;
settings = {
on = [ #TODO: set up exec oncess
on = [
(hyprLib.on-signal "hyprland.start" [
"uwsm app -- opencloud"
''uwsm app -- QT_STYLE_OVERRIDE="" opencloud''
"uwsm app -- openrgb --noautoconnect -p aroace.orp"
"uwsm app -- kitty --class scratchme -d /home/djai/Documents/diary"
"uwsm app -- nohup flameshot"
# these should be done thru systemd already
# hl.exec_cmd("hyprpm reload")
# hl.exec_cmd("hyprctl setcursor Catppuccin-Macchiato-Dark-Cursors 24")
"hyprctl setcursor Catppuccin-Macchiato-Dark-Cursors 24" # really shouldnt be in here but we get veyr large cursors if we dont
])
];