1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2024-10-31 19:17:26 -05:00

add work overrides

This commit is contained in:
Kaan Barmore-Genç 2023-10-04 09:55:18 -07:00
parent a5bd92397b
commit 23f052ff83
4 changed files with 42 additions and 25 deletions

View file

@ -50,6 +50,9 @@ depends = ["theme", "system"]
[system.variables]
has_battery = false
intel_backlight = false
platform = "linux"
force_fish_shell = false
has_gpg = true
[theme.variables]
# These are specified in bg-fg pairs, background and text color. The _fg color

View file

@ -3,7 +3,7 @@ if status is-interactive
end
# set up direnv
direnv hook fish | source
{{#if (eq platform "linux") }}
# set current desktop, needed for desktop sharing with Wayland
set -gx XDG_CURRENT_DESKTOP sway
@ -26,3 +26,11 @@ for flatpakdir in ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bi
contains $flatpakdir $PATH; or set -a PATH $flatpakdir
end
end
{{/if}}
{{#if (eq platform "macos") }}
# Set Mac keyboard shortcuts
bind \u0192 forward-word
bind \u222B backward-word
bind \u2202 kill-word
{{/if}}

View file

@ -6,10 +6,12 @@
defaultBranch = main
[pull]
rebase = true
{{#if has_gpg}}
[commit]
gpgSign = true
[tag]
gpgsign = true
{{/if}}
[pager]
diff = delta
log = delta

View file

@ -1090,7 +1090,11 @@ mark3_background #f274bc
#: Advanced
{{#if force_fish_shell }}
shell /usr/local/bin/fish --login --interactive
{{else}}
shell .
{{/if}}
#: The shell program to execute. The default value of . means to use
#: whatever shell is set as the default shell for the current user.