mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-10-27 19:20:43 +01:00
xd
This commit is contained in:
23
home.nix
23
home.nix
@@ -49,6 +49,9 @@
|
|||||||
./modules/hypr/hypridle.nix
|
./modules/hypr/hypridle.nix
|
||||||
./modules/hypr/hyprlock.nix
|
./modules/hypr/hyprlock.nix
|
||||||
./modules/hypr/hyprsunset.nix
|
./modules/hypr/hyprsunset.nix
|
||||||
|
# other stuff
|
||||||
|
./modules/xdg.nix
|
||||||
|
./modules/desktop.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# === DOTFILES IMPORT ===
|
# === DOTFILES IMPORT ===
|
||||||
@@ -64,13 +67,19 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# XDG
|
# XDG
|
||||||
xdg.portal.config = {
|
|
||||||
common = {
|
xdg.desktopEntries.x = {
|
||||||
default = [
|
name = "X";
|
||||||
"hyprland"
|
genericName = "Social Media Client";
|
||||||
"gtk"
|
comment = "Open X (twitter)";
|
||||||
];
|
exec = "uwsm app -- chromium --app=https://x.com";
|
||||||
};
|
icon = "twitter";
|
||||||
|
terminal = false;
|
||||||
|
categories = [
|
||||||
|
"Network"
|
||||||
|
"WebBrowser"
|
||||||
|
"X-Social"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# === VARS ===
|
# === VARS ===
|
||||||
|
|||||||
31
modules/desktop.nix
Normal file
31
modules/desktop.nix
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
xdg.desktopEntries = {
|
||||||
|
x = {
|
||||||
|
name = "X";
|
||||||
|
genericName = "Social Media Client";
|
||||||
|
comment = "Open X (twitter)";
|
||||||
|
exec = "uwsm app -- chromium --app=https://x.com";
|
||||||
|
icon = "twitter";
|
||||||
|
terminal = false;
|
||||||
|
categories = [
|
||||||
|
"Network"
|
||||||
|
"WebBrowser"
|
||||||
|
"X-Social"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
proton-mail = {
|
||||||
|
name = "Proton mail";
|
||||||
|
genericName = "Proton mail";
|
||||||
|
comment = "Open Proton Mail";
|
||||||
|
exec = "uwsm app -- chromium --app=https://mail.proton.me/u/0/inbox.com";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Email" ];
|
||||||
|
settings = {
|
||||||
|
StartupWMClass = "proton-mail.com";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
12
modules/xdg.nix
Normal file
12
modules/xdg.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
xdg.portal.config = {
|
||||||
|
common = {
|
||||||
|
default = [
|
||||||
|
"hyprland"
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user