Repository navigation
Dankman #1272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dankman #1272
Changes from 5 commits
6417511
dcba0ee
6360303
a3e5ec6
77b7f04
8980f98
c3cc911
4b6e4a1
d23720e
80cf402
d0c1c6d
aedc536
95a3a95
576d953
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -8,4 +8,10 @@ in | |||||||||||||||||||||
| xdg.configFile."ghostty/config" = { | ||||||||||||||||||||||
| text = configText; | ||||||||||||||||||||||
| }; | ||||||||||||||||||||||
| xdg.configFile."ghostty/themes/Dracula Custom" = { | ||||||||||||||||||||||
| source = ./themes + "/Dracula Custom"; | ||||||||||||||||||||||
| }; | ||||||||||||||||||||||
| xdg.configFile."ghostty/themes/Catppuccin Latte Custom" = { | ||||||||||||||||||||||
| source = ./themes + "/Catppuccin Latte Custom"; | ||||||||||||||||||||||
|
Comment on lines
+11
to
+15
|
||||||||||||||||||||||
| xdg.configFile."ghostty/themes/Dracula Custom" = { | |
| source = ./themes + "/Dracula Custom"; | |
| }; | |
| xdg.configFile."ghostty/themes/Catppuccin Latte Custom" = { | |
| source = ./themes + "/Catppuccin Latte Custom"; | |
| xdg.configFile."ghostty/themes/Dracula-Custom" = { | |
| source = ./themes/Dracula-Custom; | |
| }; | |
| xdg.configFile."ghostty/themes/Catppuccin-Latte-Custom" = { | |
| source = ./themes/Catppuccin-Latte-Custom; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| palette = 0=#5c5f77 | ||
| palette = 1=#d20f39 | ||
| palette = 2=#40a02b | ||
| palette = 3=#df8e1d | ||
| palette = 4=#1e66f5 | ||
| palette = 5=#ea76cb | ||
| palette = 6=#179299 | ||
| palette = 7=#acb0be | ||
| palette = 8=#6c6f85 | ||
| palette = 9=#de293e | ||
| palette = 10=#49af3d | ||
| palette = 11=#eea02d | ||
| palette = 12=#456eff | ||
| palette = 13=#fe85d8 | ||
| palette = 14=#2d9fa8 | ||
| palette = 15=#bcc0cc | ||
| background = #eff1f5 | ||
| foreground = #4c4f69 | ||
| cursor-color = #dc8a78 | ||
| cursor-text = #eff1f5 | ||
| selection-background = #acb0be | ||
| selection-foreground = #4c4f69 | ||
| unfocused-split-fill = #dce0e8 | ||
| split-divider-color = #7287fd |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| palette = 0=#21222c | ||
| palette = 1=#ff5555 | ||
| palette = 2=#50fa7b | ||
| palette = 3=#f1fa8c | ||
| palette = 4=#bd93f9 | ||
| palette = 5=#ff79c6 | ||
| palette = 6=#8be9fd | ||
| palette = 7=#f8f8f2 | ||
| palette = 8=#6272a4 | ||
| palette = 9=#ff6e6e | ||
| palette = 10=#69ff94 | ||
| palette = 11=#ffffa5 | ||
| palette = 12=#d6acff | ||
| palette = 13=#ff92df | ||
| palette = 14=#a4ffff | ||
| palette = 15=#ffffff | ||
| background = #282a36 | ||
| foreground = #f8f8f2 | ||
| cursor-color = #f8f8f2 | ||
| cursor-text = #282a36 | ||
| selection-background = #44475a | ||
| selection-foreground = #ffffff | ||
| unfocused-split-fill = #1e1e2e | ||
| split-divider-color = #88c0d0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ | |
| ./openclaw | ||
| ./local-binaries | ||
| ./npm-globals | ||
| ./scripts | ||
| ./tailscale | ||
| ./uv-globals | ||
| ./xremap | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| if command -v pbcopy >/dev/null 2>&1; then | ||
| exec pbcopy | ||
| fi | ||
|
|
||
| if [[ -n "${WAYLAND_DISPLAY:-}" ]] && command -v wl-copy >/dev/null 2>&1; then | ||
| exec wl-copy | ||
| fi | ||
|
|
||
| if command -v xclip >/dev/null 2>&1; then | ||
| exec xclip -selection clipboard | ||
| fi | ||
|
|
||
| if command -v xsel >/dev/null 2>&1; then | ||
| exec xsel --clipboard --input | ||
| fi | ||
|
|
||
| printf 'No clipboard backend available\n' >&2 | ||
| exit 1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { ... }: | ||
| { | ||
| home.file.".local/bin/clipboard-copy" = { | ||
| executable = true; | ||
| force = true; | ||
| source = ./clipboard-copy.sh; | ||
| }; | ||
| home.file.".local/bin/notify-local" = { | ||
| executable = true; | ||
| force = true; | ||
| source = ./notify-local.sh; | ||
| }; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| title="${1:-Notification}" | ||
| message="${2:-}" | ||
| sound="${3:-}" | ||
|
|
||
| if [[ -z "$message" ]]; then | ||
| exit 0 | ||
| fi | ||
|
|
||
| title="${title//$'\n'/ }" | ||
| message="${message//$'\n'/ }" | ||
| sound="${sound//$'\n'/ }" | ||
|
|
||
| escape_applescript() { | ||
| local value="$1" | ||
|
|
||
| value="${value//\\/\\\\}" | ||
| value="${value//\"/\\\"}" | ||
|
|
||
| printf '%s' "$value" | ||
| } | ||
|
|
||
| if command -v osascript >/dev/null 2>&1; then | ||
| escaped_title="$(escape_applescript "$title")" | ||
| escaped_message="$(escape_applescript "$message")" | ||
|
|
||
| if [[ -n "$sound" ]]; then | ||
| escaped_sound="$(escape_applescript "$sound")" | ||
| osascript -e "display notification \"$escaped_message\" with title \"$escaped_title\" sound name \"$escaped_sound\"" >/dev/null 2>&1 || true | ||
| else | ||
| osascript -e "display notification \"$escaped_message\" with title \"$escaped_title\"" >/dev/null 2>&1 || true | ||
| fi | ||
|
|
||
| exit 0 | ||
| fi | ||
|
|
||
| if command -v notify-send >/dev/null 2>&1; then | ||
| notify-send "$title" "$message" >/dev/null 2>&1 || true | ||
| exit 0 | ||
| fi | ||
|
|
||
| if command -v terminal-notifier >/dev/null 2>&1; then | ||
| terminal-notifier -title "$title" -message "$message" >/dev/null 2>&1 || true | ||
| exit 0 | ||
| fi | ||
|
|
||
| exit 0 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -37,7 +37,7 @@ set-option -g repeat-time 1000 | |||||
|
|
||||||
| # Clipboard | ||||||
| set -g set-clipboard on | ||||||
| set -g @clipboard_cmd "command -v pbcopy >/dev/null 2>&1 && pbcopy || { [ -n \"$WAYLAND_DISPLAY\" ] && wl-copy || xclip -selection clipboard; }" | ||||||
| set -g @clipboard_cmd "~/.local/bin/clipboard-copy" | ||||||
|
||||||
| set -g @clipboard_cmd "~/.local/bin/clipboard-copy" | |
| set -g @clipboard_cmd "$HOME/.local/bin/clipboard-copy" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { pkgs, ... }: | ||
| let | ||
| inherit (pkgs) lib; | ||
| in | ||
| { | ||
| services.darkman = lib.mkIf pkgs.stdenv.isLinux { | ||
|
||
| enable = true; | ||
| settings = { | ||
| usegeoclue = true; | ||
| }; | ||
| darkModeScripts = { | ||
| gtk-theme = '' | ||
| ${pkgs.dconf}/bin/dconf write \ | ||
| /org/gnome/desktop/interface/color-scheme "'prefer-dark'" | ||
| ${pkgs.dconf}/bin/dconf write \ | ||
| /org/gnome/desktop/interface/gtk-theme "'Adwaita-dark'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The backslash |
||
| ''; | ||
| }; | ||
| lightModeScripts = { | ||
| gtk-theme = '' | ||
| ${pkgs.dconf}/bin/dconf write \ | ||
| /org/gnome/desktop/interface/color-scheme "'prefer-light'" | ||
| ${pkgs.dconf}/bin/dconf write \ | ||
| /org/gnome/desktop/interface/gtk-theme "'Adwaita'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the |
||
| ''; | ||
| }; | ||
|
Comment on lines
+13
to
+18
|
||
| }; | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.