mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
browser
This commit is contained in:
@@ -6,4 +6,21 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
google-chrome
|
google-chrome
|
||||||
];
|
];
|
||||||
|
|
||||||
|
xdg.desktopEntries."google-chrome" = {
|
||||||
|
name = "Google Chrome";
|
||||||
|
genericName = "Web Browser";
|
||||||
|
exec = "${pkgs.google-chrome}/bin/google-chrome-stable --enable-features=TouchpadOverscrollHistoryNavigation %U";
|
||||||
|
terminal = false;
|
||||||
|
icon = "google-chrome";
|
||||||
|
categories = [ "Network" "WebBrowser" ];
|
||||||
|
startupNotify = true;
|
||||||
|
type = "Application";
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.mimeApps.defaultApplications = {
|
||||||
|
"text/html" = "google-chrome.desktop";
|
||||||
|
"x-scheme-handler/http" = "google-chrome.desktop";
|
||||||
|
"x-scheme-handler/https" = "google-chrome.desktop";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,6 +90,16 @@
|
|||||||
randomIntervalSec = 60;
|
randomIntervalSec = 60;
|
||||||
transitionDuration = 1500;
|
transitionDuration = 1500;
|
||||||
};
|
};
|
||||||
|
dock = {
|
||||||
|
enabled = true;
|
||||||
|
displayMode = "auto_hide";
|
||||||
|
backgroundOpacity = 0.8;
|
||||||
|
floatingRatio = 1;
|
||||||
|
size = 1;
|
||||||
|
onlySameOutput = true;
|
||||||
|
pinnedApps = [ "google-chrome.desktop" "code.desktop" ];
|
||||||
|
colorizeIcons = false;
|
||||||
|
};
|
||||||
controlCenter = {
|
controlCenter = {
|
||||||
position = "close_to_bar_button";
|
position = "close_to_bar_button";
|
||||||
shortcuts = {
|
shortcuts = {
|
||||||
|
|||||||
Reference in New Issue
Block a user