Sway and tmux

This commit is contained in:
Daniel Flanagan 2021-12-23 12:03:19 -06:00
parent 5c41d8e523
commit 549c5bb4e3
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
6 changed files with 16 additions and 6 deletions

View file

@ -58,7 +58,6 @@ set --export --universal XDG_PICTURES_DIR $NICE_HOME/img
set --export --universal XDG_VIDEOS_DIR $NICE_HOME/video set --export --universal XDG_VIDEOS_DIR $NICE_HOME/video
set --export --universal XDG_GAMES_DIR $NICE_HOME/games set --export --universal XDG_GAMES_DIR $NICE_HOME/games
set --export --universal TMUX_PLUGIN_MANAGER_PATH $XDG_CONFIG_HOME/tmux/plugins/
set --export --universal NOTES_PATH $XDG_DOCUMENTS_DIR/notes set --export --universal NOTES_PATH $XDG_DOCUMENTS_DIR/notes
set --export --universal USER_LOGS_PATH $XDG_DOCUMENTS_DIR/logs set --export --universal USER_LOGS_PATH $XDG_DOCUMENTS_DIR/logs
set --export --universal SCROTS_PATH $XDG_PICTURES_DIR/scrots set --export --universal SCROTS_PATH $XDG_PICTURES_DIR/scrots

View file

@ -6,7 +6,8 @@ set --export --universal EXA_COLORS '*=0'
set --export --universal ERL_AFLAGS "-kernel shell_history enabled -kernel shell_history_file_bytes 1024000" set --export --universal ERL_AFLAGS "-kernel shell_history enabled -kernel shell_history_file_bytes 1024000"
set --export --universal TERMINAL kitty set --export --universal TERMINAL kitty
set --export --universal BROWSER firefox-nightly set --export --universal TERMINAL_ARGS '--single-instance'
set --export --universal BROWSER firefox-developer-edition
set --export --universal PAGER less set --export --universal PAGER less
set --export --universal LESS "-r" set --export --universal LESS "-r"

View file

@ -1,4 +1,4 @@
bind-key Z "display-message yotpm" bind-key X "display-message PLUGINSCONFIGURED"
set -g @tpm_plugins ' \ set -g @tpm_plugins ' \
tmux-plugins/tpm \ tmux-plugins/tpm \
@ -7,7 +7,10 @@ set -g @tpm_plugins ' \
tmux-plugins/tmux-continuum \ tmux-plugins/tmux-continuum \
' '
set -g @continuum-restore 'on' set -g @resurrect-save 'V'
set -g @continuum-boot 'on' set -g @resurrect-restore 'L'
# set -g @continuum-restore 'on'
# set -g @continuum-boot 'on'
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

View file

@ -1,3 +1,3 @@
bind-key Z "display-message yo" bind-key Z "display-message PERSONALLAYER"
if-shell -b "test -d $HOME/.tmux/plugins/tpm" "source-file $ENV_PATH/host-layer-personal/tmux-tpm.conf" if-shell -b "test -d $HOME/.tmux/plugins/tpm" "source-file $ENV_PATH/host-layer-personal/tmux-tpm.conf"

5
os/linux/bin/sway-init-tmux Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env fish
#
tmux new-session -d -s sway
tmux run-shell "$HOME/.tmux/plugins/tmux-resurrect/scripts/restore.sh"
kitty --single-instance fish -C 'tmux attach -t sway'

View file

@ -182,6 +182,8 @@ exec mako
exec pipewire exec pipewire
exec /usr/lib/kdeconnectd exec /usr/lib/kdeconnectd
exec gammastep -t 6500:3500 -l 39.0:-94.5 exec gammastep -t 6500:3500 -l 39.0:-94.5
exec sway-init-tmux
exec $term
exec_always 'killall kanshi; kanshi' exec_always 'killall kanshi; kanshi'
exec_always notify-send -a "sway" -i ~/.wallpaper "sway configuration loaded" exec_always notify-send -a "sway" -i ~/.wallpaper "sway configuration loaded"