Fix default browser

This commit is contained in:
2023-03-10 12:37:24 +09:00
parent 0d1b7d2ff5
commit 63ea4de4e5
5 changed files with 7 additions and 5 deletions
+4 -3
View File
@@ -96,15 +96,16 @@ in {
ssh = "kitty +kitten ssh";
};
home.sessionVariables = {
home.sessionVariables = rec {
EDITOR = "nvim";
VISUAL = "nvim";
VISUAL = EDITOR;
TERMINAL = "kitty";
BROWSER = "google-chrome-stable";
DEFAULT_BROWSER = BROWSER;
};
xdg.enable = true;
xdg.mimeApps = {
enable = false;
enable = true;
defaultApplications = {
"x-scheme-handler/http" = browser;
"x-scheme-handler/https" = browser;
+1
View File
@@ -17,6 +17,7 @@ in rec {
];
colorScheme = lib.mkDefault specialization.dark.configuration.colorScheme;
home.file.".local/state/theme".text = lib.mkDefault "dark";
darkColors = specialization.dark.configuration.colorScheme.colors;
specialization = {
dark.configuration = {
-1
View File
@@ -33,7 +33,6 @@ in {
extraConfig = builtins.readFile ./hyprland.conf;
};
home.file."wallpapers".source = ../../../wallpapers;
home.file.".config/hypr/wallpaper.sh" = {
source = ./wallpaper.sh;
executable = true;
+1 -1
View File
@@ -179,7 +179,7 @@ bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-cop
$WOBSOCK = $XDG_RUNTIME_DIR/wob.sock
# Use exec and killall to refresh the colorscheme of wob.
exec=killall wob && rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob
exec=killall wob ; rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob
bindle=,XF86MonBrightnessDown,exec,brightnessctl set 5%- | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > $WOBSOCK
bindle=,XF86MonBrightnessUp,exec,brightnessctl set +5% | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > $WOBSOCK
+1
View File
@@ -46,6 +46,7 @@ in {
"downloads"
"stuff"
"projects"
"wallpapers"
{ directory = ".gnupg"; mode = "0700"; }
{ directory = ".ssh"; mode = "0700"; }
".local/share/direnv"