Switch hyprland/waybar back to using firefox as default browser

This commit is contained in:
Evie Litherland-Smith 2023-07-17 06:58:10 +01:00
parent 1c96dbb703
commit 1bafd48306
3 changed files with 13 additions and 12 deletions

View file

@ -54,11 +54,13 @@ in {
}; };
extraConfig = builtins.readFile ./hyprland.conf; extraConfig = builtins.readFile ./hyprland.conf;
}; };
xdg.configFile."hypr/hyprpaper.conf".text = lib.mkDefault '' xdg.configFile = {
preload = ${inputs.wallpapers.outputs.default} "hypr/hyprpaper.conf".text = lib.mkDefault ''
wallpaper = ,${inputs.wallpapers.outputs.default} preload = ${inputs.wallpapers.outputs.default}
''; wallpaper = ,${inputs.wallpapers.outputs.default}
xdg.configFile."hypr/macchiato.conf".source = ./macchiato.conf; '';
xdg.configFile."hypr/display.conf".text = lib.mkDefault ''''; "hypr/macchiato.conf".source = ./macchiato.conf;
xdg.configFile."hypr/autostart.conf".text = lib.mkDefault ''''; "hypr/display.conf".text = lib.mkDefault '''';
"hypr/autostart.conf".text = lib.mkDefault '''';
};
} }

View file

@ -71,7 +71,7 @@ animations {
bind = SUPER, Return, exec, wezterm bind = SUPER, Return, exec, wezterm
bind = SUPER, Space, exec, pkill rofi || rofi -show drun bind = SUPER, Space, exec, pkill rofi || rofi -show drun
bind = SUPER SHIFT, Space, togglefloating, bind = SUPER SHIFT, Space, togglefloating,
bind = SUPER, W, exec, pgrep chromium > /dev/null || chromium bind = SUPER, W, exec, pgrep firefox > /dev/null || firefox
bind = SUPER, E, exec, thunar bind = SUPER, E, exec, thunar
bind = SUPER, R, exec, pgrep nxplayer > /dev/null || nxplayer bind = SUPER, R, exec, pgrep nxplayer > /dev/null || nxplayer
bind = SUPER, Q, killactive, bind = SUPER, Q, killactive,
@ -146,8 +146,7 @@ bindm = SUPER, mouse:273, resizewindow
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = workspace 2,(neovide) windowrule = workspace 2,(neovide)
windowrule = workspace 3,(chromium-browser) windowrule = workspace 3,(firefox|chromium-browser)
windowrule = workspace 3,(firefox)
windowrule = workspace 4,^(libreoffice).* windowrule = workspace 4,^(libreoffice).*
windowrule = workspace 4,(Zotero) windowrule = workspace 4,(Zotero)
windowrule = workspace 5 silent,(Signal) windowrule = workspace 5 silent,(Signal)
@ -177,4 +176,4 @@ windowrule = center,(Nxplayer.bin)
windowrulev2 = float,title:^(Zoom|zoom).* windowrulev2 = float,title:^(Zoom|zoom).*
windowrulev2 = workspace 5,title:^(Zoom|zoom).* windowrulev2 = workspace 5,title:^(Zoom|zoom).*
windowrulev2 = float,title:(File),class:(chromium) windowrulev2 = float,title:(File),class:(firefox|chromium-browser)

View file

@ -6,7 +6,7 @@
format-icons = { format-icons = {
"1" = "󰟀"; "1" = "󰟀";
"2" = "󰅴"; "2" = "󰅴";
"3" = "󰊯"; "3" = "󰈹";
"4" = "󰝰"; "4" = "󰝰";
"5" = "󰭹"; "5" = "󰭹";
"6" = ""; "6" = "";