From abaee21ad8fafa8aa9e94a9f384336fe82049461 Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Tue, 25 Feb 2025 01:42:19 +0100 Subject: [PATCH] Adds ghostty setup --- .config/ghostty/config | 45 +------------------ .config/ghostty/dsa-config | 4 +- .config/ghostty/general.conf | 2 + .../applications/note-dsa-players.desktop | 2 +- .local/share/applications/note-dsa.desktop | 2 +- .local/share/applications/note.desktop | 2 +- 6 files changed, 9 insertions(+), 48 deletions(-) create mode 100644 .config/ghostty/general.conf diff --git a/.config/ghostty/config b/.config/ghostty/config index 80ebd74..979f5e5 100644 --- a/.config/ghostty/config +++ b/.config/ghostty/config @@ -1,46 +1,3 @@ -# This is the configuration file for Ghostty. -# -# This template file has been automatically created at the following -# path since Ghostty couldn't find any existing config files on your system: -# -# /home/michel/.config/ghostty/config -# -# The template does not set any default options, since Ghostty ships -# with sensible defaults for all options. Users should only need to set -# options that they want to change from the default. -# -# Run `ghostty +show-config --default --docs` to view a list of -# all available config options and their default values. -# -# Additionally, each config option is also explained in detail -# on Ghostty's website, at https://ghostty.org/docs/config. - -# Config syntax crash course -# ========================== -# # The config file consists of simple key-value pairs, -# # separated by equals signs. -# font-family = Iosevka -# window-padding-x = 2 -# -# # Spacing around the equals sign does not matter. -# # All of these are identical: -# key=value -# key= value -# key =value -# key = value -# -# # Any line beginning with a # is a comment. It's not possible to put -# # a comment after a config option, since it would be interpreted as a -# # part of the value. For example, this will have a value of "#123abc": -# background = #123abc -# -# # Empty values are used to reset config keys to default. -# key = -# -# # Some config options have unique syntaxes for their value, -# # which is explained in the docs for that config option. -# # Just for example: -# resize-overlay-duration = 4s 200ms - +config-file = general.conf config-file = theming.conf diff --git a/.config/ghostty/dsa-config b/.config/ghostty/dsa-config index 613992a..86102c7 100644 --- a/.config/ghostty/dsa-config +++ b/.config/ghostty/dsa-config @@ -1,3 +1,5 @@ +config-file = general.conf config-file = theming.conf -custom-shader = ./shaders/optolith.glsl + +custom-shader = ./shaders/optolith.glsl custom-shader-animation = always diff --git a/.config/ghostty/general.conf b/.config/ghostty/general.conf new file mode 100644 index 0000000..7a6ece6 --- /dev/null +++ b/.config/ghostty/general.conf @@ -0,0 +1,2 @@ +window-inherit-working-directory = false +gtk-single-instance = false diff --git a/.local/share/applications/note-dsa-players.desktop b/.local/share/applications/note-dsa-players.desktop index 6045ecc..0f0dd60 100644 --- a/.local/share/applications/note-dsa-players.desktop +++ b/.local/share/applications/note-dsa-players.desktop @@ -2,6 +2,6 @@ Type=Application Name=DSA-Notes (Player environment) Comment=Neovim setup for DSA (player environment) -Exec=ghostty --config-default-files=false --config-file="~/.config/ghostty/dsa-config" --working-directory="~/DSA/Spieler/" --title="DSA-Notes-Players" -e env ENABLE_GIT_SETUP=true nvim ~/DSA/Spieler/ +Exec=ghostty --window-inherit-working-directory=false --config-default-files=false --config-file="~/.config/ghostty/dsa-config" --working-directory="DSA/Spieler/" --title="DSA-Notes-Players" -e env ENABLE_GIT_SETUP=true nvim ~/DSA/Spieler/ Categories=Notes;DSA; Icon=/usr/share/icons/Gruvbox-Material-Dark/128x128/apps/nvim.svg diff --git a/.local/share/applications/note-dsa.desktop b/.local/share/applications/note-dsa.desktop index e2bf219..e0f279e 100644 --- a/.local/share/applications/note-dsa.desktop +++ b/.local/share/applications/note-dsa.desktop @@ -2,6 +2,6 @@ Type=Application Name=DSA-Notes Comment=Neovim setup for DSA notes -Exec=ghostty --config-default-files=false --config-file="~/.config/ghostty/dsa-config" --working-directory="~/DSA/" --title="DSA-Notes" -e env ENABLE_GIT_SETUP=true nvim ~/DSA/ +Exec=ghostty --window-inherit-working-directory=false --config-default-files=false --config-file="~/.config/ghostty/dsa-config" --working-directory="DSA/" --title="DSA-Notes" -e env ENABLE_GIT_SETUP=true nvim . Categories=Notes;DSA; Icon=/usr/share/icons/Gruvbox-Material-Dark/128x128/apps/nvim.svg diff --git a/.local/share/applications/note.desktop b/.local/share/applications/note.desktop index b997638..55e99ce 100644 --- a/.local/share/applications/note.desktop +++ b/.local/share/applications/note.desktop @@ -2,6 +2,6 @@ Type=Application Name=Notes Comment=Neovim setup for note taking -Exec=ghostty --working-directory="~/Notes/" --title="Notes" -e env ENABLE_GIT_SETUP=true nvim ~/Notes/ +Exec=ghostty --window-inherit-working-directory=false --working-directory="Notes/" --title="Notes" -e env ENABLE_GIT_SETUP=true nvim . Categories=Notes; Icon=/usr/share/icons/Gruvbox-Material-Dark/128x128/apps/nvim.svg