exec, colors
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
exec alacritty msg create-window --class="term_float" --working-directory="$HOME" --command "($inp); read -n1";;
|
||||
3
arch-user/bin/menu/run-float-sh-keep.sh
Executable file
3
arch-user/bin/menu/run-float-sh-keep.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
exec alacritty msg create-window --class="term_float" --working-directory="$HOME" --command "$SHELL" -c '"$@"; { echo "[exited with code $?]"; read -n1; }' -- "$@"
|
||||
|
||||
2
arch-user/bin/menu/exec-float-sh.sh → arch-user/bin/menu/run-float-sh.sh
Normal file → Executable file
2
arch-user/bin/menu/exec-float-sh.sh → arch-user/bin/menu/run-float-sh.sh
Normal file → Executable file
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec alacritty msg create-window --class="term_float" --working-directory="$HOME" --command "$SHELL" -c "($inp)"
|
||||
exec alacritty msg create-window --class="term_float" --working-directory="$HOME" --command "$SHELL" -c '"$@"' -- "$@"
|
||||
@@ -2,14 +2,14 @@
|
||||
export WMENU_VOPTS="\
|
||||
-i \
|
||||
-f '{{ .theme.font.name_mono }} {{ math.Add .theme.font.size_base_pt .theme.font.size_step_pt }}' \
|
||||
-n {{ .theme.color.fg }} -N {{ .theme.color.bg_accent_dark }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
|
||||
-m {{ .theme.color.fg }} -M {{ .theme.color.bg_accent_dark }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
|
||||
-s {{ .theme.color.fg }} -S {{ .theme.color.bg_accent_light }} \
|
||||
-n {{ .theme.color.fg }} -N {{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
|
||||
-m {{ .theme.color.fg }} -M {{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
|
||||
-s {{ .theme.color.fg_accent }} -S {{ .theme.color.bg }}{{ math.Mul .theme.opacity.high 255 | conv.ToInt64 | printf "%02X" }} \
|
||||
"
|
||||
export WMENU_HOPTS="\
|
||||
-i \
|
||||
-f '{{ .theme.font.name_mono }} {{ math.Add .theme.font.size_base_pt .theme.font.size_step_pt }}' \
|
||||
-n {{ .theme.color.fg }} -N {{ .theme.color.bg_accent_dark }} \
|
||||
-m {{ .theme.color.fg }} -M {{ .theme.color.bg_accent_dark }} \
|
||||
-s {{ .theme.color.fg }} -S {{ .theme.color.bg_accent_light }} \
|
||||
-s {{ .theme.color.bg_accent_dark }} -S {{ .theme.color.fg_accent }} \
|
||||
"
|
||||
|
||||
@@ -39,7 +39,7 @@ bar {
|
||||
separator #{{ .theme.color.fg_dark }}
|
||||
focused_workspace #{{ .theme.color.bg_accent_light }} #{{ .theme.color.bg_accent_light }} #{{ .theme.color.fg }}
|
||||
inactive_workspace #{{ .theme.color.bg_accent_dark }} #{{ .theme.color.bg_accent_dark }} #{{ .theme.color.fg }}
|
||||
urgent_workspace #{{ .theme.color.fg_accent }} #{{ .theme.color.fg_accent }} #{{ .theme.color.fg }}
|
||||
urgent_workspace #{{ .theme.color.fg_accent }} #{{ .theme.color.fg_accent }} #{{ .theme.color.bg_accent_dark }}
|
||||
binding_mode #{{ .theme.color.fg_accent }} #{{ .theme.color.fg_accent }} #{{ .theme.color.fg }}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,6 +93,5 @@ export IS_COMPAT=0
|
||||
###############################
|
||||
|
||||
swaymsg reload || true
|
||||
. ~/.profile
|
||||
|
||||
echo ok
|
||||
|
||||
Reference in New Issue
Block a user