Compare commits

..

2 Commits

Author SHA1 Message Date
39a55d935b ensure repo is in ~/scripts and update readme for waybar styles 2026-03-05 16:55:42 +00:00
5eac07971a add waybar style 2026-03-05 16:55:21 +00:00
3 changed files with 134 additions and 16 deletions

View File

@@ -4,15 +4,13 @@ A collection of Linux scripts and configs for use across multiple machines.
## Installation ## Installation
When referring to `{repo_dir}`, use absolute paths (e.g., `~/scripts`).
### alacritty configuration ### alacritty configuration
Add this to the `.config/alacritty/alacritty.toml` Add this to the `.config/alacritty/alacritty.toml`
``` ```
import = [ import = [
"{repo_dir}/alacritty.toml" "~/scripts/alacritty.toml"
] ]
``` ```
@@ -28,7 +26,7 @@ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Then to use the config file, add to `~/.tmux.conf`: Then to use the config file, add to `~/.tmux.conf`:
``` ```
source {repo_dir}/tmux.conf source ~/scripts/tmux.conf
``` ```
### Bash/Zsh Configuration ### Bash/Zsh Configuration
@@ -36,8 +34,8 @@ source {repo_dir}/tmux.conf
Add to `~/.bashrc` or `~/.zshrc`: Add to `~/.bashrc` or `~/.zshrc`:
```bash ```bash
source {repo_dir}/bashrc # or zshrc source ~/scripts/bashrc # or zshrc
export PATH="{repo_dir}/sh:$PATH" export PATH="~/scripts/sh:$PATH"
``` ```
### Vim Configuration ### Vim Configuration
@@ -45,35 +43,43 @@ export PATH="{repo_dir}/sh:$PATH"
Add to `~/.vimrc`: Add to `~/.vimrc`:
``` ```
source {repo_dir}/vimrc source ~/scripts/vimrc
``` ```
### i3 Configuration ### i3 Configuration
```bash ```bash
ln -s {repo_dir}/i3/i3config ~/.config/i3/config ln -s ~/scripts/i3/i3config ~/.config/i3/config
ln -s {repo_dir}/i3/i3blocks.conf ~/.config/i3blocks/config ln -s ~/scripts/i3/i3blocks.conf ~/.config/i3blocks/config
ln -s {repo_dir}/i3/i3status.conf ~/.config/i3status/config ln -s ~/scripts/i3/i3status.conf ~/.config/i3status/config
``` ```
### Hyprland Configuration ### Hyprland Configuration
```bash ```bash
ln -s {repo_dir}/hyprland/hyprland.conf ~/.config/hypr/hyprland.conf ln -s ~/scripts/hyprland/hyprland.conf ~/.config/hypr/hyprland.conf
ln -s {repo_dir}/waybar/waybar_hyprland_config.json ~/.config/waybar/config ln -s ~/scripts/waybar/waybar_hyprland_config.json ~/.config/waybar/config
ln -s ~/scripts/waybar/waybar_style.css ~/.config/waybar/style.css
``` ```
### Sway Configuration ### Sway Configuration
```bash ```bash
ln -s {repo_dir}/sway/swayconfig ~/.config/sway/config ln -s ~/scripts/sway/swayconfig ~/.config/sway/config
ln -s {repo_dir}/waybar/waybar_sway_config.json ~/.config/waybar/config ln -s ~/scripts/waybar/waybar_sway_config.json ~/.config/waybar/config
ln -s ~/scripts/waybar/waybar_style.css ~/.config/waybar/style.css
``` ```
### Wofi Configuration ### Wofi Configuration
```bash ```bash
ln -s {repo_dir}/wofi/wofi_style.css ~/.config/wofi/style.css ln -s ~/scripts/wofi/wofi_style.css ~/.config/wofi/style.css
```
### Hatsune Miku Cursor
```bash
ln -s ~/scripts/hatsune-miku-windows-linux-cursors/miku-cursor-linux ~/.local/share/icons/"Miku Cursor"
``` ```
## Keybindings ## Keybindings

View File

@@ -20,7 +20,7 @@ $menu = wofi --show run
### CURSOR ### ### CURSOR ###
################### ###################
env = XCURSOR_THEME,Bibata-Modern-Classic env = XCURSOR_THEME,Miku Cursor
env = XCURSOR_SIZE,32 env = XCURSOR_SIZE,32
################# #################

112
waybar/waybar_style.css Normal file
View File

@@ -0,0 +1,112 @@
* {
font-family: "URWGothic-Book", monospace;
font-size: 16px;
min-height: 0;
border: none;
border-radius: 0;
padding: 0;
margin: 0;
}
window#waybar {
background-color: #1A1B2F;
color: #C792EA;
}
/* Workspaces */
#workspaces button {
padding: 0 8px;
background-color: #2A2B3D;
color: #FFFFFF;
border-bottom: 2px solid transparent;
}
#workspaces button:hover {
background-color: #2A2B3D;
border-bottom: 2px solid #C792EA;
box-shadow: none;
}
#workspaces button.focused,
#workspaces button.active {
background-color: #1A1B2F;
color: #FFFFFF;
border-bottom: 2px solid #C792EA;
}
#workspaces button.urgent {
background-color: #FF5370;
color: #FFFFFF;
}
#mode {
background-color: #FF79C6;
color: #1A1B2F;
padding: 0 8px;
font-style: italic;
}
/* Right-side modules */
#custom-greetings,
#custom-history,
#custom-claudebar,
#pulseaudio,
#cpu,
#memory,
#disk,
#network,
#clock {
padding: 0 10px;
color: #C792EA;
}
/* Pink separators between modules (matching i3bar separator color) */
#custom-history,
#custom-claudebar,
#pulseaudio,
#cpu,
#memory,
#disk,
#network,
#clock {
border-left: 1px solid #FF79C6;
}
#custom-greetings {
color: #f5af19;
}
#clock {
color: #FF79C6;
}
/* claudebar severity classes */
#custom-claudebar.low {
color: #50FA7B;
}
#custom-claudebar.mid {
color: #F1FA8C;
}
#custom-claudebar.high {
color: #FFB86C;
}
#custom-claudebar.critical {
color: #FF5370;
}
#tray {
padding: 0 8px;
border-left: 1px solid #FF79C6;
}
#tray>.passive {
-gtk-icon-effect: dim;
}
#tray>.needs-attention {
-gtk-icon-effect: highlight;
background-color: #FF5370;
}