fixed update
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
file="$HOME/.local/state/quickshell/user/generated/colors.json"
|
||||
|
||||
jq -r 'to_entries[] | "\(.key) \(.value)"' "$file" |
|
||||
while read -r name hex; do
|
||||
hex="${hex#\#}"
|
||||
|
||||
r=$((16#${hex:0:2}))
|
||||
g=$((16#${hex:2:2}))
|
||||
b=$((16#${hex:4:2}))
|
||||
|
||||
printf "%-30s " "$name"
|
||||
printf "\e[48;2;%d;%d;%dm \e[0m " "$r" "$g" "$b"
|
||||
printf "%s\n" "#$hex"
|
||||
done
|
||||
read -n 1
|
||||
@@ -2,7 +2,7 @@
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"fixed-center": "true",
|
||||
"output": "DP-2",
|
||||
"output": "HDMI-A-1",
|
||||
"margin-top": 0,
|
||||
"margin-bottom": 0,
|
||||
"margin-left": 0,
|
||||
|
||||
+1
-1
@@ -984,7 +984,7 @@
|
||||
|
||||
# Don't show context unless running with privileges or in SSH.
|
||||
# Tip: Remove the next line to always show context.
|
||||
typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION=
|
||||
#typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION=
|
||||
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
@@ -9,7 +9,7 @@ CMD=$(cat ~/.config/sdgos/tuis/layouts.list | grep -e "$SELECTED" | cut -d '|' -
|
||||
|
||||
eval $CMD
|
||||
|
||||
if [[ "$SELECTED" == "Monocle " ]] || [[ "$SELECTED" == "Deck - horizontal " ]] || [[ "$SELECTED" == "Deck - vertical " ]]; then
|
||||
if [[ "$SELECTED" == "Deck - horizontal " ]] || [[ "$SELECTED" == "Deck - vertical " ]]; then
|
||||
pkill -9 waybar
|
||||
mmsg dispatch spawn_shell,'waybar -c ~/.config/sdgos/monocle/config -s ~/.config/sdgos/monocle/style.css'
|
||||
else
|
||||
|
||||
@@ -5,6 +5,8 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/usr/share/oh-my-zsh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user