Use zen as browser on yoga
This commit is contained in:
parent
ec187e65c0
commit
43a33c2313
|
@ -38,7 +38,6 @@ in
|
||||||
librewolf
|
librewolf
|
||||||
thunderbird
|
thunderbird
|
||||||
vesktop
|
vesktop
|
||||||
premid
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
defaults.webBrowser = mkOption {
|
defaults.webBrowser = mkOption {
|
||||||
|
@ -58,7 +57,6 @@ in
|
||||||
feh # For images?
|
feh # For images?
|
||||||
deluge # Torrent client
|
deluge # Torrent client
|
||||||
pavucontrol # PulseAudio control panel
|
pavucontrol # PulseAudio control panel
|
||||||
thunderbird # Email
|
|
||||||
sublime-music # For navidrome
|
sublime-music # For navidrome
|
||||||
# cinny-desktop
|
# cinny-desktop
|
||||||
gajim
|
gajim
|
||||||
|
@ -78,14 +76,13 @@ in
|
||||||
slack
|
slack
|
||||||
zoom-us
|
zoom-us
|
||||||
|
|
||||||
librewolf
|
|
||||||
|
|
||||||
## CLI stuff
|
## CLI stuff
|
||||||
dex # .desktop file management, startup
|
dex # .desktop file management, startup
|
||||||
# sct # Display color temperature
|
# sct # Display color temperature
|
||||||
xdg-utils # Open stuff
|
xdg-utils # Open stuff
|
||||||
wifi-indicator
|
wifi-indicator
|
||||||
]);
|
] ++ cfg.startup);
|
||||||
|
|
||||||
nki.programs.discord.enable = pkgs.stdenv.isx86_64;
|
nki.programs.discord.enable = pkgs.stdenv.isx86_64;
|
||||||
nki.programs.discord.package = pkgs.vesktop;
|
nki.programs.discord.package = pkgs.vesktop;
|
||||||
|
|
|
@ -291,7 +291,8 @@ in
|
||||||
# Assigning windows to workspaces
|
# Assigning windows to workspaces
|
||||||
assigns = {
|
assigns = {
|
||||||
"${builtins.elemAt workspaces 0}" = [
|
"${builtins.elemAt workspaces 0}" = [
|
||||||
{ class = "^firefox$"; }
|
{ app_id = "^firefox$"; }
|
||||||
|
{ app_id = "^librewolf$"; }
|
||||||
];
|
];
|
||||||
"${builtins.elemAt workspaces 1}" = [
|
"${builtins.elemAt workspaces 1}" = [
|
||||||
{ class = "^((d|D)iscord|((A|a)rm(c|C)ord))$"; }
|
{ class = "^((d|D)iscord|((A|a)rm(c|C)ord))$"; }
|
||||||
|
@ -299,6 +300,8 @@ in
|
||||||
{ app_id = "VencordDesktop"; }
|
{ app_id = "VencordDesktop"; }
|
||||||
{ class = "vesktop"; }
|
{ class = "vesktop"; }
|
||||||
{ app_id = "vesktop"; }
|
{ app_id = "vesktop"; }
|
||||||
|
|
||||||
|
{ class = "Slack"; }
|
||||||
];
|
];
|
||||||
${extraWorkspaces.mail} = [
|
${extraWorkspaces.mail} = [
|
||||||
{ app_id = "thunderbird"; }
|
{ app_id = "thunderbird"; }
|
||||||
|
|
|
@ -29,7 +29,8 @@
|
||||||
# Graphical set up
|
# Graphical set up
|
||||||
linux.graphical.type = "wayland";
|
linux.graphical.type = "wayland";
|
||||||
linux.graphical.wallpaper = ./images/wallpaper_0.png;
|
linux.graphical.wallpaper = ./images/wallpaper_0.png;
|
||||||
linux.graphical.defaults.webBrowser = "librewolf.desktop";
|
linux.graphical.startup = with pkgs; [ zen-browser-bin thunderbird vesktop slack ];
|
||||||
|
linux.graphical.defaults.webBrowser = "zen.desktop";
|
||||||
# Enable sway
|
# Enable sway
|
||||||
programs.my-sway.enable = true;
|
programs.my-sway.enable = true;
|
||||||
programs.my-sway.fontSize = 14.0;
|
programs.my-sway.fontSize = 14.0;
|
||||||
|
@ -96,14 +97,25 @@
|
||||||
# Multiple screen setup
|
# Multiple screen setup
|
||||||
services.kanshi = with config.common.monitors; {
|
services.kanshi = with config.common.monitors; {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles.undocked.outputs = [{ criteria = "LVDS-1"; }];
|
settings = [
|
||||||
profiles.work-both.outputs = [
|
{
|
||||||
|
profile.name = "undocked";
|
||||||
|
profile.outputs = [{ criteria = "LVDS-1"; }];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
profile.name = "work-both";
|
||||||
|
profile.outputs = [
|
||||||
{ criteria = "eDP-1"; position = "0,${toString (builtins.floor ((2160 / work.scale - 1200) + 1200 / 3))}"; status = "enable"; }
|
{ criteria = "eDP-1"; position = "0,${toString (builtins.floor ((2160 / work.scale - 1200) + 1200 / 3))}"; status = "enable"; }
|
||||||
{ criteria = work.name; position = "1920,0"; }
|
{ criteria = work.name; position = "1920,0"; }
|
||||||
];
|
];
|
||||||
profiles.work-one.outputs = [
|
}
|
||||||
|
{
|
||||||
|
profile.name = "work-one";
|
||||||
|
profile.outputs = [
|
||||||
{ criteria = "eDP-1"; status = "disable"; }
|
{ criteria = "eDP-1"; status = "disable"; }
|
||||||
{ criteria = config.common.monitors.work.name; }
|
{ criteria = work.name; }
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ appimageTools, fetchurl, nativeMessagingHosts, ... }:
|
{ appimageTools, fetchurl, nativeMessagingHosts ? [ ], ... }:
|
||||||
let
|
let
|
||||||
pname = "zen-browser-bin";
|
pname = "zen-browser-bin";
|
||||||
version = "1.0.1-a.19";
|
version = "1.0.1-a.19";
|
||||||
|
|
Loading…
Reference in a new issue