updated alacritty, fish, lazygit, sway, waybar configs

This commit is contained in:
Wyatt J. Miller 2024-05-06 12:46:49 -04:00
parent f089998c06
commit 429dfd069f
8 changed files with 271 additions and 89 deletions

View File

@ -0,0 +1,79 @@
[colors.bright]
black = "#444b6a"
blue = "#7da6ff"
cyan = "#0db9d7"
green = "#b9f27c"
magenta = "#bb9af7"
red = "#ff7a93"
white = "#acb0d0"
yellow = "#ff9e64"
[colors.cursor]
cursor = "#F5E0DC"
text = "#1E1E2E"
[colors.hints.end]
background = "#A6ADC8"
foreground = "#1E1E2E"
[colors.hints.start]
background = "#F9E2AF"
foreground = "#1E1E2E"
[colors.normal]
black = "#32344a"
blue = "#7aa2f7"
cyan = "#449dab"
green = "#9ece6a"
magenta = "#ad8ee6"
red = "#f7768e"
white = "#787c99"
yellow = "#e0af68"
[colors.primary]
background = "#1a1b26"
bright_foreground = "#CDD6F4"
dim_foreground = "#CDD6F4"
foreground = "#a9b1d6"
[colors.search.focused_match]
background = "#A6E3A1"
foreground = "#1E1E2E"
[colors.search.footer_bar]
background = "#A6ADC8"
foreground = "#1E1E2E"
[colors.search.matches]
background = "#A6ADC8"
foreground = "#1E1E2E"
[colors.selection]
background = "#F5E0DC"
text = "#1E1E2E"
[colors.vi_mode_cursor]
cursor = "#B4BEFE"
text = "#1E1E2E"
[font]
size = 11
[font.bold]
family = "Monaspace Argon"
style = "Bold"
[font.bold_italic]
family = "Monaspace Argon"
style = "Bold Italic"
[font.italic]
family = "Monaspace Argon"
style = "Italic"
[font.normal]
family = "Monaspace Argon"
style = "Regular"
[window]
opacity = 0.95

View File

@ -1,50 +1,79 @@
# Font [colors.bright]
font: black = "#444b6a"
norrmal: blue = "#7da6ff"
family: Fira Code cyan = "#0db9d7"
style: Regular green = "#b9f27c"
magenta = "#bb9af7"
red = "#ff7a93"
white = "#acb0d0"
yellow = "#ff9e64"
bold: [colors.cursor]
family: Fira Code cursor = "#F5E0DC"
style: Bold text = "#1E1E2E"
italic: [colors.hints.end]
family: Fira Code background = "#A6ADC8"
style: Italic foreground = "#1E1E2E"
bold_italic: [colors.hints.start]
family: Fira Code background = "#F9E2AF"
style: Bold Italic foreground = "#1E1E2E"
size: 11 [colors.normal]
black = "#32344a"
blue = "#7aa2f7"
cyan = "#449dab"
green = "#9ece6a"
magenta = "#ad8ee6"
red = "#f7768e"
white = "#787c99"
yellow = "#e0af68"
# Opacity [colors.primary]
window.opacity: 0.90 background = "#1a1b26"
bright_foreground = "#CDD6F4"
dim_foreground = "#CDD6F4"
foreground = "#a9b1d6"
# Gruvbox [colors.search.focused_match]
colors: background = "#A6E3A1"
primary: foreground = "#1E1E2E"
background: '#2c323b'
foreground: '#eaeaea'
# Normal colors [colors.search.footer_bar]
normal: background = "#A6ADC8"
black: '#242a32' foreground = "#1E1E2E"
red: '#d54e53'
green: '#98c379'
yellow: '#e5c07b'
blue: '#83a598'
magenta: '#c678dd'
cyan: '#70c0ba'
white: '#eaeaea'
bright: [colors.search.matches]
black: '#666666' background = "#A6ADC8"
red: '#ec3e45' foreground = "#1E1E2E"
green: '#90c966'
yellow: '#edbf69' [colors.selection]
blue: '#73ba9f' background = "#F5E0DC"
magenta: '#c858e9' text = "#1E1E2E"
cyan: '#2bcec2'
white: '#ffffff' [colors.vi_mode_cursor]
# Bright colors cursor = "#B4BEFE"
text = "#1E1E2E"
[font]
size = 11
[font.bold]
family = "Monaspace Argon"
style = "Bold"
[font.bold_italic]
family = "Monaspace Argon"
style = "Bold Italic"
[font.italic]
family = "Monaspace Argon"
style = "Italic"
[font.normal]
family = "Monaspace Argon"
style = "Regular"
[window]
opacity = 0.95

View File

@ -1,16 +1,22 @@
# env variables
set -x MOZ_ENABLE_WAYLAND 1
set -x EDITOR "vim"
set RUST "$HOME/.cargo/bin" set RUST "$HOME/.cargo/bin"
set GOPATH "$HOME/source/go" set GOPATH "$HOME/source/go"
set PYTHON_PATH "$HOME/.local/bin" set PYTHON_PATH "$HOME/.local/bin"
set DENO_PATH "$HOME/.deno/"
set DOTNET_PATH "$HOME/.dotnet/tools"
set XDG_CURRENT_DESKTOP sway
set GRADLE_PATH "/opt/gradle/gradle-8.4"
set MOZ_ENABLE_WAYLAND 1
set TERM "xterm-256color"
# aliases # aliases
function ls function ls
command exa --color always $argv command exa --color always $argv
end end
function la
command exa --long --header --all --color always $argv
end
function ll function ll
command exa --long --header --color always $argv command exa --long --header --color always $argv
end end
@ -27,5 +33,17 @@ function less
command bat $argv command bat $argv
end end
function more
command bat $argv
end
# path # path
set PATH "$RUST:$GOPATH:$PYTHON_PATH:$PATH" set PATH "$HOME:$DOTNET_PATH:$DENO_PATH/bin:$RUST:$GOPATH:$PYTHON_PATH:$GRADLE_PATH/bin:$PATH"
# editor env
set EDITOR nvim
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH
atuin init fish | source

View File

@ -0,0 +1,22 @@
function fish_greeting
set memes \
"Crazy? I was crazy once. They locked me in a room. A rubber room. A rubber room with rats. And rats make me crazy." \
"Daddy, chill!" \
"What the hell is even that?!" \
"Road work ahead? Yeah, I sure hope it does!" \
"Look at all those chickens!" \
"I smell like beef" \
"Say, Coloardo \'I\'M A GIRAFFE\'" \
"I didn't get no sleep cause of y'all, y'all not gone get any sleep cause of me!" \
"This is the dollar store, how good can it be?" \
"That was legitness" \
"Deez nuts" \
"I wanna be a cowboy baby" \
"Can I get a waffle? Can I please get a waffle?" \
"I'm lesbian. I thought you were American."
set choose_meme (random)"%"(count $memes)
set choose_meme $memes[(math $choose_meme"+1")]
printf (set_color F90)"%s\n" $choose_meme
end

23
config/lazygit/config.yml Normal file
View File

@ -0,0 +1,23 @@
gui:
theme:
activeBorderColor:
- "#a6e3a1"
- bold
inactiveBorderColor:
- "#a6adc8"
optionsTextColor:
- "#89b4fa"
selectedLineBgColor:
- "#313244"
selectedRangeBgColor:
- "#313244"
cherryPickedCommitBgColor:
- "#45475a"
cherryPickedCommitFgColor:
- "#a6e3a1"
unstagedChangesColor:
- "#f38ba8"
defaultFgColor:
- "#cdd6f4"
searchingActiveBorderColor:
- "#f9e2af"

View File

@ -8,40 +8,40 @@ set $up k
set $right l set $right l
# Alacritty # Alacritty
set $term alacritty set $term alacritty
# Wofi
set $menu wofi --show run # Menu (rofi)
set $rofi_cmd rofi -terminal '$term'
set $menu $rofi_cmd -show combi -combi-modes drun#run -modes combi
### Output configuration ### Output configuration
output DP-1 pos 0 0 res 1920x1080 output DP-3 pos 3840 0 res 1920x1080@59Hz
output HDMI-A-1 pos -1920 0 res 1920x1080 output HDMI-A-1 pos 0 0 res 1920x1080@59Hz
output DVI-D-1 pos 1920 0 res 1920x1080 output DP-2 pos 1920 0 res 1920x1080@60Hz
### Wallpaper ### Wallpaper
output HDMI-A-1 bg ~/.wallpaper.png fill output HDMI-A-1 bg ~/.wallpaper/.wallpaper.png fill
output DVI-D-1 bg ~/.wallpaper.png fill output DP-2 bg ~/.wallpaper/.wallpaper.png fill
output DP-1 bg ~/.wallpaper.png fill output DP-3 bg ~/.wallpaper/.wallpaper.png fill
### Workspace binding ### Workspace binding
## DP-1 bindings ## DP-3 bindings
workspace 1 output DP-1 workspace 1 output DP-2
workspace 2 output DP-1 workspace 2 output DP-2
workspace 4 output DP-1
## HDMI-A-1 bindings ## HDMI-A-1 bindings
workspace 3 output HDMI-A-1 workspace 3 output HDMI-A-1
## DVI-D-1 bindings ## DP-2 bindings
workspace 6 output DVI-D-1 workspace 6 output DP-3
workspace 7 output DVI-D-1 workspace 7 output DP-3
### Colour options ### Colour options
set $bg #40291a set $bg #24283b
set $bg-inactive #323232 set $bg-inactive #323232
set $bg-urgent #000000 set $bg-urgent #000000
set $text #eeeeec set $text #eeeeec
set $text-inactive #babdb6 set $text-inactive #babdb6
set $bar #323232 set $bar #323232
set $statusline #e0e0e0 set $statusline #e0e0e0
@ -52,12 +52,10 @@ client.urgent $bg-urgent $bg-urgent $text $bar $bar
### Idle configuration ### Idle configuration
# exec swayidle -w \
exec swayidle -w \ # timeout 600 'swaylock -f -i /home/wyatt/.wallpaper_lock.jpeg' \
timeout 300 'swaylock -f -i /home/wyatt/.wallpaper_lock.jpeg' \ # timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ # before-sleep 'swaylock -f -c 000000'
before-sleep 'swaylock -f -c 000000'
# Workspaces # Workspaces
set $workspace_www 1 set $workspace_www 1
@ -67,8 +65,6 @@ set $workspace_documents 4
set $workspace_multimedia 5 set $workspace_multimedia 5
# Gaps # Gaps
gaps inner 4
gaps outer 16
floating_modifier $mod normal floating_modifier $mod normal
### Key bindings ### Key bindings
@ -170,6 +166,7 @@ floating_modifier $mod normal
# Take a screenshot of a given selection # Take a screenshot of a given selection
bindsym $mod+Print exec grim -t jpeg -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpeg bindsym $mod+Print exec grim -t jpeg -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpeg
### Resizing containers ### Resizing containers
mode "resize" { mode "resize" {
bindsym $left resize shrink width 10px bindsym $left resize shrink width 10px
@ -196,10 +193,12 @@ bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86AudioPlay exec playerctl play-pause bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous bindsym XF86AudioPrev exec playerctl previous
bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86MonBrightnessDown exec light -U 5
### Lock the screen so my brother ### Lock the screen so my brother
### won't dick with my computer ### won't dick with my computer
bindsym ctrl+alt+l 'swaylock -f -i /home/wyatt/.wallpaper_lock.jpeg' bindsym $mod+Ctrl+l 'swaylock -f -i /home/wyatt/.wallpaper_lock.jpeg'
### Status Bar: ### Status Bar:
bar { bar {
@ -217,7 +216,10 @@ gaps inner 10px
# Applications # Applications
exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
exec mako exec mako
#exec swww init
#exec bash /home/wyatt/.wallpaper/wallpaper.sh /home/wyatt/.wallpaper
set $opacity 1.00 set $opacity 1.00
for_window [class=".*"] opacity $opacity for_window [class=".*"] opacity $opacity
@ -226,5 +228,7 @@ for_window [app_id=".*"] opacity $opacity
# Disable locking when conditions are met # Disable locking when conditions are met
for_window [class="streaming_client"] inhibit_idle fullscreen for_window [class="streaming_client"] inhibit_idle fullscreen
for_window [app_id="firefox"] inhibit_idle fullscreen for_window [app_id="firefox"] inhibit_idle fullscreen
for_window [app_id="neovide"] inhibit_idle fullscreen
for_window [title="Beyond All Reason"] inhibit_idle fullscreen
include /etc/sway/config.d/* include /etc/sway/config.d/*

View File

@ -2,7 +2,7 @@
"layer": "top", "layer": "top",
"modules-left": ["sway/workspaces"], "modules-left": ["sway/workspaces"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["custom/playerctl","pulseaudio", "network", "battery", "tray"], "modules-right": ["custom/playerctl", "custom/weather", "pulseaudio", "network", "tray"],
"sway/workspaces": { "sway/workspaces": {
"disable-scroll": true, "disable-scroll": true,
"all-outputs": true, "all-outputs": true,
@ -12,7 +12,7 @@
"2":"", "2":"",
"3":"", "3":"",
"4":"", "4":"",
"5":"", "5":"",
"6":"", "6":"",
"urgent": "", "urgent": "",
"focused": "", "focused": "",
@ -24,9 +24,16 @@
"tooltip": false "tooltip": false
}, },
"clock": { "clock": {
"format-alt": "{:%d-%m-%Y}", "format-alt": "{:%m-%d-%Y}",
"tooltip": false "tooltip": false
}, },
"custom/weather": {
"format": "{} °",
"tooltip": true,
"interval": 3600,
"exec": "wttrbar --fahrenheit --main-indicator 'temp_F' --location 'Grand Rapids'",
"return-type": "json"
},
"network": { "network": {
"format-wifi": " {essid} ({signalStrength}%)", "format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ipaddr}", "format-ethernet": " {ipaddr}",
@ -48,10 +55,10 @@
"tooltip": false "tooltip": false
}, },
"custom/playerctl": { "custom/playerctl": {
"format": " {}", "format": " {}",
"max-length": 40, "max-length": 40,
"interval": 5, "interval": 5,
"exec": "playerctl metadata --format '{{ artist }} - {{ title }}'", "exec": "playerctl metadata --format '{{ artist }} - {{ title }}'",
"tooltip": false "tooltip": false
} },
} }

View File

@ -1,16 +1,16 @@
* { * {
border: none; border: none;
border-radius: 0; border-radius: 0;
font-family: "Fira Code"; font-family: "Monaspace Krypton";
font-size: 13px; font-size: 13px;
min-height: 0; min-height: 0;
} }
window#waybar { window#waybar {
background: #282828; background: #1f2335;
border-bottom: 1px solid #504945; border-bottom: 1px solid #24283b;
color: #ebdbb2; color: #c0caf5;
opacity: 0.8080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080; opacity: 0.808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808;
} }
#workspaces button { #workspaces button {
@ -18,14 +18,14 @@ window#waybar {
padding-left: 12px; padding-left: 12px;
padding-right: 12px; padding-right: 12px;
background: transparent; background: transparent;
color: #ebdbb2; color: #c0caf5;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
} }
#workspaces button.focused { #workspaces button.focused {
background: #ebdbb2; background: #c0caf5;
color: #1d2021; color: #1d2021;
border-bottom: 1px solid #ebdbb2; border-bottom: 1px solid #c0caf5;
} }
#cpu, #cpu,
@ -40,11 +40,11 @@ window#waybar {
} }
#battery.charging { #battery.charging {
color: #689d6a; color: #9ece6a;
} }
#battery.warning:not(.charging) { #battery.warning:not(.charging) {
color: #d79921; color: #ff9e64;
} }
@keyframes blink { @keyframes blink {
@ -55,7 +55,7 @@ window#waybar {
} }
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background: #cc241d; background: #f7768e;
color: #ebdbb2; color: #ebdbb2;
border-bottom: 1px solid #ebdbb2; border-bottom: 1px solid #ebdbb2;
animation-name: blink; animation-name: blink;