Dedicated obsidian app and more
This commit is contained in:
parent
7ff510bc1b
commit
4808dbb549
|
@ -7,6 +7,7 @@ This file tells the story of my setup throughout it's history. This document is
|
||||||
Warm light passing through the trees.
|
Warm light passing through the trees.
|
||||||
|
|
||||||
- [Hikari (Arcaea) wallpaper](https://wallhaven.cc/w/85doxj)
|
- [Hikari (Arcaea) wallpaper](https://wallhaven.cc/w/85doxj)
|
||||||
|
- gruvbox colors
|
||||||
- apps on display: [pipes](https://github.com/pipeseroni/pipes.sh), [uptimes script](../home/features/cli/scripts/uptimes.sh), [bottom](https://github.com/ClementTsang/bottom), [Neovim](https://neovim.io/), [Zathura](https://pwmt.org/projects/zathura/)
|
- apps on display: [pipes](https://github.com/pipeseroni/pipes.sh), [uptimes script](../home/features/cli/scripts/uptimes.sh), [bottom](https://github.com/ClementTsang/bottom), [Neovim](https://neovim.io/), [Zathura](https://pwmt.org/projects/zathura/)
|
||||||
|
|
||||||
![terminals](img/2024-04-29-terminals.png)
|
![terminals](img/2024-04-29-terminals.png)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{ pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./wezterm # terminal
|
./wezterm # terminal
|
||||||
./dunst.nix # notifaction handler
|
./dunst.nix # notifaction handler
|
||||||
|
@ -9,4 +9,9 @@
|
||||||
|
|
||||||
# Use a base16 theme for gtk apps!
|
# Use a base16 theme for gtk apps!
|
||||||
stylix.targets.gtk.enable = true;
|
stylix.targets.gtk.enable = true;
|
||||||
|
|
||||||
|
gtk.iconTheme = {
|
||||||
|
package = pkgs.papirus-icon-theme;
|
||||||
|
name = "Papirus";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,12 +4,12 @@ let
|
||||||
|
|
||||||
# REASON: newer discord versions don't work with the one in nixpkgs
|
# REASON: newer discord versions don't work with the one in nixpkgs
|
||||||
discocss = pkgs.discocss.overrideAttrs (old: rec {
|
discocss = pkgs.discocss.overrideAttrs (old: rec {
|
||||||
version = "0.3.0";
|
version = "unstable-2023-09-02";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "bddvlpr";
|
owner = "bddvlpr";
|
||||||
repo = "discocss";
|
repo = "discocss";
|
||||||
rev = "v${version}";
|
rev = "37f1520bc90822b35e60baa9036df7a05f43fab8";
|
||||||
hash = "sha256-2K7SPTvORzgZ1ZiCtS5TOShuAnmtI5NYkdQPRXIBP/I=";
|
sha256 = "1559mxmc0ppl4jxvdzszphysp1j31k2hm93qv7yz87xn9j0z2m04";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
|
|
19
home/features/desktop/obsidian.nix
Normal file
19
home/features/desktop/obsidian.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
home.packages =
|
||||||
|
let
|
||||||
|
vaultDir = "${config.xdg.userDirs.extraConfig.XDG_PROJECTS_DIR}/stellar-sanctum";
|
||||||
|
# Start nvim with a custom class so our WM can move it to the correct workspace
|
||||||
|
obsidiantui = pkgs.writeShellScriptBin "obsidiantui" ''
|
||||||
|
wezterm start --class "org.wezfurlong.wezterm.obsidian" --cwd ${vaultDir} nvim
|
||||||
|
'';
|
||||||
|
in
|
||||||
|
[ obsidiantui pkgs.obsidian ];
|
||||||
|
|
||||||
|
xdg.desktopEntries.obsidiantui = {
|
||||||
|
name = "Obsidian TUI";
|
||||||
|
type = "Application";
|
||||||
|
exec = "obsidiantui";
|
||||||
|
terminal = false;
|
||||||
|
icon = "obsidian";
|
||||||
|
};
|
||||||
|
}
|
|
@ -23,6 +23,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ ./audio.nix ];
|
imports = [ ./audio.nix ];
|
||||||
|
home.packages = [ pkgs.spot ];
|
||||||
|
|
||||||
programs.spicetify = {
|
programs.spicetify = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -61,14 +61,21 @@ animations {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Execute apps at launch
|
# Execute apps at launch
|
||||||
exec-once = wezterm & firefox & discocss & spotify & obsidian & smosgui
|
exec-once = wezterm & firefox & discocss & spot & obsidian & obsidiantui & smosgui
|
||||||
|
|
||||||
# {{{ Window rules
|
# {{{ Window rules
|
||||||
# {{{ Automatically move stuff to workspaces
|
# {{{ Automatically move stuff to workspaces
|
||||||
windowrulev2 = workspace 2 silent, title:^(.*Firefox.*)$
|
windowrulev2 = workspace 2 silent, title:^(.*Firefox.*)$
|
||||||
|
|
||||||
windowrulev2 = workspace 3 silent, title:^(.*(Disc|WebC)ord.*)$
|
windowrulev2 = workspace 3 silent, title:^(.*(Disc|WebC)ord.*)$
|
||||||
windowrulev2 = workspace 6 silent, title:^(.*Spotify.*)$
|
windowrulev2 = workspace 3 silent, title:^(.*Element.*)$
|
||||||
|
|
||||||
|
windowrulev2 = workspace 6 silent, title:^(.*(S|s)pot(ify)?.*)$
|
||||||
|
|
||||||
windowrulev2 = workspace 7 silent, title:^(.*Obsidian.*)$
|
windowrulev2 = workspace 7 silent, title:^(.*Obsidian.*)$
|
||||||
|
windowrulev2 = workspace 7 silent, title:^(.*stellar-sanctum)$
|
||||||
|
windowrulev2 = workspace 7 silent, class:^(org\.wezfurlong\.wezterm\.obsidian)$
|
||||||
|
|
||||||
windowrulev2 = workspace 8 silent, class:^(org\.wezfurlong\.wezterm\.smos)$
|
windowrulev2 = workspace 8 silent, class:^(org\.wezfurlong\.wezterm\.smos)$
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ Idleinhibit rules
|
# {{{ Idleinhibit rules
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, upkgs, lib, config, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./global.nix
|
./global.nix
|
||||||
|
|
||||||
./features/desktop/zathura.nix
|
./features/desktop/zathura.nix
|
||||||
./features/desktop/spotify.nix
|
./features/desktop/spotify.nix
|
||||||
|
./features/desktop/obsidian.nix
|
||||||
./features/desktop/firefox
|
./features/desktop/firefox
|
||||||
./features/desktop/discord
|
./features/desktop/discord
|
||||||
./features/cli/productivity
|
./features/cli/productivity
|
||||||
|
@ -38,11 +39,13 @@
|
||||||
# sherlock # Search for usernames across different websites
|
# sherlock # Search for usernames across different websites
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ Misc
|
# {{{ Misc
|
||||||
obsidian # Note-taking
|
|
||||||
bitwarden # Password-manager
|
bitwarden # Password-manager
|
||||||
# plover.dev # steno engine
|
|
||||||
qbittorrent # Torrent client
|
qbittorrent # Torrent client
|
||||||
# google-chrome # Not my primary browser, but sometimes needed in webdev
|
# google-chrome # Not my primary browser, but sometimes needed in webdev
|
||||||
|
# plover.dev # steno engine
|
||||||
|
|
||||||
|
# REASON: not available in nixpkgs-stable just yet
|
||||||
|
upkgs.overskride # Bluetooth client
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ Media playing/recording
|
# {{{ Media playing/recording
|
||||||
mpv # Video player
|
mpv # Video player
|
||||||
|
|
Loading…
Reference in a new issue