mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-08-31 14:49:37 +00:00
chore(fish/sway): improve ssh-agent setup and auto-center on float
This commit is contained in:
parent
4a308d2d90
commit
2fda7c2621
3 changed files with 3 additions and 4 deletions
|
|
@ -14,6 +14,8 @@ set -gx PNPM_HOME $HOME/.local/share/pnpm
|
||||||
|
|
||||||
set -gx LIBVIRT_DEFAULT_URI 'qemu:///system'
|
set -gx LIBVIRT_DEFAULT_URI 'qemu:///system'
|
||||||
|
|
||||||
|
set -gx SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
|
||||||
|
|
||||||
if test (uname) = Darwin
|
if test (uname) = Darwin
|
||||||
set -gx ANDROID_HOME $HOME/Library/Android/Sdk
|
set -gx ANDROID_HOME $HOME/Library/Android/Sdk
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
ssh_agent_startup
|
|
||||||
|
|
||||||
test -e /opt/homebrew/bin/brew
|
test -e /opt/homebrew/bin/brew
|
||||||
and /opt/homebrew/bin/brew shellenv | source -
|
and /opt/homebrew/bin/brew shellenv | source -
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,7 @@ input type:pointer {
|
||||||
bindsym $mod+f fullscreen
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
# Toggle the current focus between tiling and floating mode
|
# Toggle the current focus between tiling and floating mode
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+Shift+space floating toggle; move position center
|
||||||
|
|
||||||
# Swap focus between the tiling area and the floating area
|
# Swap focus between the tiling area and the floating area
|
||||||
bindsym $mod+Mod1+space focus mode_toggle
|
bindsym $mod+Mod1+space focus mode_toggle
|
||||||
|
|
@ -244,7 +244,6 @@ bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
exec systemctl --user start ssh-agent.service
|
|
||||||
exec noctalia
|
exec noctalia
|
||||||
|
|
||||||
include ~/.config/sway/noctalia
|
include ~/.config/sway/noctalia
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue