mirror of
https://github.com/zoriya/flake.git
synced 2026-06-03 02:52:29 +00:00
Fix default browser
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -46,6 +46,7 @@ in {
|
||||
"downloads"
|
||||
"stuff"
|
||||
"projects"
|
||||
"wallpapers"
|
||||
{ directory = ".gnupg"; mode = "0700"; }
|
||||
{ directory = ".ssh"; mode = "0700"; }
|
||||
".local/share/direnv"
|
||||
|
||||
Reference in New Issue
Block a user