From 8cb6f49db98cc4c8e295c3dfecdc679bcb54b03f Mon Sep 17 00:00:00 2001 From: Gal Szkolnik Date: Fri, 3 Jun 2022 10:49:50 -0400 Subject: [PATCH] spacemacs works + ohmyposh theme improvement added username to right side of prompt edit-with-spacemacs works with multiple files, even if they have spaces in the file name if emacs is installed and edit-with-spacemacs exists, that will become the vi of chioce for the user. --- .../spacemacs.client.desktop | 2 +- .../spacemacs.daemon.desktop | 10 ---------- ...omp.json => private_dot_poshtheme.omp.json} | 18 +++++++++++++++++- 3 files changed, 18 insertions(+), 12 deletions(-) delete mode 100644 _home/private_dot_local/private_share/private_applications/spacemacs.daemon.desktop rename _home/{private_readonly_dot_poshtheme.omp.json => private_dot_poshtheme.omp.json} (90%) diff --git a/_home/private_dot_local/private_share/private_applications/spacemacs.client.desktop b/_home/private_dot_local/private_share/private_applications/spacemacs.client.desktop index 35804bd..710a43c 100644 --- a/_home/private_dot_local/private_share/private_applications/spacemacs.client.desktop +++ b/_home/private_dot_local/private_share/private_applications/spacemacs.client.desktop @@ -3,7 +3,7 @@ Name=Spacemacs (Client) Comment=GNU Emacs is an extensible, customizable text editor - and more Icon=emacs Type=Application -Exec=~/.local/bin/edit-with-spacemacs +Exec=sh -c "~/.local/bin/edit-with-spacemacs" Terminal=false Categories=Utility;Development;TextEditor; diff --git a/_home/private_dot_local/private_share/private_applications/spacemacs.daemon.desktop b/_home/private_dot_local/private_share/private_applications/spacemacs.daemon.desktop deleted file mode 100644 index 8b3d72b..0000000 --- a/_home/private_dot_local/private_share/private_applications/spacemacs.daemon.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=[Spacemacs Daemon] -Comment=GNU Emacs is an extensible, customizable text editor - and more -Icon=emacs -Type=Application -Exec=/usr/bin/emacs --with-profile spacemacs --daemon -Terminal=false -Categories=Utility;Development;TextEditor; -Keywords=Text;Editor; -Version=1.0 diff --git a/_home/private_readonly_dot_poshtheme.omp.json b/_home/private_dot_poshtheme.omp.json similarity index 90% rename from _home/private_readonly_dot_poshtheme.omp.json rename to _home/private_dot_poshtheme.omp.json index f836941..00d7487 100644 --- a/_home/private_readonly_dot_poshtheme.omp.json +++ b/_home/private_dot_poshtheme.omp.json @@ -173,12 +173,28 @@ "template": "{{ if gt .Code 0 }}{{ .Meaning }}{{ else }}\u2714{{ end }} ", "type": "exit" }, + { + "background": "#4063D8", + "background_templates": [ + "{{ if .Root }}lightRed{{ end }}" + ], + "foreground": "#d3d7cf", + "properties": { + "display_host": true + }, + "invert_powerline": true, + "style": "powerline", + "powerline_symbol": "\ue0b2", + "template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>{{ .UserName }}{{ if .Root }}!{{ else }}@{{ end }}{{ .HostName }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}> \uf2bd ", + "trailing_diamond": "\ue0b0\u2500\u256e", + "type": "session" + }, { "background": "#d3d7cf", "foreground": "#000000", "invert_powerline": true, "style": "diamond", - "template": "{{ .CurrentDate | date .Format }} \uf017 ", + "template": " {{ .CurrentDate | date .Format }} \uf017", "trailing_diamond": "\ue0b0\u2500\u256e", "type": "time" }