From 526bc12122cffa59ecd37f767d38a8e508ac6164 Mon Sep 17 00:00:00 2001 From: Robin Date: Sat, 4 Oct 2025 17:56:36 +0200 Subject: [PATCH] dark mode turned on and added rofi instead of wofi --- .config/ghostty/config | 2 +- .config/hypr/hyprland.conf | 4 +- .config/kitty/kitty.conf | 87 ++++++------ .config/ohmyposh/zen.toml | 30 ++--- .config/rofi/config.rasi | 220 +++++++++++++++++++++++++++++++ .config/rofi/shared/colors.rasi | 14 ++ .config/rofi/shared/fonts.rasi | 8 ++ .config/tmux/tmux.conf | 2 +- .config/wal/colors-waybar.css | 38 +++--- .config/wofi/style-wallpaper.css | 2 +- .config/wofi/style-waybar.css | 2 +- 11 files changed, 328 insertions(+), 81 deletions(-) create mode 100644 .config/rofi/config.rasi create mode 100644 .config/rofi/shared/colors.rasi create mode 100644 .config/rofi/shared/fonts.rasi diff --git a/.config/ghostty/config b/.config/ghostty/config index 5d26641..818e827 100644 --- a/.config/ghostty/config +++ b/.config/ghostty/config @@ -44,7 +44,7 @@ term = xterm-kitty -theme = catppuccin-latte.conf +theme = catppuccin-frappe.conf background-opacity = 0.9 font-size = 23 diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index c506772..1b0e409 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -82,7 +82,7 @@ bind = $mainMod, N, exec, hyprlock #lock screen bind = $mainMod, E, exec, nautilus #File explorer bind = $mainMod, V, togglefloating, -bind = $mainMod, R, exec, wofi #application launcher +bind = $mainMod, R, exec, rofi -show drun #application launcher bind = $mainMod SHIFT, R, exec, ps aux | grep waybar | grep -v grep | awk '{print $2}' | xargs kill; waybar bind = $mainMod, P, pseudo, # dwindle @@ -198,7 +198,7 @@ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP ## will switch to a submap called resize -bind= $mainMod ,T,submap,resize +bind= $mainMod SHIFT,T,submap,resize ##clipboard tool exec-once = wl-paste --type text --watch cliphist store # Stores only text data diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index f1b9bd6..303f256 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -1075,7 +1075,7 @@ font_size 26.0 #: Color scheme {{{ # foreground #dddddd - background #181926 +# background #181926 #: The foreground and background colors. @@ -1091,75 +1091,75 @@ background_opacity 0.7 # The basic colors -foreground #4c4f69 -background #eff1f5 -selection_foreground #eff1f5 -selection_background #dc8a78 +# foreground #4c4f69 +# background #eff1f5 +# selection_foreground #eff1f5 +# selection_background #dc8a78 # Cursor colors -cursor #dc8a78 -cursor_text_color #eff1f5 +# cursor #dc8a78 +# cursor_text_color #eff1f5 # URL underline color when hovering with mouse -url_color #dc8a78 +# url_color #dc8a78 # Kitty window border colors -active_border_color #7287fd -inactive_border_color #9ca0b0 -bell_border_color #df8e1d +# active_border_color #7287fd +# inactive_border_color #9ca0b0 +# bell_border_color #df8e1d # OS Window titlebar colors -wayland_titlebar_color system -macos_titlebar_color system +# wayland_titlebar_color system +# macos_titlebar_color system # Tab bar colors -active_tab_foreground #eff1f5 -active_tab_background #8839ef -inactive_tab_foreground #4c4f69 -inactive_tab_background #9ca0b0 -tab_bar_background #bcc0cc +# active_tab_foreground #eff1f5 +# active_tab_background #8839ef +# inactive_tab_foreground #4c4f69 +# inactive_tab_background #9ca0b0 +# tab_bar_background #bcc0cc # Colors for marks (marked text in the terminal) -mark1_foreground #eff1f5 -mark1_background #7287fd -mark2_foreground #eff1f5 -mark2_background #8839ef -mark3_foreground #eff1f5 -mark3_background #209fb5 +# mark1_foreground #eff1f5 +# mark1_background #7287fd +# mark2_foreground #eff1f5 +# mark2_background #8839ef +# mark3_foreground #eff1f5 +# mark3_background #209fb5 # The 16 terminal colors # black -color0 #5c5f77 -color8 #6c6f85 +# color0 #5c5f77 +# color8 #6c6f85 # red -color1 #d20f39 -color9 #d20f39 +# color1 #d20f39 +# color9 #d20f39 # green -color2 #40a02b -color10 #40a02b +# color2 #40a02b +# color10 #40a02b # yellow -color3 #df8e1d -color11 #df8e1d +# color3 #df8e1d +# color11 #df8e1d # blue -color4 #1e66f5 -color12 #1e66f5 +# color4 #1e66f5 +# color12 #1e66f5 # magenta -color5 #ea76cb -color13 #ea76cb +# color5 #ea76cb +# color13 #ea76cb # cyan -color6 #179299 -color14 #179299 +# color6 #179299 +# color14 #179299 # white -color7 #acb0be -color15 #bcc0cc +# color7 #acb0be +# color15 #bcc0cc #: }}} @@ -2318,4 +2318,9 @@ font_family family="CaskaydiaCove Nerd Font Mono" bold_font auto italic_font auto bold_italic_font auto -# END_KITTY_FONTS \ No newline at end of file +# END_KITTY_FONTS + +# BEGIN_KITTY_THEME +# Catppuccin-Frappe +include current-theme.conf +# END_KITTY_THEME \ No newline at end of file diff --git a/.config/ohmyposh/zen.toml b/.config/ohmyposh/zen.toml index 8f55b9c..8da6db2 100644 --- a/.config/ohmyposh/zen.toml +++ b/.config/ohmyposh/zen.toml @@ -3,12 +3,12 @@ final_space = true version = 3 [palette] -os = "#4c4f69" +os = "#c6d0f5" closer = "p:os" -pink = "#dd7878" -lavender = "#7287FD" -blue = "#209fb5" -green = "#40a02b" +pink = "#F4B8E4" +lavender = "#BABBF1" +blue = "#8CAAEE" +green = "#A6D189" [[blocks]] alignment = "left" @@ -17,11 +17,11 @@ type = "prompt" [[blocks.segments]] foreground = "p:os" style = "plain" - template = "{{.Icon}} " + template = " {{.Icon}} " type = "os" [[blocks.segments]] - foreground = "p:lavender" + foreground = "p:blue" style = "plain" template = "{{ .UserName }} " type = "session" @@ -42,16 +42,16 @@ type = "prompt" type = "git" [blocks.segments.properties] - branch_icon = " " - cherry_pick_icon = " " - commit_icon = " " + branch_icon = "  " + cherry_pick_icon = "  " + commit_icon = "  " fetch_status = false fetch_upstream_icon = false - merge_icon = " " - no_commits_icon = " " - rebase_icon = " " - revert_icon = " " - tag_icon = " " + merge_icon = "  " + no_commits_icon = "  " + rebase_icon = "  " + revert_icon = "  " + tag_icon = "  " [[blocks]] type = 'prompt' diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..4724961 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,220 @@ +/** + * Copyright (C) 2020-2023 Aditya Shakya + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,window"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-window: ""; + drun-display-format: "{name}"; + +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 2px solid; + border-radius: 15px; + border-color: @border; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 30px; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px 2px 2px 0px; + border-radius: 10px; + border-color: var(selected); + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 0px; + expand: false; + str: " "; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 7; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 10px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 6px; + border-radius: 0px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal, +element alternate.normal { + background-color: var(background); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + //background-color: var(urgent); + //text-color: var(background); + background-color: var(background); + text-color: var(foreground); + border: 0px 2px 2px 0px; + border-radius: 10px; + border-color: var(selected); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(background); + text-color: var(foreground); + border: 2px; + border-color: var(urgent); +} +element selected.normal { + background-color: var(background); + text-color: var(selected); + border: 0px 2px 2px 0px; + border-radius: 10px; + border-color: var(selected); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px 250px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 10px; + border-radius: 0px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + //background-color: var(urgent); + //text-color: var(background); + background-color: var(background); + text-color: var(urgent); + border: 0px 2px 2px 0px; + border-radius: 10px; + border-color: var(urgent); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 30px; + background-color: @background; + text-color: @foreground; +} diff --git a/.config/rofi/shared/colors.rasi b/.config/rofi/shared/colors.rasi new file mode 100644 index 0000000..9072edc --- /dev/null +++ b/.config/rofi/shared/colors.rasi @@ -0,0 +1,14 @@ +/* Copyright (C) 2020-2023 Aditya Shakya */ + +/* Colors */ + +* { + background: #303446; + background-alt: #16161e; + //border: #89ddff; + border: #7aa2f7; + foreground: #C6D0F5; + selected: #A6D189; + active: #F4B8E4; + urgent: #E78284; +} diff --git a/.config/rofi/shared/fonts.rasi b/.config/rofi/shared/fonts.rasi new file mode 100644 index 0000000..c37ba02 --- /dev/null +++ b/.config/rofi/shared/fonts.rasi @@ -0,0 +1,8 @@ +/* Copyright (C) 2020-2023 Aditya Shakya */ + +/* Text Font */ + +* { + font: "CaskaydiaCove Nerd Font Mono 12"; +} + diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index f2bd2a7..ebb7fa4 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -28,7 +28,7 @@ set-option -g renumber-windows on set-option -g status-position top -set -g @catppuccin_flavor 'latte' +set -g @catppuccin_flavor 'frappe' set -g @catppuccin_window_status_style "rounded" set -g @plugin "tmux-plugins/tpm" diff --git a/.config/wal/colors-waybar.css b/.config/wal/colors-waybar.css index 5decd31..5f781ed 100644 --- a/.config/wal/colors-waybar.css +++ b/.config/wal/colors-waybar.css @@ -1,20 +1,20 @@ -@define-color foreground #4c4f69; -@define-color background #eff1f5; -@define-color cursor #dce0e8; +@define-color foreground #C6D0F5; +@define-color background #303446; +@define-color cursor @color1; -@define-color color0 #5c5f77; -@define-color color1 #dc8a78; -@define-color color2 #dd7878; -@define-color color3 #ea76cb; -@define-color color4 #8839ef; -@define-color color5 #d20f39; -@define-color color6 #e64553; -@define-color color7 #4c4f69; -@define-color color8 #fe640b; -@define-color color9 #df8e1d; -@define-color color10 #40a02b; -@define-color color11 #179299; -@define-color color12 #04a5e5; -@define-color color13 #209fb5; -@define-color color14 #1e66f5; -@define-color color15 #7287fd; +@define-color color0 #C6D0F5; +@define-color color1 #F2D5CF; +@define-color color2 #EEBEBE; +@define-color color3 #F4B8E4; +@define-color color4 #CA9EE6; +@define-color color5 #E78284; +@define-color color6 #EA999C; +@define-color color7 @color0; +@define-color color8 #EF9F76; +@define-color color9 #E5C890; +@define-color color10 #A6D189; +@define-color color11 #81C8BE; +@define-color color12 #99D1DB; +@define-color color13 #85C1DC; +@define-color color14 #8CAAEE; +@define-color color15 #BABBF1; diff --git a/.config/wofi/style-wallpaper.css b/.config/wofi/style-wallpaper.css index d5de164..eb27620 100755 --- a/.config/wofi/style-wallpaper.css +++ b/.config/wofi/style-wallpaper.css @@ -1,4 +1,4 @@ -@import url('/home/glala/.cache/wal/colors-waybar.css'); +@import url('.config/wal/colors-waybar.css'); @define-color mauve @color9; @define-color red @color9; @define-color lavender @color7; diff --git a/.config/wofi/style-waybar.css b/.config/wofi/style-waybar.css index 4b02b44..46e0be9 100755 --- a/.config/wofi/style-waybar.css +++ b/.config/wofi/style-waybar.css @@ -1,4 +1,4 @@ -@import url('/home/glala/.cache/wal/colors-waybar.css'); +@import url('../wal/colors-waybar.css'); @define-color mauve @color9; @define-color red @color9;