replaced powerline with oh-my-posh, new deps and alias fixes

This commit is contained in:
2024-06-11 22:59:12 +02:00
parent ec10ac7281
commit a715528931
15 changed files with 113 additions and 35 deletions

View File

@@ -5,3 +5,4 @@
#
XCURSOR_THEME="Adwaita"
EDITOR="nano"
GTK_THEME=Adwaita-dark

2
config/gtk/portals.conf Normal file
View File

@@ -0,0 +1,2 @@
[preferred]
default=gtk;wlr

View File

@@ -1,15 +1,14 @@
[Settings]
gtk-theme-name=Adwaita-dark
gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="Ubuntu 12"
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintmedium

View File

@@ -29,6 +29,7 @@ x-scheme-handler/tidal=tidal-hifi.desktop
# files
#--------------
inode/director=thunar.desktop
x-scheme-handler/ftb=ftb-app.desktop
[Added Associations]
# browser-stuff

View File

@@ -0,0 +1,61 @@
version: 2
blocks:
# prompt on the right
- type: rprompt
overflow: hidden
segments:
- background: transparent
foreground: yellow
style: plain
template: "{{ .FormattedMs }}"
type: executiontime
properties:
threshold: 1
# prompt segment
- type: prompt
alignment: left
newline: true
segments:
- foreground: "#77E4F7"
template: "{{ .Path }} "
type: path
properties:
home_icon: " "
style: agnoster_short
# git segment
- type: git
foreground: "#C678DD"
properties:
fetch_status: true
style: plain
# template:
# "<#ffffff>on</> {{ .HEAD }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Working.Changed)
# (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String
# }}{{ end }}"
template: "<#ffffff>on</> {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}  {{end}} "
# current language info
- type: node
foreground: "#98C379"
properties:
fetch_version: true
style: plain
template: "  {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }} {{ .Full }} "
- alignment: left
segments:
- foreground: "#63F08C"
style: plain
template: "➜ "
type: text
type: prompt
# bash won't play along :)
# transient_prompt:
# background: transparent
# foreground_templates:
# - "{{if gt .Code 0}}red{{end}}"
# - "{{if eq .Code 0}}magenta{{end}}"
# template: " "

View File

@@ -6,11 +6,14 @@ configuration {
ssh-command: "{terminal} -e "{ssh-client} {host}"";
show-icons: true;
display-drun: "";
display-run: "";
display-ssh: "";
display-filebrowser: "";
display-window: "";
display-drun: " ";
display-run: " ";
display-ssh: " ";
display-clipboard: "";
display-emoji: "";
display-calc: " ";
display-filebrowser: " ";
display-window: " ";
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
window-format: "{w} · {c} · {t}";
}