Switch to vivaldi browser

This commit is contained in:
Christopher Mühl 2025-08-09 01:14:14 +02:00
parent b6767bcd16
commit cab130ad06
No known key found for this signature in database
GPG key ID: E919B0F59E14FD47
5 changed files with 12 additions and 4 deletions

View file

@ -169,6 +169,9 @@ in {
windowrule = float, title:DevTools windowrule = float, title:DevTools
# Should fix broken blur in Vivaldi
windowrule=noblur,class:^()$,title:^()$
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER

View file

@ -1,6 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
firefox firefox
vivaldi
]; ];
xdg.mimeApps = { xdg.mimeApps = {

View file

@ -17,7 +17,8 @@ in {
LESSKEY = "${conf}/less/lesskey"; LESSKEY = "${conf}/less/lesskey";
DIRENV_LOG_FORMAT = ""; DIRENV_LOG_FORMAT = "";
BROWSER = "firefox"; # BROWSER = "firefox";
BROWSER = "vivaldi";
TERMINAL = "kitty"; TERMINAL = "kitty";
EDITOR = "hx"; EDITOR = "hx";
TERM = "xterm-color"; TERM = "xterm-color";

View file

@ -14,8 +14,10 @@ done
if [[ $1 == "https://github.com/hausgold"* ]]; then if [[ $1 == "https://github.com/hausgold"* ]]; then
# Also use the `Work` profile for hausgold Github links # Also use the `Work` profile for hausgold Github links
firefox -P 'Work' "$@" # firefox -P 'Work' "$@"
nohup vivaldi --profile-directory="Work" "$@" &
else else
# Otherwise just use the default profile of Firefox directly # Otherwise just use the default profile of Firefox directly
firefox "$@" # firefox "$@"
nohup vivaldi --profile-directory="Default" "$@" &
fi fi

View file

@ -6,5 +6,6 @@ BASE_URI="https://github.com/hausgold/"
REPO=$(< "$HOME/.gh/hausgold-repos" tofi) REPO=$(< "$HOME/.gh/hausgold-repos" tofi)
if [[ -n $REPO ]]; then if [[ -n $REPO ]]; then
firefox -P 'Work' "$BASE_URI$REPO" # firefox -P 'Work' "$BASE_URI$REPO"
nohup vivaldi --profile-directory="Work" "$BASE_URI$REPO" &
fi fi