Switch to vivaldi browser
This commit is contained in:
parent
b6767bcd16
commit
cab130ad06
5 changed files with 12 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
|
vivaldi
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue