bspwm : add display for other env. / starship : change style

This commit is contained in:
2024-04-19 11:36:17 +09:00
parent 9989d4640e
commit d478a6ea76
2 changed files with 134 additions and 40 deletions

View File

@ -2,6 +2,8 @@
if [[ $JUPCID == "HOME-DESKTOP" ]]; then if [[ $JUPCID == "HOME-DESKTOP" ]]; then
xrandr --output DP-4 --primary --mode 2560x1440 --rotate normal --output HDMI-0 --rotate right --right-of DP-4 xrandr --output DP-4 --primary --mode 2560x1440 --rotate normal --output HDMI-0 --rotate right --right-of DP-4
elif [[ $JUPCID == "HWDEV" ]]; then
xrandr --output HDMI-1 --primary --mode 2560x1440 --rotate normal
fi fi
killall bspc killall bspc
@ -9,6 +11,7 @@ killall bspc
################################################## ##################################################
# AUTOSTART # AUTOSTART
################################################## ##################################################
sleep 1
killall sxhkd killall sxhkd
killall picom killall picom
sxhkd & sxhkd &

View File

@ -1,76 +1,167 @@
"$schema" = 'https://starship.rs/config-schema.json'
format = """ format = """
[](#a3aed2)\ [](color_orange)\
$os\ $os\
[](bg:#769ff0 fg:#a3aed2)\ $username\
[](bg:color_yellow fg:color_orange)\
$directory\ $directory\
[](fg:#769ff0 bg:#394260)\ [](fg:color_yellow bg:color_aqua)\
$git_branch\ $git_branch\
$git_status\ $git_status\
[](fg:#394260 bg:#212736)\ [](fg:color_aqua bg:color_blue)\
$c\
$rust\ $rust\
$golang\
$nodejs\
$php\
$java\
$kotlin\
$haskell\
$python\ $python\
$ruby\ [](fg:color_blue bg:color_bg3)\
$package\ $docker_context\
[](fg:#212736 bg:#1d2230)\ $conda\
[](fg:color_bg3 bg:color_bg1)\
$time\ $time\
[ ](fg:#1d2230)\ [ ](fg:color_bg1)\
\n$character""" $line_break$character"""
#[ ]\ palette = 'gruvbox_dark'
[palettes.gruvbox_dark]
color_fg0 = '#fbf1c7'
color_bg1 = '#3c3836'
color_bg3 = '#665c54'
color_blue = '#458588'
color_aqua = '#689d6a'
color_green = '#98971a'
color_orange = '#d65d0e'
color_purple = '#b16286'
color_red = '#cc241d'
color_yellow = '#d79921'
[os] [os]
style = "bg:#a3aed2 fg:#090c0c"
format = "[ $symbol ($version) ]($style)"
disabled = false disabled = false
[os.symbols] style = "bg:color_orange fg:color_fg0"
Windows = " "
Arch = " "
Ubuntu = " "
[os.symbols]
Windows = "󰍲"
Ubuntu = "󰕈"
SUSE = ""
Raspbian = "󰐿"
Mint = "󰣭"
Macos = "󰀵"
Manjaro = ""
Linux = "󰌽"
Gentoo = "󰣨"
Fedora = "󰣛"
Alpine = ""
Amazon = ""
Android = ""
Arch = "󰣇"
Artix = "󰣇"
CentOS = ""
Debian = "󰣚"
Redhat = "󱄛"
RedHatEnterprise = "󱄛"
[username]
show_always = true
style_user = "bg:color_orange fg:color_fg0"
style_root = "bg:color_orange fg:color_fg0"
format = '[ $user ]($style)'
[directory] [directory]
style = "fg:#e3e5e5 bg:#769ff0" style = "fg:color_fg0 bg:color_yellow"
format = "[ $path ]($style)" format = "[ $path ]($style)"
truncation_length = 3 truncation_length = 3
truncation_symbol = "…/" truncation_symbol = "…/"
[directory.substitutions] [directory.substitutions]
"Documents" = " " "Documents" = "󰈙 "
"Downloads" = " " "Downloads" = " "
"Music" = " " "Music" = "󰝚 "
"Pictures" = " " "Pictures" = " "
"Developer" = "󰲋 "
[git_branch] [git_branch]
symbol = "" symbol = ""
style = "bg:#394260" style = "bg:color_aqua"
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)' format = '[[ $symbol $branch ](fg:color_fg0 bg:color_aqua)]($style)'
[git_status] [git_status]
style = "bg:#394260" style = "bg:color_aqua"
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)' format = '[[($all_status$ahead_behind )](fg:color_fg0 bg:color_aqua)]($style)'
[nodejs]
symbol = ""
style = "bg:color_blue"
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[c]
symbol = " "
style = "bg:color_blue"
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[rust] [rust]
symbol = "" symbol = ""
style = "bg:#212736" style = "bg:color_blue"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)' format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[golang]
symbol = ""
style = "bg:color_blue"
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[php]
symbol = ""
style = "bg:color_blue"
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[java]
symbol = " "
style = "bg:color_blue"
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[kotlin]
symbol = ""
style = "bg:color_blue"
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[haskell]
symbol = ""
style = "bg:color_blue"
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[python] [python]
symbol = "" symbol = ""
style = "bg:#212736" style = "bg:color_blue"
format = '\[[${symbol} ${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]' format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
[ruby] [docker_context]
symbol = "" symbol = ""
style = "bg:#212736" style = "bg:color_bg3"
format = '\[[$symbol ($version)]($style)\]' format = '[[ $symbol( $context) ](fg:#83a598 bg:color_bg3)]($style)'
[package]
style = "bg:#212736"
format = '\[[$symbol ($version)]($style)\]'
[conda]
style = "bg:color_bg3"
format = '[[ $symbol( $environment) ](fg:#83a598 bg:color_bg3)]($style)'
[time] [time]
disabled = true disabled = false
time_format = "%R" # Hour:Minute Format time_format = "%R"
style = "bg:#1d2230" style = "bg:color_bg1"
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)' format = '[[  $time ](fg:color_fg0 bg:color_bg1)]($style)'
[line_break]
disabled = false
[character]
disabled = false
success_symbol = '[](bold fg:color_green)'
error_symbol = '[](bold fg:color_red)'
vimcmd_symbol = '[](bold fg:color_green)'
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
vimcmd_replace_symbol = '[](bold fg:color_purple)'
vimcmd_visual_symbol = '[](bold fg:color_yellow)'