From f4173caa3259ca930e6351da0433c2db9f6fa2fc Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Sat, 24 May 2025 22:54:19 -0500 Subject: init --- targets/waybar.sh | 169 +++++++++++++++++++++++++++++++++++++++++++++++++++++ targets/wezterm.sh | 28 +++++++++ 2 files changed, 197 insertions(+) create mode 100755 targets/waybar.sh create mode 100755 targets/wezterm.sh (limited to 'targets') diff --git a/targets/waybar.sh b/targets/waybar.sh new file mode 100755 index 0000000..d2d354d --- /dev/null +++ b/targets/waybar.sh @@ -0,0 +1,169 @@ +fileout="$HOME/.config/waybar/style.css" + +printf "* { + font-family: JetbrainsMono Nerd Font; + font-size: 13px; + min-height: 0; + padding-right: 2px; + padding-left: 2px; + padding-bottom: 0px; +} + +#waybar { + background: transparent; + color: $color7; + margin: 2px 2px; +} + +#workspaces { + border-radius: 5px; + margin: 5px; + background: $color0; + margin-left: 2px; +} + +#workspaces button { + color: $color5; + border-radius: 5px; + padding: 0.4rem; +} + +#workspaces button.active { + color: $color14; + border-radius: 5px; +} + +button { + background: transparent; +} + +#workspaces button:hover { + background: $color8; + border: 0px solid transparent; +} + +#custom-music, +#tray, +#backlight, +#clock, +#battery, +#pulseaudio, +#network, +#cpu, +#memory, +#custom-lock, +#custom-power, +#custom-weather, +#custom-uptime, +#custom-rss, +#custom-disc, +#custom-mic, +#custom-docker { + background-color: $color0; + padding: 0.5rem 1rem; + margin: 5px 0; +} + +#clock { + color: $color4; + border-radius: 0px; +} + +#custom-weather { + color: $color4; + margin-left: 0.5rem; + border-radius: 5px; +} + +#battery { + color: #a6d189; +} + +#battery.charging { + color: #a6d189; +} + +#battery.warning:not(.charging) { + color: #e78284; +} + +#backlight { + color: #e5c890; +} + +#backlight, +#battery { + border-radius: 0; +} + +#pulseaudio { + color: $color9; +} + +#custom-mic{ + color: $color9; + border-radius: 5px 0px 0px 5px; +} + +#custom-docker { + color: $color4; +} + +#custom-music { + color: #ca9ee6; + border-radius: 5px; +} + +#custom-lock { + color: #babbf1; +} + +#custom-power { + margin-right: 1rem; + border-radius: 0px 5px 5px 0px; + color: #e78284; +} + +#custom-docker.docker { + color: #85c1dc; +} + +#custom-docker.docker-none { + color: #737994; +} + +#custom-docker.docker-error { + color: #e78284; +} + +#custom-weather.clear { + color: #e5c890; /* Sunny yellow */ +} + +#custom-weather.cloud { + color: #99d1db; /* Light blue */ +} + +#custom-weather.rain { + color: #8caaee; /* Blue */ +} + +#custom-weather.snow { + color: #c6d0f5; /* White-ish */ +} + +#custom-weather.thunder { + color: #ca9ee6; /* Purple */ +} + +#custom-weather.fog { + color: #b0b4bc; /* Gray */ +} + +#custom-weather.error { + color: $color0; /* Red */ +}" > "$fileout" + +sleep 0.1s +pkill waybar +nohup waybar > /dev/null 2> /dev/null < /dev/null & disown diff --git a/targets/wezterm.sh b/targets/wezterm.sh new file mode 100755 index 0000000..168c1e4 --- /dev/null +++ b/targets/wezterm.sh @@ -0,0 +1,28 @@ +fileout="$HOME/.config/wezterm/colors.lua" + +printf "return { + foreground = '$foreground', + background = '$background', + cursor_fg = '$cursor', + selection_bg = '$highlight', + ansi = { + '$color0', + '$color1', + '$color2', + '$color3', + '$color4', + '$color5', + '$color6', + '$color7', + }, + brights = { + '$color8', + '$color9', + '$color10', + '$color11', + '$color12', + '$color13', + '$color14', + '$color15', + } +}" > "$fileout" -- cgit v1.3