lock theme change and omp theme change

This commit is contained in:
2024-12-27 21:15:30 +01:00
parent f9c90e0153
commit f17dac3339
12 changed files with 165 additions and 173 deletions

View File

@@ -21,3 +21,16 @@ post_hook = 'swaync-client -rs'
input_path = './templates/colors.conf'
output_path = '~/.config/hypr/colors.conf'
post_hook = 'sed -i "s/, /,/g" ~/.config/hypr/colors.conf'
[templates.swaylock]
input_path = './templates/config'
output_path = '~/.config/swaylock/config'
[templates.wlogout]
input_path = './templates/wlogoutcolors.css'
output_path = '~/.config/wlogout/colors.css'
[templates.oh-my-posh]
input_path = './templates/config.omp.json'
output_path = '~/.config/oh-my-posh/config.omp.json'
post_hook = 'sed -i "s/|/{/g" ~/.config/oh-my-posh/config.omp.json && sed -i "s/°/}/g" ~/.config/oh-my-posh/config.omp.json'

View File

@@ -0,0 +1,36 @@
indicator
indicator-idle-visible
indicator-radius=150
indicator-thickness=10
inside-color={{colors.background.default.hex}}
inside-clear-color={{colors.on_error_container.default.hex}}
inside-caps-lock-color={{colors.background.default.hex}}
inside-ver-color={{colors.primary_container.default.hex}}
inside-wrong-color={{colors.error_container.default.hex}}
key-hl-color={{colors.primary.default.hex}}
line-uses-ring
ring-color={{colors.primary_container.default.hex}}
ring-clear-color={{colors.on_error.default.hex}}
ring-caps-lock-color={{colors.primary.default.hex}}
ring-ver-color={{colors.primary_fixed_dim.default.hex}}
ring-wrong-color={{colors.on_error.default.hex}}
separator-color={{colors.primary_fixed_dim.default.hex}}
text-color={{colors.primary.default.hex}}
text-clear-color={{colors.on_error.default.hex}}
text-caps-lock-color={{colors.primary.default.hex}}
text-ver-color={{colors.primary.default.hex}}
text-wrong-color={{colors.error.default.hex}}
text-caps-lock=CAPS-LOCK
text-ver=Verifying...
text-wrong=Try again
clock
timestr=%H:%M
datestr=%A, %x
scaling=stretch
image=$HOME/.config/assets/wallpaper/any-wallpaper.jpg
effect-blur=90x1
effect-pixelate=5
time-effects

View File

@@ -0,0 +1,68 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"leading_diamond": "\ue0b6",
"trailing_diamond": "\ue0b4",
"foreground": "{{colors.surface.default.hex}}",
"background": "{{colors.tertiary.default.hex}}",
"type": "os",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none"
},
"trailing_diamond": "\ue0b4",
"template": " || .UserName °°@|| .HostName °°",
"foreground": "{{colors.surface.default.hex}}",
"background": "{{colors.secondary.default.hex}}",
"type": "session",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none"
},
"trailing_diamond": "\ue0b4",
"template": " || .PWD °° ",
"foreground": "{{colors.surface.default.hex}}",
"background": "{{colors.primary.default.hex}}",
"type": "path",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"fetch_status": true,
"fetch_upstream_icon": true,
"mapped_branches": {
"bug/*": "\ueaaf",
"feat/*": "\uf427"
},
"source": "cli",
"untracked_modes": {
"/Users/user/Projects/oh-my-posh/": "no"
}
},
"trailing_diamond": "\ue0b4",
"template": " || .UpstreamIcon °°|| .HEAD °°||if .BranchStatus °° || .BranchStatus °°|| end °°|| if .Working.Changed °° \uf044 || .Working.String °°|| end °°|| if and (.Working.Changed) (.Staging.Changed) °° || end °°|| if .Staging.Changed °° \uf046 || .Staging.String °°|| end °°|| if gt .StashCount 0 °° \uf0c7 || .StashCount °°|| end °°",
"foreground": "{{colors.surface.default.hex}}",
"background": "{{colors.tertiary_fixed_dim.default.hex}}",
"type": "git",
"style": "diamond"
}
],
"newline": true
}
],
"version": 3,
"final_space": true
}

View File

@@ -0,0 +1,5 @@
@define-color background {{colors.background.default.rgba | set_alpha: 0.7}};
@define-color primary {{colors.primary.default.hex}};
@define-color secondary {{colors.secondary.default.hex | set_lightness: -30.0}};
@define-color tertiary {{colors.tertiary.default.hex | set_lightness: -30.0}};
@define-color surface_bright {{colors.surface_bright.default.hex}};