From 63def1fc85fb41b1571b2fa05c353641cf32f086 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 20 Sep 2024 23:28:20 +0800 Subject: init wallust --- dot-config/dconf/user | Bin 46931 -> 47071 bytes dot-config/hypr/colors.conf | 19 ++ dot-config/hypr/hyprland.conf | 16 +- dot-config/hypr/hyprlandd.conf | 254 +++++++++++++++++++++ dot-config/hypr/hyprlock.conf | 6 +- dot-config/hypr/pyprland.toml | 4 + dot-config/rofi/shared/colors.rasi | 19 +- dot-config/rofi/shared/colors.rasi.original | 14 ++ dot-config/waybar/colors.css | 40 ++-- dot-config/waybar/colors.css.original | 22 ++ dot-config/waybar/config.jsonc | 2 +- dot-config/waybar/style.css | 9 +- .../xfce4/xfconf/xfce-perchannel-xml/thunar.xml | 2 +- 13 files changed, 362 insertions(+), 45 deletions(-) create mode 100644 dot-config/hypr/colors.conf create mode 100644 dot-config/hypr/hyprlandd.conf create mode 100644 dot-config/hypr/pyprland.toml create mode 100644 dot-config/rofi/shared/colors.rasi.original create mode 100644 dot-config/waybar/colors.css.original diff --git a/dot-config/dconf/user b/dot-config/dconf/user index c1803277..b28f4ec8 100644 Binary files a/dot-config/dconf/user and b/dot-config/dconf/user differ diff --git a/dot-config/hypr/colors.conf b/dot-config/hypr/colors.conf new file mode 100644 index 00000000..602e939d --- /dev/null +++ b/dot-config/hypr/colors.conf @@ -0,0 +1,19 @@ +$wallpaper = /home/system/Pictures/wallpapers/Optical_Fibers_in_Dark_by_Elena_Stravoravdi.jpg +$background = rgb(06070E) +$foreground = rgb(E1EFFE) +$color0 = rgb(333438) +$color1 = rgb(00297F) +$color2 = rgb(0049E5) +$color3 = rgb(1AB03C) +$color4 = rgb(9E8DFF) +$color5 = rgb(9BA0FC) +$color6 = rgb(A8D0FD) +$color7 = rgb(CBDFF6) +$color8 = rgb(8E9CAC) +$color9 = rgb(00297F) +$color10 = rgb(0049E5) +$color11 = rgb(1AB03C) +$color12 = rgb(9E8DFF) +$color13 = rgb(9BA0FC) +$color14 = rgb(A8D0FD) +$color15 = rgb(CBDFF6) diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 279a442f..1a27afb1 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -26,6 +26,8 @@ $WAYBARDIR = $HOME/.config/waybar $SCRIPTSDIR = $HOME/scripts $rofiexec = $HOME/.config/rofi/scripts +source = $HYPRDIR/colors.conf + # misc $waylandarg = --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=auto @@ -49,6 +51,8 @@ general { # col.inactive_border = rgb(00a7f5) rgb(538620) rgb(538620) rgb(00a7f5) 90deg # col.active_border = rgb(00a7f5) rgb(538620) # col.inactive_border = rgb(00a7f5) rgb(538620) + col.inactive_border = $background + col.active_border = $color9 $color5 $color3 # 45deg # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = false @@ -68,14 +72,15 @@ decoration { rounding = 7 # Change transparency of focused and unfocused windows - active_opacity = 0.89 + active_opacity = 0.95 inactive_opacity = 0.85 fullscreen_opacity = 1.0 drop_shadow = true shadow_range = 15 shadow_render_power = 9 - col.shadow = rgba(1a1a1aee) + # col.shadow = rgba(1a1a1aee) + col.shadow = $background screen_shader = /usr/share/hyprshade/shaders/vibrance.glsl # dim_inactive = true @@ -84,10 +89,11 @@ decoration { # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true - size = 5 + size = 6 passes = 3 - vibrancy = 1 + # vibrancy = 1 popups = true + ignore_opacity = true # KEEP THIS, THIS MAKE BLUR ACTUALLY BLUR COOL } } @@ -101,6 +107,7 @@ animations { bezier = overshot, 0.5, 1, 0, 1.2 bezier = slow-fast, 1, 0.33, 0.3, 1 bezier = fast-slow, 0.33, 0.8, 0, 1 + bezier = linear, 0, 0, 1, 1 # bezier = linear, 0, 0, 1, 1 # bezier = md3_standard, 0.2, 0, 0, 1 bezier = md3_decel, 0.05, 0.7, 0.1, 1 @@ -123,6 +130,7 @@ animations { animation = windowsOut, 1, 3, slow-fast, popin 15% animation = workspaces, 1, 6, fast-slow, slide #fade animation = workspacesIn, 1, 6, fast-slow, slidefade # dunno why but no such animation? + animation = borderangle, 1, 100, linear, loop } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more diff --git a/dot-config/hypr/hyprlandd.conf b/dot-config/hypr/hyprlandd.conf new file mode 100644 index 00000000..dd5eff97 --- /dev/null +++ b/dot-config/hypr/hyprlandd.conf @@ -0,0 +1,254 @@ + +# ####################################################################################### +# AUTOGENERATED HYPR CONFIG. +# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, +# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. +# ####################################################################################### + +# autogenerated = 1 # remove this line to remove the warning + +# This is an example Hyprland config file. +# Refer to the wiki for more information. +# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ + +# Please note not all available settings / options are set here. +# For a full list, see the wiki + +# You can split this configuration into multiple files +# Create your files separately and then link them to this file like this: +# source = ~/.config/hypr/myColors.conf + + +################ +### MONITORS ### +################ + +# See https://wiki.hyprland.org/Configuring/Monitors/ +monitor=,highres@160,auto,auto + + +################### +### MY PROGRAMS ### +################### + +# See https://wiki.hyprland.org/Configuring/Keywords/ + +# Set programs that you use +$terminal = kitty +$fileManager = dolphin +$menu = wofi --show drun + + +################# +### AUTOSTART ### +################# + +# Autostart necessary processes (like notifications daemons, status bars, etc.) +# Or execute your favorite apps at launch like this: + +# exec-once = $terminal +# exec-once = nm-applet & +# exec-once = waybar & hyprpaper & firefox + + +############################# +### ENVIRONMENT VARIABLES ### +############################# + +# See https://wiki.hyprland.org/Configuring/Environment-variables/ + +env = XCURSOR_SIZE,24 +env = HYPRCURSOR_SIZE,24 + + +##################### +### LOOK AND FEEL ### +##################### + +# Refer to https://wiki.hyprland.org/Configuring/Variables/ + +# https://wiki.hyprland.org/Configuring/Variables/#general +general { + gaps_in = 5 + gaps_out = 20 + + border_size = 2 + + # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.inactive_border = rgba(595959aa) + + # Set to true enable resizing windows by clicking and dragging on borders and gaps + resize_on_border = false + + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false + + layout = dwindle +} + +# https://wiki.hyprland.org/Configuring/Variables/#decoration +decoration { + rounding = 10 + + # Change transparency of focused and unfocused windows + active_opacity = 1.0 + inactive_opacity = 1.0 + + drop_shadow = true + shadow_range = 4 + shadow_render_power = 3 + col.shadow = rgba(1a1a1aee) + + # https://wiki.hyprland.org/Configuring/Variables/#blur + blur { + enabled = true + size = 3 + passes = 1 + + vibrancy = 0.1696 + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#animations +animations { + enabled = true + + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + +# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more +dwindle { + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # You probably want this +} + +# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more +master { + new_status = master +} + +# https://wiki.hyprland.org/Configuring/Variables/#misc +misc { + force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( +} + + +############# +### INPUT ### +############# + +# https://wiki.hyprland.org/Configuring/Variables/#input +input { + kb_layout = us + kb_variant = + kb_model = + kb_options = + kb_rules = + + follow_mouse = 1 + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. + + touchpad { + natural_scroll = false + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#gestures +gestures { + workspace_swipe = false +} + +# Example per-device config +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more +device { + name = epic-mouse-v1 + sensitivity = -0.5 +} + + +################### +### KEYBINDINGS ### +################### + +# See https://wiki.hyprland.org/Configuring/Keywords/ +$mainMod = SUPER # Sets "Windows" key as main modifier + +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +bind = $mainMod, Q, exec, $terminal +bind = $mainMod, C, killactive, +bind = $mainMod, M, exit, +bind = $mainMod, E, exec, $fileManager +bind = $mainMod, V, togglefloating, +bind = $mainMod, R, exec, $menu +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod, J, togglesplit, # dwindle + +# Move focus with mainMod + arrow keys +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +# Example special workspace (scratchpad) +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspace, special:magic + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + + +############################## +### WINDOWS AND WORKSPACES ### +############################## + +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules + +# Example windowrule v1 +# windowrule = float, ^(kitty)$ + +# Example windowrule v2 +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ + +windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. diff --git a/dot-config/hypr/hyprlock.conf b/dot-config/hypr/hyprlock.conf index b11295c6..402bd9cf 100644 --- a/dot-config/hypr/hyprlock.conf +++ b/dot-config/hypr/hyprlock.conf @@ -16,6 +16,7 @@ background { brightness = 0 vibrancy = 0 vibrancy_darkness = 0.0 + # update: 1800000: true } input-field { @@ -92,8 +93,9 @@ label { label { monitor = - # text = cmd[update:1000] echo "$(date +"%k:%M")" - text = $TIME + # text = cmd[update:1000] echo "$(date +"%I:%M")" + text = cmd[update:1000] enable strftime; strftime '%I:%M' $EPOCHSECONDS + # text = $TIME color = rgba(242, 243, 244, 0.75) font_size = 93 font_family = SF Pro Display Bold diff --git a/dot-config/hypr/pyprland.toml b/dot-config/hypr/pyprland.toml new file mode 100644 index 00000000..1a2364b6 --- /dev/null +++ b/dot-config/hypr/pyprland.toml @@ -0,0 +1,4 @@ +[pyprland] +plugins = [ + +] diff --git a/dot-config/rofi/shared/colors.rasi b/dot-config/rofi/shared/colors.rasi index deecf41f..405f11e1 100644 --- a/dot-config/rofi/shared/colors.rasi +++ b/dot-config/rofi/shared/colors.rasi @@ -1,14 +1,9 @@ * { - --background: rgba ( 46, 52, 64, 25% ); - background: rgba ( 0, 0, 0, 25% ); - --background-alt: rgba ( 57, 64, 79, 25% ); - background-alt: rgba ( 0, 0, 0, 15% ); - foreground: rgba ( 216, 222, 233, 100% ); - urgent-foreground: rgba ( 216, 222, 233, 100% ); - --selected: rgba ( 129, 161, 193, 10% ); - selected: rgba ( 0, 0, 0, 40% ); - --active: rgba ( 163, 190, 140, 10% ); - active: rgba ( 0, 0, 0, 10% ); - --urgent: rgba ( 191, 97, 106, 75% ); - urgent: rgba ( 0, 0, 0, 75% ); + background: #06070E25; + background-alt: #1AB03C25; + foreground: #E1EFFE; + selected: #9BA0FC40; + active: #00297F10; + urgent: #9E8DFF75; + Prompt: #06070E; } diff --git a/dot-config/rofi/shared/colors.rasi.original b/dot-config/rofi/shared/colors.rasi.original new file mode 100644 index 00000000..deecf41f --- /dev/null +++ b/dot-config/rofi/shared/colors.rasi.original @@ -0,0 +1,14 @@ +* { + --background: rgba ( 46, 52, 64, 25% ); + background: rgba ( 0, 0, 0, 25% ); + --background-alt: rgba ( 57, 64, 79, 25% ); + background-alt: rgba ( 0, 0, 0, 15% ); + foreground: rgba ( 216, 222, 233, 100% ); + urgent-foreground: rgba ( 216, 222, 233, 100% ); + --selected: rgba ( 129, 161, 193, 10% ); + selected: rgba ( 0, 0, 0, 40% ); + --active: rgba ( 163, 190, 140, 10% ); + active: rgba ( 0, 0, 0, 10% ); + --urgent: rgba ( 191, 97, 106, 75% ); + urgent: rgba ( 0, 0, 0, 75% ); +} diff --git a/dot-config/waybar/colors.css b/dot-config/waybar/colors.css index 7d10a906..384da45c 100644 --- a/dot-config/waybar/colors.css +++ b/dot-config/waybar/colors.css @@ -1,22 +1,20 @@ -@define-color BACKGROUND rgba (36, 41, 49, 0.7); -@define-color FOREGROUND rgba (216, 222, 233, 1); -@define-color ALTBACKGROUND rgba (57, 64, 79, 0.8); -@define-color ALTFOREGROUND rgba (118, 139, 178, 1); -@define-color ACCENT rgba (129, 161, 193, 1); -@define-color BLACK rgba (59, 66, 82, 1); -@define-color RED rgba (191, 97, 106, 1); -@define-color GREEN rgba (163, 190, 140, 1); -@define-color YELLOW rgba (235, 203, 139, 1); -@define-color BLUE rgba (129, 161, 193, 1); -@define-color MAGENTA rgba (180, 142, 173, 1); -@define-color CYAN rgba (136, 192, 208, 1); -@define-color WHITE rgba (229, 233, 240, 1); -@define-color ALTBLACK rgba (76, 86, 106, 1); -@define-color ALTRED rgba (191, 97, 106, 1); -@define-color ALTGREEN rgba (163, 190, 140, 1); -@define-color ALTYELLOW rgba (235, 203, 139, 1); -@define-color ALTBLUE rgba (129, 161, 193, 1); -@define-color ALTMAGENTA rgba (180, 142, 173, 1); -@define-color ALTCYAN rgba (143, 188, 187, 1); -@define-color ALTWHITE rgba (236, 239, 244, 1); +@define-color FOREGROUND #E1EFFE; +@define-color BACKGROUND rgba(6,7,14,0.25); +@define-color ACCENT #E1EFFE; +@define-color color0 #333438; +@define-color color1 #00297F; +@define-color color2 #0049E5; +@define-color color3 #1AB03C; +@define-color color4 #9E8DFF; +@define-color color5 #9BA0FC; +@define-color color6 #A8D0FD; +@define-color color7 #CBDFF6; +@define-color color8 #8E9CAC; +@define-color color9 #00297F; +@define-color color10 #0049E5; +@define-color color11 #1AB03C; +@define-color color12 #9E8DFF; +@define-color color13 #9BA0FC; +@define-color color14 #A8D0FD; +@define-color color15 #CBDFF6; diff --git a/dot-config/waybar/colors.css.original b/dot-config/waybar/colors.css.original new file mode 100644 index 00000000..7d10a906 --- /dev/null +++ b/dot-config/waybar/colors.css.original @@ -0,0 +1,22 @@ +@define-color BACKGROUND rgba (36, 41, 49, 0.7); +@define-color FOREGROUND rgba (216, 222, 233, 1); +@define-color ALTBACKGROUND rgba (57, 64, 79, 0.8); +@define-color ALTFOREGROUND rgba (118, 139, 178, 1); +@define-color ACCENT rgba (129, 161, 193, 1); +@define-color BLACK rgba (59, 66, 82, 1); +@define-color RED rgba (191, 97, 106, 1); +@define-color GREEN rgba (163, 190, 140, 1); +@define-color YELLOW rgba (235, 203, 139, 1); +@define-color BLUE rgba (129, 161, 193, 1); +@define-color MAGENTA rgba (180, 142, 173, 1); +@define-color CYAN rgba (136, 192, 208, 1); +@define-color WHITE rgba (229, 233, 240, 1); +@define-color ALTBLACK rgba (76, 86, 106, 1); +@define-color ALTRED rgba (191, 97, 106, 1); +@define-color ALTGREEN rgba (163, 190, 140, 1); +@define-color ALTYELLOW rgba (235, 203, 139, 1); +@define-color ALTBLUE rgba (129, 161, 193, 1); +@define-color ALTMAGENTA rgba (180, 142, 173, 1); +@define-color ALTCYAN rgba (143, 188, 187, 1); +@define-color ALTWHITE rgba (236, 239, 244, 1); + diff --git a/dot-config/waybar/config.jsonc b/dot-config/waybar/config.jsonc index 04dcf9d1..98f32b79 100644 --- a/dot-config/waybar/config.jsonc +++ b/dot-config/waybar/config.jsonc @@ -11,5 +11,5 @@ "modules-left": ["custom/launcher", "group/musicworkspace", "privacy"], "modules-center": ["hyprland/window"], "modules-right": ["cpu", "memory", "custom/gpu", "temperature", "network", "group/misc", "custom/wf-recorder", "group/power"], - // "reload_style_on_change": true, + "reload_style_on_change": true, } diff --git a/dot-config/waybar/style.css b/dot-config/waybar/style.css index 01e5e139..2bc87104 100644 --- a/dot-config/waybar/style.css +++ b/dot-config/waybar/style.css @@ -15,7 +15,7 @@ border-radius: 8px; margin: 4px; padding: 4px 4px 4px 4px; - border: 2px solid @ACCENT; + border: 2px solid @color9; padding-right: 16px; padding-left: 16px; } @@ -89,7 +89,7 @@ tooltip { #workspaces button { opacity: 0.8; border-radius: 12px; - background-color: @YELLOW; + background-color: @color5; margin-top: 4px; margin-bottom: 2px; margin-left: 1px; @@ -104,7 +104,7 @@ tooltip { } #workspaces button.active { - background-color: @ACCENT; + background-color: @color3; margin-left: 1px; margin-right: 1px; padding-left: 14px; @@ -114,7 +114,8 @@ tooltip { #workspaces button.urgent { - background-color: @RED; + /* background-color: @RED; */ + background-color: #FF0000; border-radius: 16px 16px 16px 16px; opacity: 1; } diff --git a/dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index d4a10baf..e7c8fc4c 100644 --- a/dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -6,7 +6,7 @@ - + -- cgit v1.2.3