diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml index 3eba4cb..a9c1242 100644 --- a/alacritty/alacritty.toml +++ b/alacritty/alacritty.toml @@ -12,6 +12,30 @@ history = 10000 [env] TERM = "xterm-256color" +[colors.primary] +background = "0x1d1f21" +foreground = "0xc5c8c6" + +[colors.normal] +black = "0x282a2e" +red = "0xa54242" +green = "0x8c9440" +yellow = "0xde935f" +blue = "0x5f819d" +magenta = "0x85678f" +cyan = "0x5e8d87" +white = "0x707880" + +[colors.bright] +black = "0x373b41" +red = "0xcc6666" +green = "0xb5bd68" +yellow = "0xf0c674" +blue = "0x81a2be" +magenta = "0xb294bb" +cyan = "0x8abeb7" +white = "0xc5c8c6" + [selection] save_to_clipboard = true [[keyboard.bindings]] diff --git a/mako/config b/mako/config index 8ca5a69..84968dc 100644 --- a/mako/config +++ b/mako/config @@ -1,5 +1,5 @@ -background-color=#1e1e2e -text-color=#cdd6f4 +background-color=#1d1f21 +text-color=#c5c8c6 border-size=2 -border-color=#89b4fa +border-color=#81a2be default-timeout=4000 diff --git a/niri/config.kdl b/niri/config.kdl index f306fa3..5ac15d4 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -3,8 +3,8 @@ layout { border { width 2 - active-color "#ffb86c" - inactive-color "#444444" + active-color "#81a2be" + inactive-color "#373b41" } focus-ring { @@ -39,6 +39,7 @@ binds { Print { spawn-sh "grim -g \"$(slurp)\" ~/Pictures/screenshot-$(date +%s).png"; } Mod+Shift+E { spawn "swaylock" "-f" "-c" "000000"; } + Mod+Shift+P { spawn "bash" "/home/alex/Documents/dotfiles/scripts/powermenu.sh"; } Mod+Shift+X { quit; } XF86AudioRaiseVolume allow-when-locked=true { spawn "pamixer" "-i" "5"; } diff --git a/scripts/powermenu.sh b/scripts/powermenu.sh new file mode 100755 index 0000000..5dcb2e9 --- /dev/null +++ b/scripts/powermenu.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +CHOICE=$(printf " Logout\n Restart\n Sleep\n Shutdown" \ + | wofi --dmenu \ + --prompt "Power:" \ + --width 300 \ + --height 220 \ + --hide-scroll \ + --no-actions \ + --insensitive \ + | awk '{print $2}') + +case "$CHOICE" in + Logout) niri msg action quit ;; + Restart) systemctl reboot ;; + Sleep) systemctl suspend ;; + Shutdown) systemctl poweroff ;; +esac diff --git a/waybar/style.css b/waybar/style.css index 9513005..d9b4071 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -4,17 +4,17 @@ } window#waybar { - background: rgba(15,15,20,0.9); - color: #cdd6f4; + background: rgba(29,31,33,0.9); + color: #c5c8c6; } #workspaces button { padding: 0 8px; - color: #6c7086; + color: #707880; } #workspaces button.focused { - color: #89b4fa; + color: #81a2be; } #clock, #battery, #network, #pulseaudio { diff --git a/wofi/config b/wofi/config index 99ebb8b..dbf1abc 100644 --- a/wofi/config +++ b/wofi/config @@ -2,3 +2,4 @@ show=drun width=700 height=450 prompt=Run: +style=/home/alex/Documents/dotfiles/wofi/style.css diff --git a/wofi/style.css b/wofi/style.css new file mode 100644 index 0000000..5abfdc0 --- /dev/null +++ b/wofi/style.css @@ -0,0 +1,47 @@ +window { + background-color: #1d1f21; + border: 2px solid #373b41; + border-radius: 8px; + color: #c5c8c6; +} + +#input { + background-color: #282a2e; + color: #c5c8c6; + border: 1px solid #373b41; + border-radius: 4px; + padding: 6px 10px; + margin: 8px; + outline: none; +} + +#inner-box { + background-color: #1d1f21; +} + +#outer-box { + padding: 4px; +} + +#scroll { + margin: 0 4px 4px 4px; +} + +#entry { + padding: 6px 10px; + border-radius: 4px; +} + +#entry:selected { + background-color: #282a2e; + color: #81a2be; + outline: none; +} + +#text { + color: #c5c8c6; +} + +#text:selected { + color: #81a2be; +}