Improve prompt length
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
827cbf400b
commit
2cbe4ec80f
|
@ -3,12 +3,13 @@
|
|||
"workbench.sideBar.location": "right",
|
||||
"workbench.preferredDarkColorTheme": "Solarized Dark",
|
||||
"workbench.preferredLightColorTheme": "Solarized Light",
|
||||
"workbench.colorTheme": "Solarized Dark",
|
||||
"workbench.colorTheme": "Solarized Light",
|
||||
"workbench.colorCustomizations": {
|
||||
"editorInlayHint.background": "#88888811",
|
||||
"editorInlayHint.foreground": "#88888899",
|
||||
},
|
||||
"workbench.startupEditor": "none",
|
||||
"terminal.integrated.scrollback": 10000,
|
||||
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace",
|
||||
"editor.inlayHints.fontSize": 12,
|
||||
"editor.lineHeight": 1.3,
|
||||
|
|
|
@ -54,7 +54,7 @@ exec swayidle -w \
|
|||
timeout 10 '' \
|
||||
resume $dpms_on \
|
||||
timeout 300 $dpms_off \
|
||||
resume $dpms_off \
|
||||
resume $dpms_on \
|
||||
timeout 360 $swaylock \
|
||||
timeout 1200 'systemctl suspend' \
|
||||
after-resume $dpms_on
|
||||
|
@ -348,6 +348,7 @@ bindsym $mod+F5 \
|
|||
for_window [title="Firefox — Sharing Indicator"] floating enable
|
||||
for_window [title="About Mozilla Firefox"] floating enable
|
||||
for_window [title="Picture-in-Picture"] floating enable, sticky enable
|
||||
for_window [title="Picture-in-picture"] floating enable, sticky enable
|
||||
#
|
||||
# Tandem
|
||||
#
|
||||
|
@ -362,8 +363,9 @@ exec gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
|
|||
#
|
||||
# Import systemd environments for GNOME Keyring:
|
||||
#
|
||||
exec systemctl --user import-environment XDG_SESSION_TYPE XDG_SEAT XDG_SESSION_DESKTOP XDG_SESSION_CLASS XDG_SESSION_ID XDG_RUNTIME_DIR DISPLAY WAYLAND_DISPLAY SWAYSOCK SSH_AUTH_SOCK
|
||||
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK
|
||||
exec systemctl --user import-environment XDG_SESSION_TYPE XDG_SEAT XDG_SESSION_DESKTOP XDG_SESSION_CLASS XDG_SESSION_ID XDG_RUNTIME_DIR DISPLAY WAYLAND_DISPLAY SWAYSOCK SSH_AUTH_SOCK XDG_CURRENT_DESKTOP
|
||||
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway SWAYSOCK
|
||||
|
||||
#
|
||||
# Enable PolicyKit:
|
||||
#
|
||||
|
|
|
@ -12,6 +12,11 @@ output $output_tv position 4080 320 mode --custom 2560x1440@60Hz
|
|||
bindsym $mod+Shift+F4 output $output_primary transform 90 clockwise
|
||||
bindsym $mod+F4 output $output_primary transform 90 anticlockwise
|
||||
|
||||
#
|
||||
# Output render configuration:
|
||||
#
|
||||
output * max_render_time 5
|
||||
|
||||
#
|
||||
# Workspaces
|
||||
#
|
||||
|
|
3
.zshrc
3
.zshrc
|
@ -448,8 +448,9 @@ setup_prompt() {
|
|||
if [[ $prompt_compact == true ]]; then
|
||||
prompt_vi=$'%F{'"$prompt_color_always_base3"$'}$zle_vi_mode_%f'
|
||||
fi
|
||||
prompt_trunc=$'%50<..<'
|
||||
RPROMPT="$prompt_history$prompt_user"
|
||||
PROMPT="$prompt_title$prompt_vi$prompt_vcs$prompt_directory "
|
||||
PROMPT="$prompt_title$prompt_vi$prompt_trunc$prompt_vcs$prompt_directory "
|
||||
}
|
||||
format_prompt_title() {
|
||||
prompt_current_program='$command_title_fmt$command_last'
|
||||
|
|
Loading…
Reference in New Issue