mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
xd
This commit is contained in:
23
home.nix
23
home.nix
@@ -49,6 +49,9 @@
|
||||
./modules/hypr/hypridle.nix
|
||||
./modules/hypr/hyprlock.nix
|
||||
./modules/hypr/hyprsunset.nix
|
||||
# other stuff
|
||||
./modules/xdg.nix
|
||||
./modules/desktop.nix
|
||||
];
|
||||
|
||||
# === DOTFILES IMPORT ===
|
||||
@@ -64,13 +67,19 @@
|
||||
};
|
||||
|
||||
# XDG
|
||||
xdg.portal.config = {
|
||||
common = {
|
||||
default = [
|
||||
"hyprland"
|
||||
"gtk"
|
||||
];
|
||||
};
|
||||
|
||||
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"
|
||||
];
|
||||
};
|
||||
|
||||
# === 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