Wed Jun 5 12:55:36 AM CEST 2024
This commit is contained in:
parent
67c2d077e4
commit
ffe3246a8d
|
@ -21,6 +21,7 @@
|
||||||
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
|
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
|
||||||
"HDMI-A-2,${./hyprland/files/wallpaper.png}"
|
"HDMI-A-2,${./hyprland/files/wallpaper.png}"
|
||||||
"eDP-1,${./hyprland/files/wallpaper.png}"
|
"eDP-1,${./hyprland/files/wallpaper.png}"
|
||||||
|
"eDP-2,${./hyprland/files/wallpaper.png}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -33,10 +34,11 @@
|
||||||
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:01:00.0-card"]; # Nvidia
|
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:01:00.0-card"]; # Nvidia
|
||||||
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:00:02.0-card"]; # Intel
|
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:00:02.0-card"]; # Intel
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
#monitor = [
|
monitor = [
|
||||||
# "eDP-1,1920x1080@144,0x0,1"
|
"eDP-1,1920x1080@144,0x0,1"
|
||||||
# "HDMI-A-2,1920x1080@60,0x-1080,1"
|
"eDP-2,1920x1080@144,0x0,1"
|
||||||
#];
|
"HDMI-A-2,1920x1080@60,0x-1080,1"
|
||||||
|
];
|
||||||
bind = [
|
bind = [
|
||||||
", XF86PowerOff, exec, ${pkgs.rofi}/bin/rofi -show power-menu -modi power-menu:${
|
", XF86PowerOff, exec, ${pkgs.rofi}/bin/rofi -show power-menu -modi power-menu:${
|
||||||
./hyprland/files/rofi-power-menu.sh
|
./hyprland/files/rofi-power-menu.sh
|
||||||
|
|
|
@ -1,17 +1,14 @@
|
||||||
{ inputs, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
lock-false = {
|
lock-false = {
|
||||||
Value = false;
|
Value = false;
|
||||||
Status = "locked";
|
Status = "locked";
|
||||||
};
|
};
|
||||||
lock-true = {
|
|
||||||
Value = true;
|
|
||||||
Status = "locked";
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
policies = {
|
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||||
|
extraPolicies = {
|
||||||
DisableTelemetry = true;
|
DisableTelemetry = true;
|
||||||
DisableFirefoxStudies = true;
|
DisableFirefoxStudies = true;
|
||||||
DisplayBookmarksToolbar = "never"; # alternatives: "always" or "newtab"
|
DisplayBookmarksToolbar = "never"; # alternatives: "always" or "newtab"
|
||||||
|
@ -22,53 +19,27 @@ in {
|
||||||
Fingerprinting = true;
|
Fingerprinting = true;
|
||||||
};
|
};
|
||||||
ExtensionSettings = {
|
ExtensionSettings = {
|
||||||
"{c7c120ff-2878-4e59-a5a3-cd4d1655bc13}" = {
|
|
||||||
install_url = "file://${./files/signed.xpi}";
|
|
||||||
installation_mode = "normal_installed";
|
|
||||||
};
|
|
||||||
"@contain-google" = {
|
"@contain-google" = {
|
||||||
install_url =
|
install_url =
|
||||||
"https://addons.mozilla.org/firefox/downloads/latest/google-container/latest.xpi";
|
"https://addons.mozilla.org/firefox/downloads/latest/google-container/latest.xpi";
|
||||||
installation_mode = "normal_installed";
|
installation_mode = "force_installed";
|
||||||
};
|
};
|
||||||
"{ea4204c0-3209-4116-afd2-2a208e21a779}" = {
|
"{ea4204c0-3209-4116-afd2-2a208e21a779}" = {
|
||||||
install_url =
|
install_url =
|
||||||
"https://addons.mozilla.org/firefox/downloads/latest/enable-bing-chat/latest.xpi";
|
"https://addons.mozilla.org/firefox/downloads/latest/enable-bing-chat/latest.xpi";
|
||||||
installation_mode = "normal_installed";
|
installation_mode = "force_installed";
|
||||||
};
|
};
|
||||||
"{3e4d2037-d300-4e95-859d-3cba866f46d3}" = {
|
"{3e4d2037-d300-4e95-859d-3cba866f46d3}" = {
|
||||||
install_url =
|
install_url =
|
||||||
"https://addons.mozilla.org/firefox/downloads/latest/private-internet-access-ext/latest.xpi";
|
"https://addons.mozilla.org/firefox/downloads/latest/private-internet-access-ext/latest.xpi";
|
||||||
installation_mode = "normal_installed";
|
installation_mode = "force_installed";
|
||||||
|
};
|
||||||
|
"{c7c120ff-2878-4e59-a5a3-cd4d1655bc13}" = {
|
||||||
|
install_url = "file://${./files/signed.xpi}";
|
||||||
|
installation_mode = "force_installed";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Preferences = {
|
||||||
};
|
|
||||||
profiles = {
|
|
||||||
default = {
|
|
||||||
id = 0;
|
|
||||||
name = "default";
|
|
||||||
isDefault = true;
|
|
||||||
search = {
|
|
||||||
force = true;
|
|
||||||
default = "DuckDuckGo";
|
|
||||||
order = [ "DuckDuckGo" "Google" ];
|
|
||||||
};
|
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
|
||||||
ublock-origin
|
|
||||||
bitwarden
|
|
||||||
privacy-badger
|
|
||||||
beyond-20
|
|
||||||
display-_anchors
|
|
||||||
facebook-container
|
|
||||||
multi-account-containers
|
|
||||||
istilldontcareaboutcookies
|
|
||||||
return-youtube-dislikes
|
|
||||||
sponsorblock
|
|
||||||
unpaywall
|
|
||||||
vimium
|
|
||||||
];
|
|
||||||
settings = {
|
|
||||||
"browser.disableResetPrompt" = true;
|
"browser.disableResetPrompt" = true;
|
||||||
"browser.download.panel.shown" = true;
|
"browser.download.panel.shown" = true;
|
||||||
"browser.shell.checkDefaultBrowser" = false;
|
"browser.shell.checkDefaultBrowser" = false;
|
||||||
|
@ -95,6 +66,32 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
profiles = {
|
||||||
|
default = {
|
||||||
|
id = 0;
|
||||||
|
name = "default";
|
||||||
|
isDefault = true;
|
||||||
|
search = {
|
||||||
|
force = true;
|
||||||
|
default = "DuckDuckGo";
|
||||||
|
order = [ "DuckDuckGo" "Google" ];
|
||||||
|
};
|
||||||
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
|
ublock-origin
|
||||||
|
bitwarden
|
||||||
|
privacy-badger
|
||||||
|
beyond-20
|
||||||
|
display-_anchors
|
||||||
|
facebook-container
|
||||||
|
multi-account-containers
|
||||||
|
istilldontcareaboutcookies
|
||||||
|
return-youtube-dislikes
|
||||||
|
sponsorblock
|
||||||
|
unpaywall
|
||||||
|
vimium
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.mimeApps.defaultApplications = {
|
xdg.mimeApps.defaultApplications = {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
let
|
let
|
||||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||||
wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste";
|
wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste";
|
||||||
firefox = "${pkgs.firefox}/bin/firefox";
|
# firefox = "${pkgs.firefox}/bin/firefox";
|
||||||
nautilus = "${pkgs.gnome.nautilus}/bin/nautilus";
|
nautilus = "${pkgs.gnome.nautilus}/bin/nautilus";
|
||||||
gnome-calendar = "${pkgs.gnome.gnome-calendar}/bin/gnome-calendar";
|
gnome-calendar = "${pkgs.gnome.gnome-calendar}/bin/gnome-calendar";
|
||||||
waybar = "${inputs.waybar.packages.${pkgs.system}.waybar}/bin/waybar";
|
waybar = "${inputs.waybar.packages.${pkgs.system}.waybar}/bin/waybar";
|
||||||
|
@ -186,7 +186,7 @@ in {
|
||||||
"$mainMod, Q, killactive,"
|
"$mainMod, Q, killactive,"
|
||||||
"$mainMod, A, exec, ${nautilus}"
|
"$mainMod, A, exec, ${nautilus}"
|
||||||
"$mainMod, S, exec, ${gnome-calendar}"
|
"$mainMod, S, exec, ${gnome-calendar}"
|
||||||
"$mainMod, B, exec, MOZ_ENABLE_WAYLAND=1 ${firefox}"
|
"$mainMod, B, exec, MOZ_ENABLE_WAYLAND=1 firefox"
|
||||||
"$mainMod, M, fullscreen, 1"
|
"$mainMod, M, fullscreen, 1"
|
||||||
"$mainMod, F11, fullscreen"
|
"$mainMod, F11, fullscreen"
|
||||||
"$mainMod, F, togglefloating,"
|
"$mainMod, F, togglefloating,"
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
* {
|
* {
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight:500;
|
font-weight: 500;
|
||||||
font-family: "Roboto Sans", "FontAwesome";
|
font-family: "Roboto Sans", "FontAwesome";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue