diff --git a/user/app/browser/qutebrowser.nix b/user/app/browser/qutebrowser.nix
index 121bd55..907c496 100644
--- a/user/app/browser/qutebrowser.nix
+++ b/user/app/browser/qutebrowser.nix
@@ -1,5 +1,110 @@
{ config, pkgs, userSettings, ... }:
+let generateHomepage = name: font: config:
+ ''
+
+
+ My Local Dashboard Awesome Homepage
+
+
+
+
+
+
+
+
..--------..
+ .`` "'.
+ .` _.---.. /--| '.
+ /`` || |
+ /` /--| || |
+ / / | || `/----\,
+ | | | .-`.-/- __. \
+ | \ `-.`` ..-` \ |
+ \ ```` ~.^` | | |
+ \.____.-``'|| | / /
+ | || |_.- /
+ | || /
+ . |_-` `------~``.
+ `.. ..`
+ ``--______-'`
+
+
+
+ Welcome to Qutebrowser
+
+ ''+name+" "+''Profile
+
+
+
+
[o] [Search]
+
[b] [Quickmarks]
+
[S h] [History]
+
[t] [New tab]
+
[x] [Close tab]
+
+
+
+
+ '';
+in
{
home.packages = [ pkgs.qutebrowser
@@ -220,765 +325,18 @@ c.fonts.web.family.fantasy = font
c.fonts.web.family.cursive = font
'';
- home.file.".config/qutebrowser/qute-home.html".text = ''
-
-
-
-
- My Local Dashboard Awesome Homepage
-
-
-
-
-
-
-
-
..--------..
- .`` "'.
- .` _.---.. /--| '.
- /`` || |
- /` /--| || |
- / / | || `/----\,
- | | | .-`.-/- __. \
- | \ `-.`` ..-` \ |
- \ ```` ~.^` | | |
- \.____.-``'|| | / /
- | || |_.- /
- | || /
- . |_-` `------~``.
- `.. ..`
- ``--______-'`
-
-
-
- Welcome to Qutebrowser
-
- Personal Profile
-
-
-
-
[o] [Search]
-
[b] [Quickmarks]
-
[S h] [History]
-
[t] [New tab]
-
[x] [Close tab]
-
-
-
-
-
- '';
-
home.file.".config/qutebrowser/containers".text = ''
Teaching
Tech
-Finances
-Gaming
Gamedev
Bard
'';
- # TODO make this final section more efficient...
-
- home.file.".browser/Teaching/config/qute-home.html".text = ''
-
-
-
-
- My Local Dashboard Awesome Homepage
-
-
-
-
-
-
-
-
..--------..
- .`` "'.
- .` _.---.. /--| '.
- /`` || |
- /` /--| || |
- / / | || `/----\,
- | | | .-`.-/- __. \
- | \ `-.`` ..-` \ |
- \ ```` ~.^` | | |
- \.____.-``'|| | / /
- | || |_.- /
- | || /
- . |_-` `------~``.
- `.. ..`
- ``--______-'`
-
-
-
- Welcome to Qutebrowser
-
- Teaching Profile
-
-
-
-
[o] [Search]
-
[b] [Quickmarks]
-
[S h] [History]
-
[t] [New tab]
-
[x] [Close tab]
-
-
-
-
-
- '';
-
- home.file.".browser/Tech/config/qute-home.html".text = ''
-
-
-
-
- My Local Dashboard Awesome Homepage
-
-
-
-
-
-
-
-
..--------..
- .`` "'.
- .` _.---.. /--| '.
- /`` || |
- /` /--| || |
- / / | || `/----\,
- | | | .-`.-/- __. \
- | \ `-.`` ..-` \ |
- \ ```` ~.^` | | |
- \.____.-``'|| | / /
- | || |_.- /
- | || /
- . |_-` `------~``.
- `.. ..`
- ``--______-'`
-
-
-
- Welcome to Qutebrowser
-
- Tech Profile
-
-
-
-
[o] [Search]
-
[b] [Quickmarks]
-
[S h] [History]
-
[t] [New tab]
-
[x] [Close tab]
-
-
-
-
-
- '';
-
- home.file.".browser/Finances/config/qute-home.html".text = ''
-
-
-
-
- My Local Dashboard Awesome Homepage
-
-
-
-
-
-
-
-
..--------..
- .`` "'.
- .` _.---.. /--| '.
- /`` || |
- /` /--| || |
- / / | || `/----\,
- | | | .-`.-/- __. \
- | \ `-.`` ..-` \ |
- \ ```` ~.^` | | |
- \.____.-``'|| | / /
- | || |_.- /
- | || /
- . |_-` `------~``.
- `.. ..`
- ``--______-'`
-
-
-
- Welcome to Qutebrowser
-
- Finances Profile
-
-
-
-
[o] [Search]
-
[b] [Quickmarks]
-
[S h] [History]
-
[t] [New tab]
-
[x] [Close tab]
-
-
-
-
-
- '';
-
- home.file.".browser/Gamedev/config/qute-home.html".text = ''
-
-
-
-
- My Local Dashboard Awesome Homepage
-
-
-
-
-
-
-
-
..--------..
- .`` "'.
- .` _.---.. /--| '.
- /`` || |
- /` /--| || |
- / / | || `/----\,
- | | | .-`.-/- __. \
- | \ `-.`` ..-` \ |
- \ ```` ~.^` | | |
- \.____.-``'|| | / /
- | || |_.- /
- | || /
- . |_-` `------~``.
- `.. ..`
- ``--______-'`
-
-
-
- Welcome to Qutebrowser
-
- Gamedev Profile
-
-
-
-
[o] [Search]
-
[b] [Quickmarks]
-
[S h] [History]
-
[t] [New tab]
-
[x] [Close tab]
-
-
-
-
-
- '';
-
- home.file.".browser/Gaming/config/qute-home.html".text = ''
-
-
-
-
- My Local Dashboard Awesome Homepage
-
-
-
-
-
-
-
-
..--------..
- .`` "'.
- .` _.---.. /--| '.
- /`` || |
- /` /--| || |
- / / | || `/----\,
- | | | .-`.-/- __. \
- | \ `-.`` ..-` \ |
- \ ```` ~.^` | | |
- \.____.-``'|| | / /
- | || |_.- /
- | || /
- . |_-` `------~``.
- `.. ..`
- ``--______-'`
-
-
-
- Welcome to Qutebrowser
-
- Gaming Profile
-
-
-
-
[o] [Search]
-
[b] [Quickmarks]
-
[S h] [History]
-
[t] [New tab]
-
[x] [Close tab]
-
-
-
-
-
- '';
-
- home.file.".browser/Bard/config/qute-home.html".text = ''
-
-
-
-
- My Local Dashboard Awesome Homepage
-
-
-
-
-
-
-
-
..--------..
- .`` "'.
- .` _.---.. /--| '.
- /`` || |
- /` /--| || |
- / / | || `/----\,
- | | | .-`.-/- __. \
- | \ `-.`` ..-` \ |
- \ ```` ~.^` | | |
- \.____.-``'|| | / /
- | || |_.- /
- | || /
- . |_-` `------~``.
- `.. ..`
- ``--______-'`
-
-
-
- Welcome to Qutebrowser
-
- Bard Profile
-
-
-
-
[o] [Search]
-
[b] [Quickmarks]
-
[S h] [History]
-
[t] [New tab]
-
[x] [Close tab]
-
-
-
-
-
- '';
-
+ home.file.".config/qutebrowser/qute-home.html".text = generateHomepage "Default" userSettings.font config;
+ home.file.".browser/Teaching/config/qute-home.html".text = generateHomepage "Teaching" userSettings.font config;
+ home.file.".browser/Tech/config/qute-home.html".text = generateHomepage "Tech" userSettings.font config;
+ home.file.".browser/Gaming/config/qute-home.html".text = generateHomepage "Gaming" userSettings.font config;
+ home.file.".browser/Gamedev/config/qute-home.html".text = generateHomepage "Gamedev" userSettings.font config;
+ home.file.".browser/Bard/config/qute-home.html".text = generateHomepage "Bard" userSettings.font config;
}
diff --git a/user/wm/hyprland/hyprprofiles/profiles/Bard/start-hook.sh b/user/wm/hyprland/hyprprofiles/profiles/Bard/start-hook.sh
new file mode 100755
index 0000000..25ac77f
--- /dev/null
+++ b/user/wm/hyprland/hyprprofiles/profiles/Bard/start-hook.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+hyprctl keyword unbind SUPER,S;
+hyprctl keyword bind SUPER,S,exec,container-open Bard;
+emacsclient --eval '(org-roam-switch-db "Bard.p" t)'
diff --git a/user/wm/hyprland/hyprprofiles/profiles/Personal/start-hook.sh b/user/wm/hyprland/hyprprofiles/profiles/Default/start-hook.sh
similarity index 100%
rename from user/wm/hyprland/hyprprofiles/profiles/Personal/start-hook.sh
rename to user/wm/hyprland/hyprprofiles/profiles/Default/start-hook.sh
diff --git a/user/wm/hyprland/hyprprofiles/profiles/Gamdev/start-hook.sh b/user/wm/hyprland/hyprprofiles/profiles/Gamdev/start-hook.sh
new file mode 100755
index 0000000..8360bda
--- /dev/null
+++ b/user/wm/hyprland/hyprprofiles/profiles/Gamdev/start-hook.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+hyprctl keyword unbind SUPER,S;
+hyprctl keyword bind SUPER,S,exec,container-open Gamedev;
+emacsclient --eval '(org-roam-switch-db "Gamedev.s" t)'