From c64080c9bfceca541dfffc647a50c1a37c8fa354 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 8 May 2024 06:46:55 +0100 Subject: [PATCH] Misc updates --- config/alacritty/alacritty.toml | 99 +++++++++++++++++++++++++++++++ config/rofi/catppuccin-mocha.rasi | 88 +++++++++++++++++++++++++++ config/rofi/config.rasi | 6 +- config/sway/config | 9 ++- config/waybar/config | 3 - config/waybar/style.css | 6 +- 6 files changed, 200 insertions(+), 11 deletions(-) create mode 100644 config/alacritty/alacritty.toml create mode 100644 config/rofi/catppuccin-mocha.rasi diff --git a/config/alacritty/alacritty.toml b/config/alacritty/alacritty.toml new file mode 100644 index 0000000..8c931b2 --- /dev/null +++ b/config/alacritty/alacritty.toml @@ -0,0 +1,99 @@ +live_config_reload = true + +[[colors.indexed_colors]] +color = "#FAB387" +index = 16 + +[[colors.indexed_colors]] +color = "#F5E0DC" +index = 17 + +[colors.bright] +black = "#585B70" +blue = "#89B4FA" +cyan = "#94E2D5" +green = "#A6E3A1" +magenta = "#F5C2E7" +red = "#F38BA8" +white = "#A6ADC8" +yellow = "#F9E2AF" + +[colors.cursor] +cursor = "#F5E0DC" +text = "#1E1E2E" + +[colors.dim] +black = "#45475A" +blue = "#89B4FA" +cyan = "#94E2D5" +green = "#A6E3A1" +magenta = "#F5C2E7" +red = "#F38BA8" +white = "#BAC2DE" +yellow = "#F9E2AF" + +[colors.footer_bar] +background = "#A6ADC8" +foreground = "#1E1E2E" + +[colors.hints.end] +background = "#A6ADC8" +foreground = "#1E1E2E" + +[colors.hints.start] +background = "#F9E2AF" +foreground = "#1E1E2E" + +[colors.normal] +black = "#45475A" +blue = "#89B4FA" +cyan = "#94E2D5" +green = "#A6E3A1" +magenta = "#F5C2E7" +red = "#F38BA8" +white = "#BAC2DE" +yellow = "#F9E2AF" + +[colors.primary] +background = "#1E1E2E" +bright_foreground = "#CDD6F4" +dim_foreground = "#CDD6F4" +foreground = "#CDD6F4" + +[colors.search.focused_match] +background = "#A6E3A1" +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 = 14 + +[font.normal] +family = "IosevkaCustomNerdFont" +style = "Regular" + +[mouse] +hide_when_typing = false + +[selection] +save_to_clipboard = true + +[window] +# decorations = "none" +dynamic_title = true +opacity = 0.8 + +[window.padding] +x = 10 +y = 10 diff --git a/config/rofi/catppuccin-mocha.rasi b/config/rofi/catppuccin-mocha.rasi new file mode 100644 index 0000000..2677e99 --- /dev/null +++ b/config/rofi/catppuccin-mocha.rasi @@ -0,0 +1,88 @@ +* { +background-color: transparent; +font: "IosevkaCustomNerdFont 20"; +text-color: #cdd6f4; +} + +button { +border-radius: 10px; +horizontal-align: 0.5; +padding: 10px; +text-color: #585b70; +vertical-align: 0.5; +} + +button selected { +background-color: rgba (24, 24, 37, 100%); +text-color: #89b4fa; +} + +element { +padding: 5px; +} + +element selected { +background-color: rgba (24, 24, 37, 100%); +border-radius: 10px; +text-color: #89b4fa; +} + +element-icon { +size: 25px; +} + +entry { +margin: 20px 0px 0px 10px; +padding: 6px; +} + +inputbar { +children: [ prompt,entry ]; +padding: 2px; +} + +listview { +border: 0px 0px 0px; +columns: 2; +lines: 5; +margin: 10px 0px 0px 20px; +padding: 6px 0px 0px; +} + +message { +border-radius: 5px; +margin: 2px; +padding: 2px; +} + +mode-switcher { +spacing: 0; +} + +prompt { +background-color: rgba (24, 24, 37, 100%); +border-radius: 10px; +margin: 20px 0px 0px 20px; +padding: 6px; +text-color: #89b4fa; +} + +textbox { +margin: 20px 0px 0px 20px; +padding: 6px; +text-color: #89b4fa; +} + +textbox-prompt-colon { +expand: false; +str: "="; +} + +window { +background-color: rgba (30, 30, 46, 80%); +border: 1px; +border-color: #b4befe; +border-radius: 10px; +height: 75%; +width: 75%; +} diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 1840d2f..3ff77a8 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,6 +1,6 @@ configuration { application-fallback-icon: "application-x-addon"; -combi-modi: "drun,ssh,window,emoji"; +combi-modi: "drun,ssh,window"; disable-history: false; display-combi: " 󰛡 Combi "; display-drun: " 󱓞 Apps "; @@ -14,7 +14,7 @@ hide-scrollbar: true; icon-theme: "Papirus-Dark"; location: 0; matching: "fuzzy"; -modi: "run,drun,ssh,window,emoji,combi"; +modi: "run,drun,ssh,window,combi"; show-icons: true; sidebar-mode: true; sort: true; @@ -23,4 +23,4 @@ terminal: "alacritty"; xoffset: 0; yoffset: 0; } -@theme "custom" +@theme "catppuccin-mocha" diff --git a/config/sway/config b/config/sway/config index 8a8c4b7..ab94fc4 100644 --- a/config/sway/config +++ b/config/sway/config @@ -1,4 +1,4 @@ -font pango:IosevkaCustomNerdFont regular 12.000000 +font pango:IosevkaCustomNerdFont regular 10 floating_modifier Mod4 default_border normal 1 default_floating_border normal 1 @@ -110,6 +110,10 @@ pos 0 0 transform 270 } +output "eDP-1" { +scale 1.25 +} + seat "seat0" { xcursor_theme Catppuccin-Mocha-Dark-Cursors 32 } @@ -128,7 +132,7 @@ mode "resize" { } gaps inner 5 -gaps outer 5 +gaps outer 0 for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] floating enable for_window [app_id="Pinentry"] floating enable for_window [app_id="pavucontrol"] floating enable @@ -137,6 +141,7 @@ for_window [app_id="nm-connection-editor"] floating enable for_window [class="steam"] layout tabbed exec swaync exec swaybg -m fill -i ~/.config/guix/background.png +exec waybar -b main # exec polkit-kde-authentication-agent-1 # exec protonmail-bridge -n diff --git a/config/waybar/config b/config/waybar/config index c6a0371..972fd22 100644 --- a/config/waybar/config +++ b/config/waybar/config @@ -205,9 +205,6 @@ "format-wifi": "{icon}", "tooltip-format": "{essid} ({signalStrength}%)" }, - "output": [ - "DP-2" - ], "position": "top", "pulseaudio": { "format": "{format_source}{icon}{volume}%", diff --git a/config/waybar/style.css b/config/waybar/style.css index 30bb60d..6ee6c8d 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -1,6 +1,6 @@ * { all: unset; - font-size: 20; + font-size: 1em; font-family: IosevkaCustomNerdFont; } @@ -11,10 +11,10 @@ window { window > box { color: #cdd6f4; background: alpha(#1e1e2e, 0.8); - margin: 10px 10px 0px; + margin: 5px 5px 0px; padding: 0px; border: 1px solid #b4befe; - border-radius: 10px; + /* border-radius: 10px; */ } tooltip {