From 7c6069fb35bdf03eda7bace9d2de66749444c4a5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 14 Jan 2020 08:25:14 -0500 Subject: [PATCH] Add vivaldi module --- machines/kuro.nix | 3 ++- modules/browser/vivaldi.nix | 8 ++++++++ modules/desktop/bspwm.nix | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 modules/browser/vivaldi.nix diff --git a/machines/kuro.nix b/machines/kuro.nix index 0fdee1a1..613a1df7 100644 --- a/machines/kuro.nix +++ b/machines/kuro.nix @@ -17,7 +17,8 @@ # art & design # virtualbox for testing - + # + diff --git a/modules/browser/vivaldi.nix b/modules/browser/vivaldi.nix new file mode 100644 index 00000000..407923d2 --- /dev/null +++ b/modules/browser/vivaldi.nix @@ -0,0 +1,8 @@ +{ config, lib, pkgs, ... }: + +{ + my.packages = with pkgs; [ + vivaldi + ]; + my.env.BROWSER = "vivaldi"; +} diff --git a/modules/desktop/bspwm.nix b/modules/desktop/bspwm.nix index d9b4b2ea..3e98c16f 100644 --- a/modules/desktop/bspwm.nix +++ b/modules/desktop/bspwm.nix @@ -88,6 +88,7 @@ vSync = true; opacityRules = [ "100:class_g = 'Firefox'" + "100:class_g = 'Vivaldi-stable'" "100:class_g = 'VirtualBox Machine'" # Art/image programs where we need fidelity "100:class_g = 'Gimp'"