From 1b1f064cee580af3202c8be775255dcb64f56b1a Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 4 Aug 2025 16:36:32 +0530 Subject: [PATCH] catpuccin: alacritty, hyprlock, hyprland, screenshot script, rofi --- .config/alacritty/alacritty.toml | 97 +++-- .config/alacritty/docked.toml | 617 ------------------------------- .config/alacritty/normal.toml | 615 ------------------------------ .config/hypr/hypridle.conf | 10 + .config/hypr/hyprland.conf | 38 +- .config/hypr/hyprlock.conf | 203 +++++----- .config/rofi/config.rasi | 198 ++++++++++ .config/swaync/style.css | 324 ++++++++++++++++ .config/waybar/config.jsonc | 32 +- .config/waybar/style.css | 122 +----- .local/bin/screenshot | 18 + 11 files changed, 779 insertions(+), 1495 deletions(-) delete mode 100644 .config/alacritty/docked.toml delete mode 100644 .config/alacritty/normal.toml create mode 100644 .config/rofi/config.rasi create mode 100644 .config/swaync/style.css create mode 100755 .local/bin/screenshot diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 58f427c..8dea790 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -5,30 +5,81 @@ TERM = "xterm-256color" [colors] draw_bold_text_with_bright_colors = true -[colors.bright] -black = "#7f7f7f" -blue = "#5c5cff" -cyan = "#00ffff" -green = "#00ff00" -magenta = "#ff00ff" -red = "#ff0000" -white = "#ffffff" -yellow = "#ffff00" - -[colors.normal] -black = "#000000" -blue = "#0000ee" -cyan = "#00cdcd" -green = "#00cd00" -magenta = "#cd00cd" -red = "#cd0000" -white = "#e5e5e5" -yellow = "#cdcd00" - [colors.primary] -background = "#000000" -foreground = "#E5E5E5" +background = '#1E1E2E' # base +foreground = '#CDD6F4' # text +# Bright and dim foreground colors +dim_foreground = '#CDD6F4' # text +bright_foreground = '#CDD6F4' # text +# Cursor colors +[colors.cursor] +text = '#1E1E2E' # base +cursor = '#F5E0DC' # rosewater + +[colors.vi_mode_cursor] +text = '#1E1E2E' # base +cursor = '#B4BEFE' # lavender + +# Search colors +[colors.search.matches] +foreground = '#1E1E2E' # base +background = '#A6ADC8' # subtext0 + +[colors.search.focused_match] +foreground = '#1E1E2E' # base +background = '#A6E3A1' # green + +[colors.footer_bar] +foreground = '#1E1E2E' # base +background = '#A6ADC8' # subtext0 + +# Keyboard regex hints +[colors.hints.start] +foreground = '#1E1E2E' # base +background = '#F9E2AF' # yellow + +[colors.hints.end] +foreground = '#1E1E2E' # base +background = '#A6ADC8' # subtext0 + +# Selection colors +[colors.selection] +text = '#1E1E2E' # base +background = '#F5E0DC' # rosewater + +# Normal colors +[colors.normal] +black = '#45475A' # surface1 +red = '#F38BA8' # red +green = '#A6E3A1' # green +yellow = '#F9E2AF' # yellow +blue = '#89B4FA' # blue +magenta = '#F5C2E7' # pink +cyan = '#94E2D5' # teal +white = '#BAC2DE' # subtext1 + +# Bright colors +[colors.bright] +black = '#585B70' # surface2 +red = '#F38BA8' # red +green = '#A6E3A1' # green +yellow = '#F9E2AF' # yellow +blue = '#89B4FA' # blue +magenta = '#F5C2E7' # pink +cyan = '#94E2D5' # teal +white = '#A6ADC8' # subtext0 + +# Dim colors +[colors.dim] +black = '#45475A' # surface1 +red = '#F38BA8' # red +green = '#A6E3A1' # green +yellow = '#F9E2AF' # yellow +blue = '#89B4FA' # blue +magenta = '#F5C2E7' # pink +cyan = '#94E2D5' # teal +white = '#BAC2DE' # subtext1 [cursor] style = "Block" unfocused_hollow = true @@ -38,7 +89,7 @@ persistent_logging = false render_timer = false [font] -size = 7.5 +size = 11 [font.bold] family = "JetBrainsMono Nerd Font" diff --git a/.config/alacritty/docked.toml b/.config/alacritty/docked.toml deleted file mode 100644 index 448654a..0000000 --- a/.config/alacritty/docked.toml +++ /dev/null @@ -1,617 +0,0 @@ -[env] -TERM = "xterm-256color" - -[colors] -draw_bold_text_with_bright_colors = true - -[colors.bright] -black = "#444b6a" -blue = "#7da6ff" -cyan = "#0db9d7" -green = "#b9f27c" -magenta = "#bb9af7" -red = "#ff7a93" -white = "#acb0d0" -yellow = "#ff9e64" - -[colors.normal] -black = "#32344a" -blue = "#7aa2f7" -cyan = "#449dab" -green = "#9ece6a" -magenta = "#ad8ee6" -red = "#f7768e" -white = "#787c99" -yellow = "#e0af68" - -[colors.primary] -background = "#1a1b26" -foreground = "#a9b1d6" - -[cursor] -style = "Block" -unfocused_hollow = true - -[debug] -persistent_logging = false -render_timer = false - -[font] -size = 11 - -[font.bold] -family = "JetBrainsMono Nerd Font" -style = "Bold" - -[font.glyph_offset] -x = 0 -y = 0 - -[font.italic] -family = "JetBrainsMono Nerd Font" -style = "Italic" - -[font.normal] -family = "JetBrainsMono Nerd Font" -style = "Regular" - -[font.offset] -x = 0 -y = 0 - -[[keyboard.bindings]] -action = "Paste" -key = "V" -mods = "Control|Shift" - -[[keyboard.bindings]] -action = "Copy" -key = "C" -mods = "Control|Shift" - -[[keyboard.bindings]] -action = "Paste" -key = "Paste" - -[[keyboard.bindings]] -action = "Copy" -key = "Copy" - -[[keyboard.bindings]] -action = "Quit" -key = "Q" -mods = "Command" - -[[keyboard.bindings]] -action = "Quit" -key = "W" -mods = "Command" - -[[keyboard.bindings]] -action = "PasteSelection" -key = "Insert" -mods = "Shift" - -[[keyboard.bindings]] -action = "ResetFontSize" -key = "Key0" -mods = "Control" - -[[keyboard.bindings]] -action = "IncreaseFontSize" -key = "Equals" -mods = "Control" - -[[keyboard.bindings]] -action = "DecreaseFontSize" -key = "NumpadSubtract" -mods = "Control" - -[[keyboard.bindings]] -action = "DecreaseFontSize" -key = "Minus" -mods = "Control" - - -[[keyboard.bindings]] -action = "ClearLogNotice" -key = "L" -mods = "Control" - -[[keyboard.bindings]] -chars = "\f" -key = "L" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001BOH" -key = "Home" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[H" -key = "Home" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOF" -key = "End" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[F" -key = "End" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[5;2~" -key = "PageUp" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[5;5~" -key = "PageUp" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[5~" -key = "PageUp" - -[[keyboard.bindings]] -chars = "\u001B[6;2~" -key = "PageDown" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[6;5~" -key = "PageDown" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[6~" -key = "PageDown" - -[[keyboard.bindings]] -chars = "\u001B[Z" -key = "Tab" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u007F" -key = "Back" - -[[keyboard.bindings]] -chars = "\u001B\u007F" -key = "Back" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[2~" -key = "Insert" - -[[keyboard.bindings]] -chars = "\u001B[3~" -key = "Delete" - -[[keyboard.bindings]] -chars = "\u001B[1;2D" -key = "Left" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5D" -key = "Left" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3D" -key = "Left" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[D" -key = "Left" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOD" -key = "Left" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2C" -key = "Right" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5C" -key = "Right" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3C" -key = "Right" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[C" -key = "Right" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOC" -key = "Right" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2A" -key = "Up" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5A" -key = "Up" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3A" -key = "Up" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[A" -key = "Up" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOA" -key = "Up" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2B" -key = "Down" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5B" -key = "Down" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3B" -key = "Down" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[B" -key = "Down" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOB" -key = "Down" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOP" -key = "F1" - -[[keyboard.bindings]] -chars = "\u001BOQ" -key = "F2" - -[[keyboard.bindings]] -chars = "\u001BOR" -key = "F3" - -[[keyboard.bindings]] -chars = "\u001BOS" -key = "F4" - -[[keyboard.bindings]] -chars = "\u001B[15~" -key = "F5" - -[[keyboard.bindings]] -chars = "\u001B[17~" -key = "F6" - -[[keyboard.bindings]] -chars = "\u001B[18~" -key = "F7" - -[[keyboard.bindings]] -chars = "\u001B[19~" -key = "F8" - -[[keyboard.bindings]] -chars = "\u001B[20~" -key = "F9" - -[[keyboard.bindings]] -chars = "\u001B[21~" -key = "F10" - -[[keyboard.bindings]] -chars = "\u001B[23~" -key = "F11" - -[[keyboard.bindings]] -chars = "\u001B[24~" -key = "F12" - -[[keyboard.bindings]] -chars = "\u001B[1;2P" -key = "F1" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2Q" -key = "F2" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2R" -key = "F3" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2S" -key = "F4" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[15;2~" -key = "F5" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[17;2~" -key = "F6" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[18;2~" -key = "F7" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[19;2~" -key = "F8" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[20;2~" -key = "F9" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[21;2~" -key = "F10" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[23;2~" -key = "F11" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[24;2~" -key = "F12" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5P" -key = "F1" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5Q" -key = "F2" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5R" -key = "F3" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5S" -key = "F4" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[15;5~" -key = "F5" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[17;5~" -key = "F6" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[18;5~" -key = "F7" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[19;5~" -key = "F8" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[20;5~" -key = "F9" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[21;5~" -key = "F10" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[23;5~" -key = "F11" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[24;5~" -key = "F12" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;6P" -key = "F1" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6Q" -key = "F2" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6R" -key = "F3" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6S" -key = "F4" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[15;6~" -key = "F5" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[17;6~" -key = "F6" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[18;6~" -key = "F7" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[19;6~" -key = "F8" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[20;6~" -key = "F9" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[21;6~" -key = "F10" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[23;6~" -key = "F11" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[24;6~" -key = "F12" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;3P" -key = "F1" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3Q" -key = "F2" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3R" -key = "F3" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3S" -key = "F4" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[15;3~" -key = "F5" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[17;3~" -key = "F6" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[18;3~" -key = "F7" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[19;3~" -key = "F8" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[20;3~" -key = "F9" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[21;3~" -key = "F10" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[23;3~" -key = "F11" -mods = "Super" - -# [mouse] -# hide_when_typing = false -# -# [[mouse.bindings]] -# action = "PasteSelection" -# mouse = "Middle" -# -# [mouse.double_click] -# threshold = 300 -# -# [mouse.hints] -# launcher = "xdg-open" -# modifiers = "Control" -# -# [mouse.triple_click] -# threshold = 300 -# -[scrolling] -history = 100000 -multiplier = 3 - -[selection] -save_to_clipboard = false -semantic_escape_chars = ",│`|:\"' ()[]{}<>" - -[window] -decorations = "none" -dynamic_padding = false -opacity = 0.9 -# opacity = 0.5 -startup_mode = "Maximized" - -[window.dimensions] -columns = 0 -lines = 0 - -[window.padding] -x = 0 -y = 0 diff --git a/.config/alacritty/normal.toml b/.config/alacritty/normal.toml deleted file mode 100644 index af34fb4..0000000 --- a/.config/alacritty/normal.toml +++ /dev/null @@ -1,615 +0,0 @@ -[env] -TERM = "xterm-256color" - -[colors] -draw_bold_text_with_bright_colors = true - -[colors.bright] -black = "#444b6a" -blue = "#7da6ff" -cyan = "#0db9d7" -green = "#b9f27c" -magenta = "#bb9af7" -red = "#ff7a93" -white = "#acb0d0" -yellow = "#ff9e64" - -[colors.normal] -black = "#32344a" -blue = "#7aa2f7" -cyan = "#449dab" -green = "#9ece6a" -magenta = "#ad8ee6" -red = "#f7768e" -white = "#787c99" -yellow = "#e0af68" - -[colors.primary] -background = "#1a1b26" -foreground = "#a9b1d6" - -[cursor] -style = "Block" -unfocused_hollow = true - -[debug] -persistent_logging = false -render_timer = false - -[font] -size = 7.5 - -[font.bold] -family = "JetBrainsMono Nerd Font" -style = "Bold" - -[font.glyph_offset] -x = 0 -y = 0 - -[font.italic] -family = "JetBrainsMono Nerd Font" -style = "Italic" - -[font.normal] -family = "JetBrainsMono Nerd Font" -style = "Regular" - -[font.offset] -x = 0 -y = 0 - -[[keyboard.bindings]] -action = "Paste" -key = "V" -mods = "Control|Shift" - -[[keyboard.bindings]] -action = "Copy" -key = "C" -mods = "Control|Shift" - -[[keyboard.bindings]] -action = "Paste" -key = "Paste" - -[[keyboard.bindings]] -action = "Copy" -key = "Copy" - -[[keyboard.bindings]] -action = "Quit" -key = "Q" -mods = "Command" - -[[keyboard.bindings]] -action = "Quit" -key = "W" -mods = "Command" - -[[keyboard.bindings]] -action = "PasteSelection" -key = "Insert" -mods = "Shift" - -[[keyboard.bindings]] -action = "ResetFontSize" -key = "Key0" -mods = "Control" - -[[keyboard.bindings]] -action = "IncreaseFontSize" -key = "Equals" -mods = "Control" - -[[keyboard.bindings]] -action = "DecreaseFontSize" -key = "NumpadSubtract" -mods = "Control" - -[[keyboard.bindings]] -action = "DecreaseFontSize" -key = "Minus" -mods = "Control" - -[[keyboard.bindings]] -action = "ClearLogNotice" -key = "L" -mods = "Control" - -[[keyboard.bindings]] -chars = "\f" -key = "L" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001BOH" -key = "Home" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[H" -key = "Home" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOF" -key = "End" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[F" -key = "End" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[5;2~" -key = "PageUp" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[5;5~" -key = "PageUp" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[5~" -key = "PageUp" - -[[keyboard.bindings]] -chars = "\u001B[6;2~" -key = "PageDown" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[6;5~" -key = "PageDown" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[6~" -key = "PageDown" - -[[keyboard.bindings]] -chars = "\u001B[Z" -key = "Tab" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u007F" -key = "Back" - -[[keyboard.bindings]] -chars = "\u001B\u007F" -key = "Back" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[2~" -key = "Insert" - -[[keyboard.bindings]] -chars = "\u001B[3~" -key = "Delete" - -[[keyboard.bindings]] -chars = "\u001B[1;2D" -key = "Left" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5D" -key = "Left" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3D" -key = "Left" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[D" -key = "Left" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOD" -key = "Left" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2C" -key = "Right" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5C" -key = "Right" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3C" -key = "Right" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[C" -key = "Right" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOC" -key = "Right" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2A" -key = "Up" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5A" -key = "Up" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3A" -key = "Up" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[A" -key = "Up" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOA" -key = "Up" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001B[1;2B" -key = "Down" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5B" -key = "Down" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;3B" -key = "Down" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[B" -key = "Down" -mode = "~AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOB" -key = "Down" -mode = "AppCursor" - -[[keyboard.bindings]] -chars = "\u001BOP" -key = "F1" - -[[keyboard.bindings]] -chars = "\u001BOQ" -key = "F2" - -[[keyboard.bindings]] -chars = "\u001BOR" -key = "F3" - -[[keyboard.bindings]] -chars = "\u001BOS" -key = "F4" - -[[keyboard.bindings]] -chars = "\u001B[15~" -key = "F5" - -[[keyboard.bindings]] -chars = "\u001B[17~" -key = "F6" - -[[keyboard.bindings]] -chars = "\u001B[18~" -key = "F7" - -[[keyboard.bindings]] -chars = "\u001B[19~" -key = "F8" - -[[keyboard.bindings]] -chars = "\u001B[20~" -key = "F9" - -[[keyboard.bindings]] -chars = "\u001B[21~" -key = "F10" - -[[keyboard.bindings]] -chars = "\u001B[23~" -key = "F11" - -[[keyboard.bindings]] -chars = "\u001B[24~" -key = "F12" - -[[keyboard.bindings]] -chars = "\u001B[1;2P" -key = "F1" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2Q" -key = "F2" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2R" -key = "F3" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;2S" -key = "F4" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[15;2~" -key = "F5" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[17;2~" -key = "F6" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[18;2~" -key = "F7" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[19;2~" -key = "F8" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[20;2~" -key = "F9" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[21;2~" -key = "F10" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[23;2~" -key = "F11" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[24;2~" -key = "F12" -mods = "Shift" - -[[keyboard.bindings]] -chars = "\u001B[1;5P" -key = "F1" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5Q" -key = "F2" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5R" -key = "F3" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;5S" -key = "F4" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[15;5~" -key = "F5" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[17;5~" -key = "F6" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[18;5~" -key = "F7" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[19;5~" -key = "F8" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[20;5~" -key = "F9" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[21;5~" -key = "F10" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[23;5~" -key = "F11" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[24;5~" -key = "F12" -mods = "Control" - -[[keyboard.bindings]] -chars = "\u001B[1;6P" -key = "F1" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6Q" -key = "F2" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6R" -key = "F3" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;6S" -key = "F4" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[15;6~" -key = "F5" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[17;6~" -key = "F6" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[18;6~" -key = "F7" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[19;6~" -key = "F8" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[20;6~" -key = "F9" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[21;6~" -key = "F10" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[23;6~" -key = "F11" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[24;6~" -key = "F12" -mods = "Alt" - -[[keyboard.bindings]] -chars = "\u001B[1;3P" -key = "F1" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3Q" -key = "F2" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3R" -key = "F3" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[1;3S" -key = "F4" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[15;3~" -key = "F5" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[17;3~" -key = "F6" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[18;3~" -key = "F7" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[19;3~" -key = "F8" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[20;3~" -key = "F9" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[21;3~" -key = "F10" -mods = "Super" - -[[keyboard.bindings]] -chars = "\u001B[23;3~" -key = "F11" -mods = "Super" - -# [mouse] -# hide_when_typing = false -# -# [[mouse.bindings]] -# action = "PasteSelection" -# mouse = "Middle" -# -# [mouse.double_click] -# threshold = 300 -# -# [mouse.hints] -# launcher = "xdg-open" -# modifiers = "Control" -# -# [mouse.triple_click] -# threshold = 300 -# -[scrolling] -history = 100000 -multiplier = 3 - -[selection] -save_to_clipboard = false -semantic_escape_chars = ",│`|:\"' ()[]{}<>" - -[window] -decorations = "none" -dynamic_padding = false -opacity = 0.9 -startup_mode = "Maximized" - -[window.dimensions] -columns = 0 -lines = 0 - -[window.padding] -x = 0 -y = 0 diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index a2f5f1e..c3e56cd 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -9,3 +9,13 @@ listener { on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. } + +listener { + timeout = 120 # 2min + on-timeout = loginctl lock-session # lock screen when timeout has passed +} + +listener { + timeout = 900 # 30min + on-timeout = systemctl suspend # suspend pc +} diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 80ad822..6ca3875 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -37,6 +37,11 @@ env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 +# XDG Specifications +env = XDG_CURRENT_DESKTOP,Hyprland +env = XDG_SESSION_TYPE,wayland +env = XDG_SESSION_DESKTOP,Hyprland + ####################### ### PLUGIN SETTINGS ### ####################### @@ -72,16 +77,19 @@ general { border_size = 2 resize_on_border = false allow_tearing = false - col.active_border = rgba(1b9993ee) - col.inactive_border = rgba(888e8eaa) + # col.active_border = rgba(7da6ffee) + # col.inactive_border = rgba(888e8eaa) + col.active_border = rgb(8aadf4) rgb(24273A) rgb(24273A) rgb(8aadf4) 45deg + col.inactive_border = rgb(24273A) rgb(24273A) rgb(24273A) rgb(27273A) 45deg layout = master } decoration { - rounding = 0 + rounding = 8 + blur { - enabled = true + enabled = false size = 3 passes = 1 } @@ -196,7 +204,7 @@ bind = $mainMod, W, exec, $browser bind = $mainMod, m, exec, $terminal -e "ncmpcpp" bind = $mainMod, p, exec, mpc toggle binde = $mainMod, comma, exec, mpc seek -10 -binde = $mainMod, period, exec, mpc seek +10 +bind = $mainMod, period, exec, mpc seek +10 # Swap current focused window with master bind = $mainMod, space, layoutmsg, swapwithmaster @@ -220,16 +228,16 @@ bind = $mainMod, 9, split-workspace, 9 bind = $mainMod, 0, split-workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] -bind = $mainMod SHIFT, 1, split-movetoworkspace, 1 -bind = $mainMod SHIFT, 2, split-movetoworkspace, 2 -bind = $mainMod SHIFT, 3, split-movetoworkspace, 3 -bind = $mainMod SHIFT, 4, split-movetoworkspace, 4 -bind = $mainMod SHIFT, 5, split-movetoworkspace, 5 -bind = $mainMod SHIFT, 6, split-movetoworkspace, 6 -bind = $mainMod SHIFT, 7, split-movetoworkspace, 7 -bind = $mainMod SHIFT, 8, split-movetoworkspace, 8 -bind = $mainMod SHIFT, 9, split-movetoworkspace, 9 -bind = $mainMod SHIFT, 0, split-movetoworkspace, 10 +bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1 +bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2 +bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3 +bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4 +bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5 +bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6 +bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7 +bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8 +bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9 +bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index bd6bce8..e9874d0 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -1,125 +1,100 @@ -# BACKGROUND -background { - monitor = - path = ~/.config/hypr/hyprlock.png - blur_passes = 0 - contrast = 0.8916 - brightness = 0.8916 - vibrancy = 0.8916 - vibrancy_darkness = 0.0 -} +source = $HOME/.config/hypr/mocha.conf + +$accent = $mauve +$accentAlpha = $mauveAlpha +$font = JetBrainsMono Nerd Font # GENERAL general { - no_fade_in = false - grace = 0 - disable_loading_bar = false + hide_cursor = true } -# Profie-Photo +# BACKGROUND +background { + monitor = + path = $HOME/.config/background + blur_passes = 0 + color = $base +} + +# LAYOUT +label { + monitor = + text = Layout: $LAYOUT + color = $text + font_size = 25 + font_family = $font + position = 30, -30 + halign = left + valign = top +} + +# TIME +label { + monitor = + text = $TIME + color = $text + font_size = 90 + font_family = $font + position = -30, 0 + halign = right + valign = top +} + +# DATE +label { + monitor = + text = cmd[update:43200000] date +"%A, %d %B %Y" + color = $text + font_size = 25 + font_family = $font + position = -30, -150 + halign = right + valign = top +} + +# FINGERPRINT +{ + monitor = ""; + text = "$FPRINTPROMPT"; + color = "$text"; + font_size = 14; + font_family = $font; + position = "0, -107"; + halign = "center"; + valign = "center"; +} + +# USER AVATAR image { - monitor = - path = $HOME/.config/hypr/thunder.png - border_size = 2 - border_color = rgba(216, 222, 233, 0.80) - size = 100 - rounding = -1 - rotate = 0 - reload_time = -1 - reload_cmd = - position = 25, 200 - halign = center - valign = center -} - -# NAME -label { - monitor = - text = THUNDER - color = rgba(216, 222, 233, 0.80) - outline_thickness = 0 - dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 - dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0 - dots_center = true - font_size = 20 - font_family = SF Pro Display Bold - position = 25, 110 - halign = center - valign = center -} - -# Time -label { - monitor = - text = cmd[update:1000] echo "$(date +"%I:%M")" - color = rgba(216, 222, 233, 0.80) - font_size = 60 - font_family = SF Pro Display Bold - position = 30, -8 - halign = center - valign = center -} - -# Day-Month-Date -label { - monitor = - text = cmd[update:1000] echo -e "$(date +"%A, %B %d")" - color = rgba(216, 222, 233, .80) - font_size = 19 - font_family = SF Pro Display Bold - position = 35, -60 - halign = center - valign = center -} - -# USER-BOX -shape { - monitor = - size = 320, 55 - color = rgba(255, 255, 255, 0.1) - rounding = -1 - border_size = 0 - border_color = rgba(255, 255, 255, 1) - rotate = 0 - xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation) - - position = 34, -190 - halign = center - valign = center -} - -# USER -label { - monitor = - text =  $USER - color = rgba(216, 222, 233, 0.80) - outline_thickness = 0 - dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 - dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0 - dots_center = true - font_size = 16 - font_family = SF Pro Display Bold - position = 38, -190 - halign = center - valign = center + monitor = + path = $HOME/.face + size = 100 + border_color = $accent + position = 0, 75 + halign = center + valign = center } # INPUT FIELD input-field { - monitor = - size = 320, 55 - outline_thickness = 0 - dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 - dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0 - dots_center = true - outer_color = rgba(255, 255, 255, 0) - inner_color = rgba(255, 255, 255, 0.1) - font_color = rgb(200, 200, 200) - fade_on_empty = false - font_family = SF Pro Display Bold - placeholder_text = 🔒 Enter Pass - hide_input = false - position = 34, -268 - halign = center - valign = center + monitor = + size = 300, 60 + outline_thickness = 4 + dots_size = 0.2 + dots_spacing = 0.2 + dots_center = true + outer_color = $accent + inner_color = $surface0 + font_color = $text + fade_on_empty = false + placeholder_text = 󰌾 Logged in as $USER + hide_input = false + check_color = $accent + fail_color = $red + fail_text = $FAIL ($ATTEMPTS) + capslock_color = $yellow + position = 0, -47 + halign = center + valign = center } diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..283eefc --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,198 @@ +* { + rosewater: #f5e0dc; + flamingo: #f2cdcd; + pink: #f5c2e7; + mauve: #cba6f7; + red: #f38ba8; + maroon: #eba0ac; + peach: #fab387; + yellow: #f9e2af; + green: #a6e3a1; + teal: #94e2d5; + sky: #89dceb; + sapphire: #74c7ec; + blue: #89b4fa; + lavender: #b4befe; + text: #cdd6f4; + subtext1: #bac2de; + subtext0: #a6adc8; + overlay2: #9399b2; + overlay1: #7f849c; + overlay0: #6c7086; + surface2: #585b70; + surface1: #45475a; + surface0: #313244; + base: #1e1e2e; + mantle: #181825; + crust: #11111b; +} + +* { + selected-active-foreground: @background; + lightfg: @text; + separatorcolor: @foreground; + urgent-foreground: @red; + alternate-urgent-background: @lightbg; + lightbg: @mantle; + background-color: transparent; + border-color: @foreground; + normal-background: @background; + selected-urgent-background: @red; + alternate-active-background: @lightbg; + spacing: 2; + alternate-normal-foreground: @foreground; + urgent-background: @background; + selected-normal-foreground: @lightbg; + active-foreground: @blue; + background: @base; + selected-active-background: @blue; + active-background: @background; + selected-normal-background: @lightfg; + alternate-normal-background: @lightbg; + foreground: @text; + selected-urgent-foreground: @background; + normal-foreground: @foreground; + alternate-urgent-foreground: @red; + alternate-active-foreground: @blue; + +} +element { + padding: 1px ; + cursor: pointer; + spacing: 5px ; + border: 0; +} +element normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +element-text { + background-color: transparent; + cursor: inherit; + highlight: inherit; + text-color: inherit; +} +element-icon { + background-color: transparent; + size: 1.0000em ; + cursor: inherit; + text-color: inherit; +} +window { + padding: 5; + background-color: @background; + border: 1; +} +mainbox { + padding: 0; + border: 0; +} +message { + padding: 1px ; + border-color: @separatorcolor; + border: 2px dash 0px 0px ; +} +textbox { + text-color: @foreground; +} +listview { + padding: 2px 0px 0px ; + scrollbar: true; + border-color: @separatorcolor; + spacing: 2px ; + fixed-height: 0; + border: 2px dash 0px 0px ; +} +scrollbar { + width: 4px ; + padding: 0; + handle-width: 8px ; + border: 0; + handle-color: @normal-foreground; +} +sidebar { + border-color: @separatorcolor; + border: 2px dash 0px 0px ; +} +button { + cursor: pointer; + spacing: 0; + text-color: @normal-foreground; +} +button selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +num-filtered-rows { + expand: false; + text-color: Gray; +} +num-rows { + expand: false; + text-color: Gray; +} +textbox-num-sep { + expand: false; + str: "/"; + text-color: Gray; +} +inputbar { + padding: 1px ; + spacing: 0px ; + text-color: @normal-foreground; + children: [ "prompt","textbox-prompt-colon","entry","num-filtered-rows","textbox-num-sep","num-rows","case-indicator" ]; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + text-color: @normal-foreground; + cursor: text; + spacing: 0; + placeholder-color: Gray; + placeholder: "Type to filter"; +} +prompt { + spacing: 0; + text-color: @normal-foreground; +} +textbox-prompt-colon { + margin: 0px 0.3000em 0.0000em 0.0000em ; + expand: false; + str: ":"; + text-color: inherit; +} + diff --git a/.config/swaync/style.css b/.config/swaync/style.css new file mode 100644 index 0000000..bbe5dc8 --- /dev/null +++ b/.config/swaync/style.css @@ -0,0 +1,324 @@ +* { + all: unset; + font-size: 14px; + font-family: "Ubuntu Nerd Font"; + transition: 200ms; +} + +trough highlight { + background: #cdd6f4; +} + +scale { + margin: 0 7px; +} + +scale trough { + margin: 0rem 1rem; + min-height: 8px; + min-width: 70px; + border-radius: 12.6px; +} + +trough slider { + margin: -10px; + border-radius: 12.6px; + box-shadow: 0 0 2px rgba(0, 0, 0, 0.8); + transition: all 0.2s ease; + background-color: #89b4fa; +} + +trough slider:hover { + box-shadow: 0 0 2px rgba(0, 0, 0, 0.8), 0 0 8px #89b4fa; +} + +trough { + background-color: #313244; +} + +/* notifications */ +.notification-background { + box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #45475a; + border-radius: 12.6px; + margin: 18px; + background: #181825; + color: #cdd6f4; + padding: 0; +} + +.notification-background .notification { + padding: 7px; + border-radius: 12.6px; +} + +.notification-background .notification.critical { + box-shadow: inset 0 0 7px 0 #f38ba8; +} + +.notification .notification-content { + margin: 7px; +} + +.notification .notification-content overlay { + /* icons */ + margin: 4px; +} + +.notification-content .summary { + color: #cdd6f4; +} + +.notification-content .time { + color: #a6adc8; +} + +.notification-content .body { + color: #bac2de; +} + +.notification > *:last-child > * { + min-height: 3.4em; +} + +.notification-background .close-button { + margin: 7px; + padding: 2px; + border-radius: 6.3px; + color: #1e1e2e; + background-color: #f38ba8; +} + +.notification-background .close-button:hover { + background-color: #eba0ac; +} + +.notification-background .close-button:active { + background-color: #f5c2e7; +} + +.notification .notification-action { + border-radius: 7px; + color: #cdd6f4; + box-shadow: inset 0 0 0 1px #45475a; + margin: 4px; + padding: 8px; + font-size: 0.2rem; /* controls the button size not text size*/ +} + +.notification .notification-action { + background-color: #313244; +} + +.notification .notification-action:hover { + background-color: #45475a; +} + +.notification .notification-action:active { + background-color: #585b70; +} + +.notification.critical progress { + background-color: #f38ba8; +} + +.notification.low progress, +.notification.normal progress { + background-color: #89b4fa; +} + +.notification progress, +.notification trough, +.notification progressbar { + border-radius: 12.6px; + padding: 3px 0; +} + +/* control center */ +.control-center { + box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #313244; + border-radius: 12.6px; + background-color: #1e1e2e; + color: #cdd6f4; + padding: 14px; +} + +.control-center .notification-background { + border-radius: 7px; + box-shadow: inset 0 0 0 1px #45475a; + margin: 4px 10px; +} + +.control-center .notification-background .notification { + border-radius: 7px; +} + +.control-center .notification-background .notification.low { + opacity: 0.8; +} + +.control-center .widget-title > label { + color: #cdd6f4; + font-size: 1.3em; +} + +.control-center .widget-title button { + border-radius: 7px; + color: #cdd6f4; + background-color: #313244; + box-shadow: inset 0 0 0 1px #45475a; + padding: 8px; +} + +.control-center .widget-title button:hover { + background-color: #45475a; +} + +.control-center .widget-title button:active { + background-color: #585b70; +} + +.control-center .notification-group { + margin-top: 10px; +} + +scrollbar slider { + margin: -3px; + opacity: 0.8; +} + +scrollbar trough { + margin: 2px 0; +} + +/* dnd */ +.widget-dnd { + margin-top: 5px; + border-radius: 8px; + font-size: 1.1rem; +} + +.widget-dnd > switch { + font-size: initial; + border-radius: 8px; + background: #313244; + box-shadow: none; +} + +.widget-dnd > switch:checked { + background: #89b4fa; +} + +.widget-dnd > switch slider { + background: #45475a; + border-radius: 8px; +} + +/* mpris */ +.widget-mpris-player { + background: #313244; + border-radius: 12.6px; + color: #cdd6f4; +} + +.mpris-overlay { + background-color: #313244; + opacity: 0.9; + padding: 15px 10px; +} + +.widget-mpris-album-art { + -gtk-icon-size: 100px; + border-radius: 12.6px; + margin: 0 10px; +} + +.widget-mpris-title { + font-size: 1.2rem; + color: #cdd6f4; +} + +.widget-mpris-subtitle { + font-size: 1rem; + color: #bac2de; +} + +.widget-mpris button { + border-radius: 12.6px; + color: #cdd6f4; + margin: 0 5px; + padding: 2px; +} + +.widget-mpris button image { + -gtk-icon-size: 1.8rem; +} + +.widget-mpris button:hover { + background-color: #313244; +} + +.widget-mpris button:active { + background-color: #45475a; +} + +.widget-mpris button:disabled { + opacity: 0.5; +} + +.widget-menubar > box > .menu-button-bar > button > label { + font-size: 3rem; + padding: 0.5rem 2rem; +} + +.widget-menubar > box > .menu-button-bar > :last-child { + color: #f38ba8; +} + +.power-buttons button:hover, +.powermode-buttons button:hover, +.screenshot-buttons button:hover { + background: #313244; +} + +.control-center .widget-label > label { + color: #cdd6f4; + font-size: 2rem; +} + +.widget-buttons-grid { + padding-top: 1rem; +} + +.widget-buttons-grid > flowbox > flowboxchild > button label { + font-size: 2.5rem; +} + +.widget-volume { + padding: 1rem 0; +} + +.widget-volume label { + color: #74c7ec; + padding: 0 1rem; +} + +.widget-volume trough highlight { + background: #74c7ec; +} + +.widget-backlight trough highlight { + background: #f9e2af; +} + +.widget-backlight label { + font-size: 1.5rem; + color: #f9e2af; +} + +.widget-backlight .KB { + padding-bottom: 1rem; +} + +.image { + padding-right: 0.5rem; +} diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index ebd88ad..759314b 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -11,16 +11,18 @@ // "hyprland/window", ], "modules-center" : [ + "hyprland/window" ], "modules-right": [ + "tray", "pulseaudio", "battery", + "backlight", "cpu", "memory", - "network", + // "network", "custom/date", "clock", - "tray", ], // Modules configuration "hyprland/workspaces": { @@ -58,9 +60,12 @@ "all-outputs": false, "show-special": false }, + "hyprland/window": { + "format": "󰣇 {}" + }, "tray": { - "icon-size": 21, - "spacing": 12 + "icon-size": 13, + "spacing": 10 }, "clock": { "timezone": "Asia/Kolkata", @@ -70,19 +75,20 @@ }, "custom/date": { "timezone": "Asia/Kolkata", - "exec": "date +'%a %Y-%m-%d'", + "exec": "date +'%a %d %b %Y'", "format": "󰃭 {}", "interval": 1, "tooltip": false }, "cpu": { "format": " {usage:2}%", - "tooltip": false, - "interval": 1 + "interval": 1, + "on-click": "$TERMINAL -e htop", }, "memory": { - "format": " {:2}%", - "interval": 1 + "format": " {used:0.1f}G", + "interval": 1, + "on-click": "$TERMINAL -e htop", }, "network": { "interval": 5, @@ -111,6 +117,14 @@ "" ] }, + "backlight": { + // "device": "intel_backlight", + "format": "{icon} {percent}%", + "format-icons": ["󰃞", "󰃟", "󰃠"], + "on-scroll-up": "brightnessctl set 1%+", + "on-scroll-down": "brightnessctl set 1%-", + "min-length": 6 + }, "pulseaudio": { "scroll-step": 1, // %, can be a float "format": "{volume:2}% {icon} {format_source}", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index aad1d25..e6f30c7 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -96,7 +96,7 @@ window#waybar.hidden { /* non-empty workspaces */ #workspaces button { - background-color: #2e3440; + background-color: @base; border: none; border-radius: 0; @@ -110,7 +110,7 @@ window#waybar.hidden { padding-right: 10px; padding-top: 1px; - box-shadow: inset 0 -2px #eceff4; + box-shadow: inset 0 -1px #e3e3e3; } /* the first and last buttons should be rounded */ @@ -125,8 +125,8 @@ window#waybar.hidden { #workspaces button:hover { transition-duration: .2s; - color: #2e3440; - box-shadow: inset 0 -3px #ffffff; + color: @base; + box-shadow: inset 0 -3px #e3e3e3; /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ text-shadow: inherit; } @@ -138,14 +138,16 @@ window#waybar.hidden { /* empty persistent workspaces */ #workspaces button.empty { - background-color: #2e3440; + background-color: @base; box-shadow: none; } /* active or visible workspaces */ #workspaces button.active, #workspaces button.visible { - background-color: #4c566a; + /* background-color: #4c566a; */ + color: @crust; + background-color: #7da6ff; /* box-shadow: inset 0 -4px #eceff4; */ } @@ -163,20 +165,21 @@ window#waybar.hidden { #clock, #custom-date, #battery, +#backlight, #cpu, #memory, #disk, #temperature, -#backlight, #network, #pulseaudio, #wireplumber, #mpris, #custom-media, #tray, +#window, #custom-notification, #mpd { - background-color: #2e3440; + background-color: @base; border-radius: 8px; padding: 0 12px 0 12px; margin: 5px 5px 5px 0; @@ -192,6 +195,10 @@ window#waybar.hidden { margin-right: 0; } +#window { + color: #e3e3e3 +} + #clock { color: #eceff4; } @@ -204,6 +211,10 @@ window#waybar.hidden { color: #ebcb8b; } +#backlight { + color: @teal +} + @keyframes blink { to { background-color: #ffffff; @@ -237,10 +248,6 @@ label:focus { background-color: #964B00; } */ -/* #backlight { - background-color: #90b1b1; -} */ - #network { color: #5e81ac; } @@ -257,38 +264,6 @@ label:focus { color: #d8dee9; } -#mpris, -#custom-media { - background-color: #66cc99; - color: black; -} - -#mpris.firefox, -#custom-media.firefox { - background-color: #FF9500; - color: black; -} - -#mpris.spotify, -#custom-media.spotify { - background-color: #66cc99; - color: #191414; -} - -#mpris.vlc, -#custom-media.vlc { - background-color: #E85E00; - color: black; -} - -#mpris.jellyfin, -#custom-media.jellyfin { - /* https://jellyfin.org/docs/general/contributing/branding */ - color: #000B25; - background-color: #AA5CC3; -} - - #temperature { color: #d08770; @@ -300,6 +275,7 @@ label:focus { #tray { color: #eceff4; + } #tray>.passive { @@ -310,61 +286,3 @@ label:focus { -gtk-icon-effect: highlight; background-color: #bf616a; } - -/* #idle_inhibitor { - background-color: #2d3436; -} */ - -/* #idle_inhibitor.activated { - background-color: #ecf0f1; - color: #2d3436; -} */ - -/* #mpd { - background-color: #66cc99; - color: #2a5c45; -} - -#mpd.disconnected { - background-color: #bf616a; -} - -#mpd.stopped { - background-color: #90b1b1; -} - -#mpd.paused { - background-color: #51a37a; -} */ - -/* #language { - background: #00b093; - color: #740864; - padding: 0 5px; - margin: 0 5px; - min-width: 16px; -} */ - -/* #keyboard-state { - background: #97e1ad; - color: black; - padding: 0 0px; - margin: 0 5px; - min-width: 16px; -} - -#keyboard-state > label { - padding: 0 5px; -} - -#keyboard-state > label.locked { - background: rgba(0, 0, 0, 0.2); -} - -#scratchpad { - background: rgba(0, 0, 0, 0.2); -} - -#scratchpad.empty { - background-color: transparent; -} */ diff --git a/.local/bin/screenshot b/.local/bin/screenshot new file mode 100755 index 0000000..c8f2bfb --- /dev/null +++ b/.local/bin/screenshot @@ -0,0 +1,18 @@ +#!/bin/sh + +ocr_cmd="wl-copy" + +case "$(printf "a selected area (copy)\ncurrent window (copy)\nfull screen (copy)\na selected area\ncurrent window\nfull screen\na selected area (OCR)" | rofi -dmenu -l 7 -i -p "Screenshot which area?")" in + "a selected area (copy)") hyprshot -m region -c ;; + "current window (copy)") hyprshot -m window -c ;; + "full screen (copy)") hyprshot -m output -c ;; + + "a selected area") hyprshot -m region -o ~/pix/ss -f "pic-selected-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;; + "current window") hyprshot -m window -o ~/pix/ss -f "pic-window-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;; + "full screen") hyprshot -m output -o ~/pix/ss -f "pic-full-$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;; + + "a selected area (OCR)") tmpfile=$(mktemp /tmp/ocr-XXXXXX.png) && \ + hyprshot -m region -o "$(dirname "$tmpfile")" -f "$(basename "$tmpfile")" && \ + tesseract "$tmpfile" - -l eng | ${ocr_cmd} && rm "$tmpfile" ;; +esac +