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

@@ -77,6 +77,14 @@
]; ];
home-manager.users.djai.xdg.desktopEntries = { home-manager.users.djai.xdg.desktopEntries = {
opencloud = {
name = "opencloud desktop ";
exec = ''QT_STLE_OVERRIDE="" opencloud --showsettings'';
mimeType = [ "application/vnd.opencloud" ];
icon = "opencloud";
settings.StartupWMClass = "opencloud";
};
feishin = { feishin = {
name = "Feishin"; name = "Feishin";
exec = "env XDG_CURRENT_DESKTOP=GNOME feishin"; exec = "env XDG_CURRENT_DESKTOP=GNOME feishin";
@@ -91,7 +99,7 @@
exec = "signal-desktop --disable-features=AudioServiceOutOfProcess -- %u"; exec = "signal-desktop --disable-features=AudioServiceOutOfProcess -- %u";
terminal = false; terminal = false;
categories = [ "InstantMessaging" ]; categories = [ "InstantMessaging" ];
settings = { StartupWMClass = "signal";}; settings.StartupWMClass = "signal";
mimeType = [ mimeType = [
"x-scheme-handler/sgnl" "x-scheme-handler/sgnl"
"x-scheme-handler/signalcaptcha" "x-scheme-handler/signalcaptcha"

View File

@@ -87,6 +87,7 @@
''; '';
sessionVariables = { # TODO: add rest of .config/uwms/env.bck here sessionVariables = { # TODO: add rest of .config/uwms/env.bck here
XCURSOR_SIZE=24;
NEWT_COLORS_FILE = "$HOME/.newtColours"; NEWT_COLORS_FILE = "$HOME/.newtColours";
BROWSER = "librewolf"; BROWSER = "librewolf";
EDITOR = "nvim"; EDITOR = "nvim";

View File

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

View File

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