diff --git a/dot_config/cava/config b/dot_config/cava/config new file mode 100644 index 0000000..46a74ad --- /dev/null +++ b/dot_config/cava/config @@ -0,0 +1,163 @@ +## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting. + + +[general] + +# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. +mode = normal + +# Accepts only non-negative values. +framerate = 60 + +# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off +# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. +; autosens = 1 +; overshoot = 20 + +# Manual sensitivity in %. Autosens must be turned off for this to take effect. +# 200 means double height. Accepts only non-negative values. +; sensitivity = 100 + +# The number of bars (0-200). 0 sets it to auto (fill up console). +# Bars' width and space between bars in number of characters. +bars = 0 +bar_width = 4 +bar_spacing = 1 + +# Lower and higher cutoff frequencies for lowest and highest bars +# the bandwidth of the visualizer. +# Note: there is a minimum total bandwidth of 43Mhz x number of bars. +# Cava will automatically increase the higher cutoff if a too low band is specified. +; lower_cutoff_freq = 50 +; higher_cutoff_freq = 10000 + + + +[input] + +# Audio capturing method. Possible methods are: 'pulse', 'alsa' or 'fifo'. +# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# +# All input methods uses the same config variable 'source' +# to define where it should get the audio. +# +# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink +# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). +# +# For alsa 'source' will be the capture device. +# For fifo 'source' will be the path to fifo-file. +method = pulse +source = auto + +; method = alsa +; source = hw:Loopback,1 + +; method = fifo +; source = /tmp/mpd.fifo + + + +[output] + +# Ouput method. Can be 'ncurses', 'noncurses' or 'raw'. +# 'noncurses' is for systems that does not suport ncurses. +# 'raw' is a 16 bit data stream of the bar heights that can be used to send to other applications. +# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above. +method = ncurses + +# Visual styles. Can be 'stereo' or 'mono'. +# 'stereo' mirrors both channels with low frequencies in center. +# 'mono' averages both channels and outputs left to right lowest to highest frequencies. +style = mono + +# Raw output target. A fifo will be created if target does not exist. +; raw_target = /dev/stdout + +# Raw data format. Can be 'binary' or 'ascii'. +; data_format = binary + +# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530). +; bit_format = 16bit + +# Ascii max value. In 'ascii' mode range will run from 0 to value specified here +; ascii_max_range = 1000 + +# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters. +# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)). +; bar_delimiter = 59 +; frame_delimiter = 10 + + + +# [color] + +# # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. +# # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a +# # terminal that can change color definitions such as Gnome-terminal or rxvt. +# ; background = black +# ; foreground = cyan + +# # Gradient mode, only hex defined colors are supported, background must also be defined in hex +# # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will +# # not able to restore color definitions on exit, simply restart your terminal to restore colors. +# gradient = 1 +# gradient_color_1 = '#0099ff' +# gradient_color_2 = '#ff3399' + + + +[smoothing] + +# Multiplier for the integral smoothing calculations. Takes values from 0-0.99. +# Higher values means smoother, but less precise. Set to 0 to disable. +; integral = 0.7 + +# Disables or enables the so-called "Monstercat smoothing". Set to 0 to disable. +; monstercat = 1 +; waves = 1 + +# Set gravity multiplier for "drop off". Higher values means bars will drop faster. +# Accepts only non-negative values. 0.5 means half gravity, 2 means double. Set to 0 to disable "drop off". +; gravity = 1 + + +# In bar height, bars that would have been lower that this will not be drawn. +; ignore = 0 + + +[eq] + +# This one is tricky. You can have as much keys as you want. +# Remember to uncomment more then one key! More keys = more precision. +# Look at readme.md on github for further explanations and examples. +; 1 = 1 # bass +; 2 = 1 +; 3 = 1 # midtone +; 4 = 1 +; 5 = 1 # treble + + +[color] + +background = '#191724' +gradient = 1 +gradient_count = 6 +gradient_color_1 = '#31748f' +gradient_color_2 = '#9ccfd8' +gradient_color_3 = '#c4a7e7' +gradient_color_4 = '#ebbcba' +gradient_color_5 = '#f6c177' +gradient_color_6 = '#eb6f92' + +[color] + +gradient = 1 + +gradient_color_1 = '#94e2d5' +gradient_color_2 = '#89dceb' +gradient_color_3 = '#74c7ec' +gradient_color_4 = '#89b4fa' +gradient_color_5 = '#cba6f7' +gradient_color_6 = '#f5c2e7' +gradient_color_7 = '#eba0ac' +gradient_color_8 = '#f38ba8' diff --git a/dot_config/dunst/dunstrc b/dot_config/dunst/dunstrc new file mode 100644 index 0000000..df9a2af --- /dev/null +++ b/dot_config/dunst/dunstrc @@ -0,0 +1,466 @@ +# See dunst(5) for all configuration options + +[global] + ### Display ### + + # Which monitor should the notifications be displayed on. + monitor = 0 + + # Display notification on focused monitor. Possible modes are: + # mouse: follow mouse pointer + # keyboard: follow window with keyboard focus + # none: don't follow anything + # + # "keyboard" needs a window manager that exports the + # _NET_ACTIVE_WINDOW property. + # This should be the case for almost all modern window managers. + # + # If this option is set to mouse or keyboard, the monitor option + # will be ignored. + follow = none + + ### Geometry ### + + # dynamic width from 0 to 300 + # width = (0, 300) + # constant width of 300 + width = 600 + + # The maximum height of a single notification, excluding the frame. + height = 200 + + # Position the notification in the top right corner + origin = top-left + + # Offset from the origin + offset = 20x20 + + # Scale factor. It is auto-detected if value is 0. + scale = 0 + + # Maximum number of notification (0 means no limit) + notification_limit = 0 + + ### Progress bar ### + + # Turn on the progess bar. It appears when a progress hint is passed with + # for example dunstify -h int:value:12 + progress_bar = true + + # Set the progress bar height. This includes the frame, so make sure + # it's at least twice as big as the frame width. + progress_bar_height = 10 + + # Set the frame width of the progress bar + progress_bar_frame_width = 1 + + # Set the minimum width for the progress bar + progress_bar_min_width = 150 + + # Set the maximum width for the progress bar + progress_bar_max_width = 300 + + + # Show how many messages are currently hidden (because of + # notification_limit). + indicate_hidden = yes + + # The transparency of the window. Range: [0; 100]. + # This option will only work if a compositing window manager is + # present (e.g. xcompmgr, compiz, etc.). (X11 only) + transparency = 0 + + # Draw a line of "separator_height" pixel height between two + # notifications. + # Set to 0 to disable. + # If gap_size is greater than 0, this setting will be ignored. + separator_height = 2 + + # Padding between text and separator. + padding = 8 + + # Horizontal padding. + horizontal_padding = 8 + + # Padding between text and icon. + text_icon_padding = 0 + + # Defines width in pixels of frame around the notification window. + # Set to 0 to disable. + frame_width = 3 + + # Defines color of the frame around the notification window. + frame_color = "#c0caf5" + + # Size of gap to display between notifications - requires a compositor. + # If value is greater than 0, separator_height will be ignored and a border + # of size frame_width will be drawn around each notification instead. + # Click events on gaps do not currently propagate to applications below. + gap_size = 5 + + # Define a color for the separator. + # possible values are: + # * auto: dunst tries to find a color fitting to the background; + # * foreground: use the same color as the foreground; + # * frame: use the same color as the frame; + # * anything else will be interpreted as a X color. + separator_color = frame + + # Sort messages by urgency. + sort = yes + + # Don't remove messages, if the user is idle (no mouse or keyboard input) + # for longer than idle_threshold seconds. + # Set to 0 to disable. + # A client can set the 'transient' hint to bypass this. See the rules + # section for how to disable this if necessary + # idle_threshold = 120 + + ### Text ### + + font = Sofia Pro 16 + + # The spacing between lines. If the height is smaller than the + # font height, it will get raised to the font height. + line_height = 0 + + # Possible values are: + # full: Allow a small subset of html markup in notifications: + # bold + # italic + # strikethrough + # underline + # + # For a complete reference see + # . + # + # strip: This setting is provided for compatibility with some broken + # clients that send markup even though it's not enabled on the + # server. Dunst will try to strip the markup but the parsing is + # simplistic so using this option outside of matching rules for + # specific applications *IS GREATLY DISCOURAGED*. + # + # no: Disable markup parsing, incoming notifications will be treated as + # plain text. Dunst will not advertise that it has the body-markup + # capability if this is set as a global setting. + # + # It's important to note that markup inside the format option will be parsed + # regardless of what this is set to. + markup = full + + # The format of the message. Possible variables are: + # %a appname + # %s summary + # %b body + # %i iconname (including its path) + # %I iconname (without its path) + # %p progress value if set ([ 0%] to [100%]) or nothing + # %n progress value if set without any extra characters + # %% Literal % + # Markup is allowed + format = "%s\n%b" + + # Alignment of message text. + # Possible values are "left", "center" and "right". + alignment = left + + # Vertical alignment of message text and icon. + # Possible values are "top", "center" and "bottom". + vertical_alignment = center + + # Show age of message if message is older than show_age_threshold + # seconds. + # Set to -1 to disable. + show_age_threshold = 60 + + # Specify where to make an ellipsis in long lines. + # Possible values are "start", "middle" and "end". + ellipsize = "end" + + # Ignore newlines '\n' in notifications. + ignore_newline = no + + # Stack together notifications with the same content + stack_duplicates = true + + # Hide the count of stacked notifications with the same content + hide_duplicate_count = false + + # Display indicators for URLs (U) and actions (A). + show_indicators = yes + + ### Icons ### + + # Align icons left/right/top/off + icon_position = left + # Scale small icons up to this size, set to 0 to disable. Helpful + # for e.g. small files or high-dpi screens. In case of conflict, + # max_icon_size takes precedence over this. + min_icon_size = 32 + + # Scale larger icons down to this size, set to 0 to disable + max_icon_size = 64 + + # Paths to default icons. + icon_path = /usr/share/icons/gnome/128x128/status/:/usr/share/icons/gnome/128x128/devices/ + icon_theme = "Papirus, Adwaita" + enable_recursive_icon_lookup = true + + always_run_scripts = true + ### History ### + + # Should a notification popped up from history be sticky or timeout + # as if it would normally do. + sticky_history = yes + + # Maximum amount of notifications kept in history + history_length = 20 + + ### Misc/Advanced ### + + # dmenu path. + dmenu = /usr/bin/dmenu -p dunst: + + # Browser for opening urls in context menu. + browser = /usr/bin/xdg-open + + # Always run rule-defined scripts, even if the notification is suppressed + always_run_script = true + + # Define the title of the windows spawned by dunst + title = Dunst + + # Define the class of the windows spawned by dunst + class = Dunst + + # Define the corner radius of the notification window + # in pixel size. If the radius is 0, you have no rounded + # corners. + # The radius will be automatically lowered if it exceeds half of the + # notification height to avoid clipping text and/or icons. + corner_radius = 15 + + # Ignore the dbus closeNotification message. + # Useful to enforce the timeout set by dunst configuration. Without this + # parameter, an application may close the notification sent before the + # user defined timeout. + ignore_dbusclose = false + + ### Wayland ### + # These settings are Wayland-specific. They have no effect when using X11 + + # Uncomment this if you want to let notications appear under fullscreen + # applications (default: overlay) + layer = bottom + + # Set this to true to use X11 output on Wayland. + force_xwayland = false + + ### Legacy + + # Use the Xinerama extension instead of RandR for multi-monitor support. + # This setting is provided for compatibility with older nVidia drivers that + # do not support RandR and using it on systems that support RandR is highly + # discouraged. + # + # By enabling this setting dunst will not be able to detect when a monitor + # is connected or disconnected which might break follow mode if the screen + # layout changes. + force_xinerama = false + + ### mouse + + # Defines list of actions for each mouse event + # Possible values are: + # * none: Don't do anything. + # * do_action: Invoke the action determined by the action_name rule. If there is no + # such action, open the context menu. + # * open_url: If the notification has exactly one url, open it. If there are multiple + # ones, open the context menu. + # * close_current: Close current notification. + # * close_all: Close all notifications. + # * context: Open context menu for the notification. + # * context_all: Open context menu for all notifications. + # These values can be strung together for each mouse event, and + # will be executed in sequence. + mouse_left_click = close_current + mouse_middle_click = context + mouse_right_click = do_action + +# Experimental features that may or may not work correctly. Do not expect them +# to have a consistent behaviour across releases. +[experimental] + # Calculate the dpi to use on a per-monitor basis. + # If this setting is enabled the Xft.dpi value will be ignored and instead + # dunst will attempt to calculate an appropriate dpi value for each monitor + # using the resolution and physical size. This might be useful in setups + # where there are multiple screens with very different dpi values. + per_monitor_dpi = false + + +[urgency_low] + # IMPORTANT: colors have to be defined in quotation marks. + # Otherwise the "#" and following would be interpreted as a comment. + background = "#fff" + foreground = "#89b4fa" + frame_color = "#89b4fa" + timeout = 3 + script = ~/.scripts/dunst/sound-normal.sh + # Icon for notifications with low urgency, uncomment to enable + #default_icon = /path/to/icon + +[urgency_normal] + background = "#fff" + foreground = "#a6e3a1" + frame_color = "#a6e3a1" + timeout = 3 + script = ~/.scripts/dunst/sound-normal.sh + # Icon for notifications with normal urgency, uncomment to enable + #default_icon = /path/to/icon + +[urgency_critical] + background = "#fff" + foreground = "#f38ba8" + frame_color = "#f38ba8" + timeout = 3 + script = ~/.scripts/dunst/sound-critical.sh + # Icon for notifications with critical urgency, uncomment to enable + #default_icon = /path/to/icon + +# Every section that isn't one of the above is interpreted as a rules to +# override settings for certain messages. +# +# Messages can be matched by +# appname (discouraged, see desktop_entry) +# body +# category +# desktop_entry +# icon +# match_transient +# msg_urgency +# stack_tag +# summary +# +# and you can override the +# background +# foreground +# format +# frame_color +# fullscreen +# new_icon +# set_stack_tag +# set_transient +# set_category +# timeout +# urgency +# icon_position +# skip_display +# history_ignore +# action_name +# word_wrap +# ellipsize +# alignment +# hide_text +# +# Shell-like globbing will get expanded. +# +# Instead of the appname filter, it's recommended to use the desktop_entry filter. +# GLib based applications export their desktop-entry name. In comparison to the appname, +# the desktop-entry won't get localized. +# +# SCRIPTING +# You can specify a script that gets run when the rule matches by +# setting the "script" option. +# The script will be called as follows: +# script appname summary body icon urgency +# where urgency can be "LOW", "NORMAL" or "CRITICAL". +# +# NOTE: It might be helpful to run dunst -print in a terminal in order +# to find fitting options for rules. + +# Disable the transient hint so that idle_threshold cannot be bypassed from the +# client +#[transient_disable] +# match_transient = yes +# set_transient = no +# +# Make the handling of transient notifications more strict by making them not +# be placed in history. +#[transient_history_ignore] +# match_transient = yes +# history_ignore = yes + +# fullscreen values +# show: show the notifications, regardless if there is a fullscreen window opened +# delay: displays the new notification, if there is no fullscreen window active +# If the notification is already drawn, it won't get undrawn. +# pushback: same as delay, but when switching into fullscreen, the notification will get +# withdrawn from screen again and will get delayed like a new notification +#[fullscreen_delay_everything] +# fullscreen = delay +#[fullscreen_show_critical] +# msg_urgency = critical +# fullscreen = show + +#[espeak] +# summary = "*" +# script = dunst_espeak.sh + +#[script-test] +# summary = "*script*" +# script = dunst_test.sh + +#[ignore] +# # This notification will not be displayed +# summary = "foobar" +# skip_display = true + +#[history-ignore] +# # This notification will not be saved in history +# summary = "foobar" +# history_ignore = yes + +#[skip-display] +# # This notification will not be displayed, but will be included in the history +# summary = "foobar" +# skip_display = yes + +#[signed_on] +# appname = Pidgin +# summary = "*signed on*" +# urgency = low +# +#[signed_off] +# appname = Pidgin +# summary = *signed off* +# urgency = low +# +#[says] +# appname = Pidgin +# summary = *says* +# urgency = critical +# +#[twitter] +# appname = Pidgin +# summary = *twitter.com* +# urgency = normal +# +#[stack-volumes] +# appname = "some_volume_notifiers" +# set_stack_tag = "volume" +# +[redirect] +summary = "*" +script = "~/.config/hypr/scripts/tools/notif" + +[logger] +summary = "*" +script = "~/.config/hypr/scripts/tools/notif" + +[spotify] +summary = "*" +script = "~/.scripts/music-art" + +[spotify-icon] +appname = "Spotify" +icon = "~/.cache/temp.png" diff --git a/dot_config/hypr/component/waybar/config b/dot_config/hypr/component/waybar/config new file mode 100644 index 0000000..18f8c27 --- /dev/null +++ b/dot_config/hypr/component/waybar/config @@ -0,0 +1,193 @@ +{ + "layer": "bottom", // Waybar at top layer + "position": "top", // Waybar position (top|bottom|left|right) + "height": 50, // Waybar height (to be removed for auto height) + // "width": 1280, // Waybar width + "spacing": 5, // Gaps between modules (4px) + // Choose the order of the modules + // "margin-left":25, + // "margin-right":25, + "margin-bottom":-11, + //"margin-top":5, + "modules-left": ["wlr/workspaces"], + "modules-right": ["tray","temperature","network","battery","custom/ss","custom/cycle_wall","custom/expand","cpu","clock"], + "modules-center": ["custom/dynamic_pill"], + // Modules configuration + + + // custom modules //////////////// + "custom/dynamic_pill": { + "return-type": "json", + // "format":"{}", + "exec": "~/.config/hypr/scripts/tools/start_dyn", + "escape":true + }, + "custom/ss":{ + "format":"{}", + "exec":"~/.config/hypr/scripts/tools/expand ss-icon", + "on-click": "~/.config/hypr/scripts/screenshot" + }, + "custom/cycle_wall":{ + "format":"{}", + "exec": "~/.config/hypr/scripts/tools/expand wall", + // "interval": 1, + "on-click": "~/.config/hypr/scripts/tools/expand cycle" + }, + "custom/expand":{ + "on-click":"~/.config/hypr/scripts/expand_toolbar", + "format":"{}", + "exec":"~/.config/hypr/scripts/tools/expand arrow-icon" + }, + // "custom/waybar-mpris": { + // "return-type": "json", + // "exec": "echo ' '", + // "on-click": "waybar-mpris --send toggle", + // // This option will switch between players on right click. + // "on-click-right": "waybar-mpris --send player-next", + // // The options below will switch the selected player on scroll + // // "on-scroll-up": "waybar-mpris --send player-next", + // // "on-scroll-down": "waybar-mpris --send player-prev", + // // The options below will go to next/previous track on scroll + // // "on-scroll-up": "waybar-mpris --send next", + // // "on-scroll-down": "waybar-mpris --send prev", + // "escape": true + // }, + ////////////////////////////////// + "keyboard-state": { + "numlock": true, + "capslock": true, + "format": "{name} {icon}", + "format-icons": { + "locked": "", + "unlocked": "" + } + }, + "wlr/workspaces": { + "format": "{icon}", + "format-active": " {icon} ", + "on-click": "activate" + // "format-icons":{ + // "10":"10" + // } + }, + "sway/mode": { + "format": "{}" + }, + "mpd": { + "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", + "format-disconnected": "Disconnected ", + "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", + "unknown-tag": "N/A", + "interval": 2, + "consume-icons": { + "on": " " + }, + "random-icons": { + "off": " ", + "on": " " + }, + "repeat-icons": { + "on": " " + }, + "single-icons": { + "on": "1 " + }, + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip-format": "MPD (connected)", + "tooltip-format-disconnected": "MPD (disconnected)" + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "tray": { + // "icon-size": 21, + "spacing": 10 + }, + "clock": { + // "timezone": "America/New_York", + "tooltip-format": "{:%Y %B}\n{calendar}", + "interval": 60, + "format": "{:%I:%M}", + "max-length": 25 + }, + "cpu": { + "interval":1, + "format": "{icon0} {icon1} {icon2} {icon3}", + "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"] + }, + "memory": { + "format": "{}% " + }, + "temperature": { + // "thermal-zone": 2, + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "critical-threshold": 80, + "format-critical": "{temperatureC}°C", + "format": "" + }, + "backlight": { + // "device": "acpi_video1", + "format": "{percent}% {icon}", + "format-icons": ["", "", "", "", "", "", "", "", ""] + }, + "battery": { + "states": { + "warning": 50, + "critical": 20 + }, + "format": "{icon}", + "format-charging": "", + "format-plugged": "", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + }, + "battery#bat2": { + "bat": "BAT2" + }, + "network": { + // "interface": "wlp2*", // (Optional) To force the use of this interface + "format-wifi": "", + "format-ethernet": "", + "tooltip-format": "via {gwaddr} {ifname}", + "format-linked": "", + "format-disconnected": "wifi", + "format-alt": " " + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{format_source}", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": " {format_source}", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click": "pavucontrol" + }, + "custom/media": { + "format": "{icon} {}", + "return-type": "json", + "max-length": 40, + "format-icons": { + "spotify": "", + "default": "🎜" + }, + "escape": true, + "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder + // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name + } +} diff --git a/dot_config/hypr/component/waybar/style.css b/dot_config/hypr/component/waybar/style.css new file mode 100644 index 0000000..54ca4a0 --- /dev/null +++ b/dot_config/hypr/component/waybar/style.css @@ -0,0 +1,340 @@ +* { + font-family: CartographCF Nerd Font,FontAwesome, Roboto, Helvetica, Arial, sans-serif; + font-size: 13px; +} + +window#waybar { + background-color: transparent; +} + +#workspaces{ + background-color: transparent; + margin-top: 10px; + margin-bottom: 10px; + margin-right: 10px; + margin-left: 25px; +} +#workspaces button{ + box-shadow: rgba(0, 0, 0, 0.116) 2 2 5 2px; + background-color: #fff ; + border-radius: 15px; + margin-right: 10px; + padding-top: 4px; + padding-bottom: 2px; + padding-right: 10px; + font-weight: bolder; + color: #cba6f7 ; +} + +#workspaces button.active{ + padding-right: 20px; + box-shadow: rgba(0, 0, 0, 0.288) 2 2 5 2px; + text-shadow: 0 0 5px rgba(0, 0, 0, 0.377); + padding-left: 20px; + padding-bottom: 3px; + background: rgb(202,158,230); + background: linear-gradient(45deg, rgba(202,158,230,1) 0%, rgba(245,194,231,1) 43%, rgba(180,190,254,1) 80%, rgba(137,180,250,1) 100%); + background-size: 300% 300%; + animation: gradient 10s ease infinite; + color: #fff; +} + +@keyframes gradient { + 0% { + background-position: 0% 50%; + } + 50% { + background-position: 100% 50%; + } + 100% { + background-position: 0% 50%; + } +} + + +#clock, +#battery, +#cpu, +#memory, +#disk, +#temperature, +#backlight, +#network, +#pulseaudio, +#custom-media, +#tray, +#mode, +#idle_inhibitor, +#custom-expand, +#custom-cycle_wall, +#custom-ss, +#custom-dynamic_pill, +#mpd { + padding: 0 10px; + border-radius: 15px; + background-color: #cdd6f4; + color: #516079; + box-shadow: rgba(0, 0, 0, 0.116) 2 2 5 2px; + margin-top: 10px; + margin-bottom: 10px; + margin-right: 10px; +} + +#custom-dynamic_pill.low{ + background: rgb(148,226,213); + background: linear-gradient(52deg, rgba(148,226,213,1) 0%, rgba(137,220,235,1) 19%, rgba(116,199,236,1) 43%, rgba(137,180,250,1) 56%, rgba(180,190,254,1) 80%, rgba(186,187,241,1) 100%); + background-size: 300% 300%; + text-shadow: 0 0 5px rgba(0, 0, 0, 0.377); + animation: gradient 15s ease infinite; + font-weight: bolder; + color: #fff; +} +#custom-dynamic_pill.normal{ + background: rgb(166,209,137); + background: linear-gradient(52deg, rgba(166,209,137,1) 0%, rgba(166,227,161,1) 26%, rgba(148,226,213,1) 65%, rgba(129,200,190,1) 100%); + background-size: 300% 300%; + animation: gradient 15s ease infinite; + text-shadow: 0 0 5px rgba(0, 0, 0, 0.377); + font-weight: bolder; + color: #fff; +} +#custom-dynamic_pill.critical{ + background: rgb(235,160,172); + background: linear-gradient(52deg, rgba(235,160,172,1) 0%, rgba(243,139,168,1) 30%, rgba(231,130,132,1) 48%, rgba(250,179,135,1) 77%, rgba(249,226,175,1) 100%); + background-size: 300% 300%; + animation: gradient 15s ease infinite; + text-shadow: 0 0 5px rgba(0, 0, 0, 0.377); + font-weight: bolder; + color: #fff; +} + + +#custom-dynamic_pill.playing{ + background: rgb(249,226,175); + background: linear-gradient(45deg, rgba(249,226,175,1) 0%, rgba(245,194,231,1) 20%, rgba(180,190,254,1) 100%); + background-size: 300% 300%; + animation: gradient 15s ease infinite; + text-shadow: 0 0 5px rgba(0, 0, 0, 0.377); + font-weight: 900; + color: #fff ; +} +#custom-dynamic_pill.paused{ + background: #fff ; + font-weight: bolder; + color: #b4befe; +} + +#custom-ss{ + background: #fff; + color: rgba(203,166,247,1); + font-weight: bolder; + padding: 5px; + padding-left: 20px; + padding-right: 20px; + border-radius: 15px; +} + +#custom-cycle_wall{ + background: rgb(245,194,231); + background: linear-gradient(45deg, rgba(245,194,231,1) 0%, rgba(203,166,247,1) 0%, rgba(243,139,168,1) 13%, rgba(235,160,172,1) 26%, rgba(250,179,135,1) 34%, rgba(249,226,175,1) 49%, rgba(166,227,161,1) 65%, rgba(148,226,213,1) 77%, rgba(137,220,235,1) 82%, rgba(116,199,236,1) 88%, rgba(137,180,250,1) 95%); + color: #fff; + background-size: 500% 500%; + animation: gradient 7s linear infinite; + font-weight: bolder; + padding: 5px; + border-radius: 15px; +} + + +#clock { + background: rgb(245,194,231); + background: linear-gradient(45deg, rgba(245,194,231,1) 0%, rgba(203,166,247,1) 64%, rgba(202,158,230,1) 100%); + margin-right: 25px; + color: #fff ; + background-size: 300% 300%; + text-shadow: 0 0 5px rgba(0, 0, 0, 0.377); + animation: gradient 20s ease infinite; + font-size: 15px; + padding-top: 5px; + padding-right: 21px; + font-weight: bolder; + padding-left: 20px +} + +#battery.charging, #battery.plugged { + background-color: #94e2d5 ; +} + +#battery { + background-color: #fff; + color:#a6e3a1; + font-weight: bolder; + font-size: 20px; + padding-left: 15px; + padding-right: 15px; +} + +@keyframes blink { + to { + background-color: #f9e2af; + color:#96804e; + } +} + +#battery.critical:not(.charging) { + background-color: #f38ba8; + color:#bf5673; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +label:focus { + +} + +#cpu { + background: rgb(180,190,254); + background: linear-gradient(52deg, rgba(180,190,254,1) 0%, rgba(137,220,235,1) 32%, rgba(137,180,250,1) 72%, rgba(166,227,161,1) 100%); + background-size: 300% 300%; + animation: gradient 20s ease infinite; + text-shadow: 0 0 5px rgba(0, 0, 0, 0.377); + /* background-color: #b4befe; */ + color: #fff; +} + +#memory { + background-color: #cba6f7; + color: #9a75c7; + font-weight: bolder; +} + +#disk { + color: #964B00; +} + +#backlight { + color: #90b1b1; +} + +#network{ + color:#000; +} + +#network.disabled{ + background-color: #45475a; +} + +#network.disconnected{ + background: rgb(243,139,168); + background: linear-gradient(45deg, rgba(243,139,168,1) 0%, rgba(250,179,135,1) 100%); + color: #fff; + font-weight: bolder; + padding-top: 3px; + padding-right: 11px; +} + +#network.linked, #network.wifi{ + background-color: #a6e3a1 ; +} + +#network.ethernet{ + background-color:#f9e2af ; +} + +#pulseaudio { + background-color: #fab387; + color: #bf7d54; + font-weight: bolder; +} + +#pulseaudio.muted { + background-color: #90b1b1; +} + +#custom-media { + color: #66cc99; +} + +#custom-media.custom-spotify { + background-color: #66cc99; +} + +#custom-media.custom-vlc { + background-color: #ffa000; +} + +#temperature { + background-color: #f9e2af; + color:#96804e; +} + +#temperature.critical { + background-color: #f38ba8 ; + color:#bf5673; +} + +#tray { + background-color: #2980b9; +} + +#tray > .passive { + -gtk-icon-effect: dim; +} + +#tray > .needs-attention { + -gtk-icon-effect: highlight; + background-color: #eb4d4b; +} + +#idle_inhibitor { + background-color: #2d3436; +} + +#idle_inhibitor.activated { + background-color: #ecf0f1; + color: #2d3436; +} + +#mpd { + background-color: #66cc99; + color: #2a5c45; +} + +#mpd.disconnected { + background-color: #f53c3c; +} + +#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: #000000; + 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); +} diff --git a/dot_config/hypr/executable_autostart b/dot_config/hypr/executable_autostart new file mode 100644 index 0000000..0caffe1 --- /dev/null +++ b/dot_config/hypr/executable_autostart @@ -0,0 +1,21 @@ +#!/usr/bin/bash + +# variables +config=$HOME/.config/hypr +scripts=$config/scripts + +# notification daemon +dunst & + +# waybar +$scripts/launch_waybar & +$scripts/tools/dynamic & + +# wallpaper +$scripts/wall $config/wallpapers/cloud.png & + +# effects +$scripts/rgb & + +# other +dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & diff --git a/dot_config/hypr/executable_hyprland.conf b/dot_config/hypr/executable_hyprland.conf new file mode 100644 index 0000000..40d43f6 --- /dev/null +++ b/dot_config/hypr/executable_hyprland.conf @@ -0,0 +1,151 @@ +monitor=,preferred,auto,1 + +exec-once=$HOME/.config/hypr/autostart +exec-once=copyq --start-server + +input { + kb_layout= + kb_variant=ffffff + kb_model= + kb_options= + kb_rules= + + follow_mouse=1 + + touchpad { + natural_scroll=no + } +} + +misc{ + +} + +general { + sensitivity=1.0 # for mouse cursor + gaps_in=8 + gaps_out=15 + border_size=5 + col.active_border=0xfff5c2e7 + col.inactive_border=0xff45475a + apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse) + col.inactive_border=0xff89dceb + col.active_border=0xfff9e2af +} + +decoration { + drop_shadow = true + shadow_range=100 + shadow_render_power=5 + col.shadow= 0x33000000 + col.shadow_inactive=0x22000000 + rounding=15 + blur { + enabled=false + new_optimizations=true + size=1 # minimum 1 + passes=1 # minimum 1, more passes = more resource intensive. + # Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts. + # if you want heavy blur, you need to up the blur_passes. + # the more passes, the more you can up the blur_size without noticing artifacts. + } +} + +animations { + enabled=1 + # bezier=overshot,0.05,0.9,0.1,1.1 + bezier=overshot,0.13,0.99,0.29,1.1 + animation=windows,1,4,overshot,slide + animation=border,1,10,default + animation=fade,1,10,default + animation=workspaces,1,6,overshot,slidevert +} + +dwindle { + pseudotile=1 # enable pseudotiling on dwindle + force_split=0 +} + +master{ + +} + +gestures { + workspace_swipe=yes + workspace_swipe_fingers=4 +} + +# example window rules +# for windows named/classed as abc and xyz +#windowrule=move 69 420,abc +windowrule=move center,title:^(fly_is_kitty)$ +windowrule=size 800 500,title:^(fly_is_kitty)$ +windowrule=animation slide,title:^(all_is_kitty)$ +windowrule=float,title:^(all_is_kitty)$ +#windowrule=tile,xy +windowrule=tile,title:^(kitty)$ +windowrule=float,title:^(fly_is_kitty)$ +windowrule=float,title:^(clock_is_kitty)$ +windowrule=size 418 234,title:^(clock_is_kitty)$ +#windowrule=pseudo,abc +#windowrule=monitor 0,xyz + +# example binds +bindm=SUPER,mouse:272,movewindow +bindm=SUPER,mouse:273,resizewindow + +bind=SUPER,RETURN,exec,wezterm +bind=,Print,exec,~/.config/hypr/scripts/screenshot +bind=SUPER,W,killactive, +bind=SUPER,M,exit, +bind=SUPER,E,exec,nautilus +bind=SUPER,S,togglefloating, +bind=SUPER,R,exec,wofi --show drun -o DP-3 +bind=SUPER,P,pseudo, + +bind=SUPER,Q,exec,~/.config/hypr/scripts/lock + +bind=SUPER,left,movefocus,l +bind=SUPER,right,movefocus,r +bind=SUPER,up,movefocus,u +bind=SUPER,down,movefocus,d + +# bind=CTRL,1,workspace,1 +# bind=CTRL,2,workspace,2 +# bind=CTRL,3,workspace,3 +# bind=CTRL,4,workspace,4 +# bind=CTRL,5,workspace,5 +# bind=CTRL,6,workspace,6 +bind=SUPER,1,workspace,1 +bind=SUPER,2,workspace,2 +bind=SUPER,3,workspace,3 +bind=SUPER,4,workspace,4 +bind=SUPER,5,workspace,5 +bind=SUPER,6,workspace,6 +bind=SUPER,7,workspace,7 +bind=SUPER,8,workspace,8 +bind=SUPER,9,workspace,9 +bind=SUPER,0,workspace,10 + +bind=ALT,1,movetoworkspace,1 +bind=ALT,2,movetoworkspace,2 +bind=ALT,3,movetoworkspace,3 +bind=ALT,4,movetoworkspace,4 +bind=ALT,5,movetoworkspace,5 +bind=ALT,6,movetoworkspace,6 +bind=ALT,7,movetoworkspace,7 +bind=ALT,8,movetoworkspace,8 +bind=ALT,9,movetoworkspace,9 +bind=ALT,0,movetoworkspace,10 + +bind=SUPER,mouse_down,workspace,e+1 +bind=SUPER,mouse_up,workspace,e-1 + +bind=SUPER,g,togglegroup +bind=SUPER,tab,changegroupactive + +# rec +bind=CTRL,1,exec,kitty --title fly_is_kitty --hold cava +bind=CTRL,2,exec,code-insiders +bind=CTRL,3,exec,kitty --single-instance --hold donut.c +bind=CTRL,4,exec,kitty --title clock_is_kitty --hold tty-clock -C5 diff --git a/dot_config/hypr/scripts/executable_expand_toolbar b/dot_config/hypr/scripts/executable_expand_toolbar new file mode 100644 index 0000000..d248300 --- /dev/null +++ b/dot_config/hypr/scripts/executable_expand_toolbar @@ -0,0 +1,11 @@ +#!/bin/bash + +LOCK=/tmp/expand_toolbar.lock + +if [ -f "$LOCK" ]; then + echo expand + rm -f "$LOCK" +else + echo collapse + touch "$LOCK" +fi diff --git a/dot_config/hypr/scripts/executable_launch_waybar b/dot_config/hypr/scripts/executable_launch_waybar new file mode 100644 index 0000000..9f5df48 --- /dev/null +++ b/dot_config/hypr/scripts/executable_launch_waybar @@ -0,0 +1,2 @@ +#!/usr/bin/bash +waybar -c $HOME/.config/hypr/component/waybar/config -s $HOME/.config/hypr/component/waybar/style.css & \ No newline at end of file diff --git a/dot_config/hypr/scripts/executable_lock b/dot_config/hypr/scripts/executable_lock new file mode 100644 index 0000000..3ea725f --- /dev/null +++ b/dot_config/hypr/scripts/executable_lock @@ -0,0 +1,22 @@ +#!/usr/bin/bash +swaylockd \ +--screenshots \ +--indicator \ +--clock \ +--inside-wrong-color f38ba8 \ +--ring-wrong-color 11111b \ +--inside-clear-color a6e3a1 \ +--ring-clear-color 11111b \ +--inside-ver-color 89b4fa \ +--ring-ver-color 11111b \ +--text-color f5c2e7 \ +--indicator-radius 80 \ +--indicator-thickness 5 \ +--effect-blur 10x7 \ +--effect-vignette 0.2:0.2 \ +--ring-color 11111b \ +--key-hl-color f5c2e7 \ +--line-color 313244 \ +--inside-color 0011111b \ +--separator-color 00000000 \ +--fade-in 0.1 & \ No newline at end of file diff --git a/dot_config/hypr/scripts/executable_rgb b/dot_config/hypr/scripts/executable_rgb new file mode 100644 index 0000000..6f8dbee Binary files /dev/null and b/dot_config/hypr/scripts/executable_rgb differ diff --git a/dot_config/hypr/scripts/executable_rgb_borders b/dot_config/hypr/scripts/executable_rgb_borders new file mode 100644 index 0000000..e555a18 --- /dev/null +++ b/dot_config/hypr/scripts/executable_rgb_borders @@ -0,0 +1,37 @@ +#!/usr/bin/python + +import subprocess +import time +from colour import Color + +gradient = [ + "#ff0000", + "#00ff00", + "#0000ff", +] + +def color_range(*args): + l = [] + for i,color in enumerate(args): + if i == len(args)-1: + break + l.extend(color.range_to(args[i+1], 25)) + return l + +def rgb_to_hex(r,g,b): + return '%02x%02x%02x' % (r,g,b) + +def set_color(r,g,b): + print(rgb_to_hex(r,g,b)) + subprocess.run(f"hyprctl keyword dwindle:col.group_border_active 0xff{rgb_to_hex(r,g,b)}".split()) + subprocess.run(f"hyprctl keyword dwindle:col.group_border 0x66{rgb_to_hex(r,g,b)}".split()) + +colors = color_range(*[Color(i) for i in gradient]) + +while 1: + for col in colors: + set_color(int(col.red*255), int(col.green*255), int(col.blue*255)) + time.sleep(0.05) + for col in colors[::-1]: + set_color(int(col.red*255), int(col.green*255), int(col.blue*255)) + time.sleep(0.05) \ No newline at end of file diff --git a/dot_config/hypr/scripts/executable_screenshot b/dot_config/hypr/scripts/executable_screenshot new file mode 100644 index 0000000..94b4d4f --- /dev/null +++ b/dot_config/hypr/scripts/executable_screenshot @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +grim -g "$(slurp)" - | wl-copy diff --git a/dot_config/hypr/scripts/executable_toolbar_state b/dot_config/hypr/scripts/executable_toolbar_state new file mode 100644 index 0000000..d1895a3 --- /dev/null +++ b/dot_config/hypr/scripts/executable_toolbar_state @@ -0,0 +1,9 @@ +#!/bin/bash + +LOCK=/tmp/expand_toolbar.lock + +if [ -f "$LOCK" ]; then + exit 0 +else + exit 1 +fi diff --git a/dot_config/hypr/scripts/executable_wall b/dot_config/hypr/scripts/executable_wall new file mode 100644 index 0000000..f2779e7 --- /dev/null +++ b/dot_config/hypr/scripts/executable_wall @@ -0,0 +1,4 @@ +#!/usr/bin/bash +swww init +swww img $1 --transition-type grow --transition-pos "$(hyprctl cursorpos)" --transition-duration 3 + diff --git a/dot_config/hypr/scripts/executable_workspaces b/dot_config/hypr/scripts/executable_workspaces new file mode 100644 index 0000000..a6e3d4b --- /dev/null +++ b/dot_config/hypr/scripts/executable_workspaces @@ -0,0 +1,34 @@ +#!/usr/bin/python +import subprocess +import time + +def current_workspace(): + active = subprocess.run("hyprctl activewindow".split(), stdout=subprocess.PIPE).stdout.decode("utf-8").strip() + return int(active.split(":")[4].split()[0].strip()) + + +def gen_map(e): + current = current_workspace() + print(f"{current=}") + if e < current: + return [i for i in range(e+1, current, -1)] + elif e > current: + return [i for i in range(current,e+1)] + else: + return [current] + +def go_to(e): + print(f"change to {e}") + _map = gen_map(e) + print(f"{_map=}") + t = 0.03*len(_map) + for i in _map: + subprocess.run(f"hyprctl dispatch workspace {i}".split()) + time.sleep(t) + if t != 0.01: + t -= 0.03 + else: + t -= 0.02 + + +go_to(10) diff --git a/dot_config/hypr/scripts/tools/executable_dynamic b/dot_config/hypr/scripts/tools/executable_dynamic new file mode 100644 index 0000000..0fd8f80 --- /dev/null +++ b/dot_config/hypr/scripts/tools/executable_dynamic @@ -0,0 +1,83 @@ +#!/usr/bin/python + +import subprocess +from pathlib import Path +import json +import pickle +import time +import threading + +OUT = f"{Path.home()}/.config/hypr/store/dynamic_out.txt" +# PREV_PATH = f"{Path.home()}/.config/hypr/store/prev.txt" +prev = None + +def print(ar): + with open(OUT,"w") as f: + f.write(json.dumps(ar)) + +# with open(f"{Path.home()}/.config/hypr/im_here","w") as f: +# f.write("") + +global PAUSE_MEDIA +PAUSE_MEDIA = False + +def notif_watcher(): + with open(f"{Path.home()}/.config/hypr/store/latest_notif","rb") as f: + new = pickle.load(f) + global prev + if new != prev: + print(json.dumps({"class":"none","text":""})) + global PAUSE_MEDIA + PAUSE_MEDIA = True + urgency = "low" + if new["urgency"] == "CRITICAL": + urgency = "critical" + elif new["urgency"] == "NORMAL": + urgency = "normal" + doc = { + "class":urgency, + "text":f'[{new["app_name"]}] {new["summary"]}', + "tooltip":"notification" + } + print(doc) + time.sleep(3) + print({"class":"none","text":""}) + PAUSE_MEDIA = False + prev = new + + +def start_watcher(): + while 1: + notif_watcher() + time.sleep(0.5) + + +def debug(): + while 1: + print(PAUSE_MEDIA) + time.sleep(0.5) +t = threading.Thread(target=start_watcher) +d = threading.Thread(target=debug) +t.start() +# d.start() + + + +with open("test.log", "wb") as f: + process = subprocess.Popen( + "waybar-mpris --position --autofocus".split(), + stdout=subprocess.PIPE + ) + print(json.dumps({"class":"none","text":""})) + for line in iter(lambda: process.stdout.readline().decode("utf-8"), b""): + dat = json.loads(line) + if not PAUSE_MEDIA: + if "text" in dat: + dat["text"] = dat["text"].replace(" ", "").replace("", "") + print(dat) + else: + print({"class":"none","text":""}) + +t.join() +# d.join() + \ No newline at end of file diff --git a/dot_config/hypr/scripts/tools/executable_expand b/dot_config/hypr/scripts/tools/executable_expand new file mode 100644 index 0000000..79e3319 --- /dev/null +++ b/dot_config/hypr/scripts/tools/executable_expand @@ -0,0 +1,50 @@ +#!/usr/bin/bash +TEMP=/tmp/current_wall + +files=(~/.config/hypr/wallpapers/*) + +hypr=~/.config/hypr +scripts=$hypr/scripts + +cooldown=0.1 + + +while true +do + case "$1" in + "cycle") + index=$(cat $TEMP) + index=$((index+1)) + if [ $index -ge ${#files[@]} ]; then + index=0 + fi + echo $index > $TEMP + $scripts/wall "${files[$index]}" + exit 0 + ;; + "arrow-icon") + if $scripts/toolbar_state; then + echo "" + else + echo "" + fi + ;; + "ss-icon") + if $scripts/toolbar_state; then + echo "" + else + echo "" + fi + ;; + # "media") + + *) + if $scripts/toolbar_state; then + echo " " + else + echo "" + fi + ;; + esac + sleep $cooldown +done \ No newline at end of file diff --git a/dot_config/hypr/scripts/tools/executable_notif b/dot_config/hypr/scripts/tools/executable_notif new file mode 100644 index 0000000..352bd42 --- /dev/null +++ b/dot_config/hypr/scripts/tools/executable_notif @@ -0,0 +1,22 @@ +#!/usr/bin/python +import pickle +import os +from pathlib import Path +dat = { + "app_name":os.getenv("DUNST_APP_NAME"), + "summary":os.getenv("DUNST_SUMMARY"), + "body":os.getenv("DUNST_BODY"), + "icon":os.getenv("DUNST_ICON_path"), + "urgency":os.getenv("DUNST_URGENCY"), + "id":os.getenv("DUNST_ID"), + "progress":os.getenv("DUNST_PROGRESS"), + "category":os.getenv("DUNST_CATEGORY"), + "stack_tag":os.getenv("DUNST_STACK_TAG"), + "urls":os.getenv("DUNST_URLS"), + "timeout":os.getenv("DUNST_TIMEOUT"), + "timestamp":os.getenv("DUNST_TIMESTAMP"), + "desktop-entry":os.getenv("DUNST_DESKTOP_ENTRY"), + "stack-tag":os.getenv("DUNST_STACK_TAG"), +} +with open(f"{Path.home()}/.config/hypr/store/latest_notif", "wb") as f: + pickle.dump(dat, f) diff --git a/dot_config/hypr/scripts/tools/executable_start_dyn b/dot_config/hypr/scripts/tools/executable_start_dyn new file mode 100644 index 0000000..d650bd7 --- /dev/null +++ b/dot_config/hypr/scripts/tools/executable_start_dyn @@ -0,0 +1,10 @@ +#!/usr/bin/bash + +while true +do + # echo "" + out=$(cat ~/.config/hypr/store/dynamic_out.txt) + echo "$out" | jq --unbuffered --compact-output + # cat ~/.config/hypr/scripts/tools/dynamic_out.txt + sleep 0.5 +done \ No newline at end of file diff --git a/dot_config/hypr/store/dynamic_out.txt b/dot_config/hypr/store/dynamic_out.txt new file mode 100644 index 0000000..ec87896 --- /dev/null +++ b/dot_config/hypr/store/dynamic_out.txt @@ -0,0 +1 @@ +{"class": "none", "text": ""} \ No newline at end of file diff --git a/dot_config/hypr/store/empty_latest_notif b/dot_config/hypr/store/empty_latest_notif new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/hypr/store/empty_prev.txt b/dot_config/hypr/store/empty_prev.txt new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/hypr/wallpapers/cloud.png b/dot_config/hypr/wallpapers/cloud.png new file mode 100644 index 0000000..215bda9 Binary files /dev/null and b/dot_config/hypr/wallpapers/cloud.png differ diff --git a/dot_config/hypr/wallpapers/clouds_realism.jpg b/dot_config/hypr/wallpapers/clouds_realism.jpg new file mode 100644 index 0000000..dd7a42a Binary files /dev/null and b/dot_config/hypr/wallpapers/clouds_realism.jpg differ diff --git a/dot_config/hypr/wallpapers/evening-sky.png b/dot_config/hypr/wallpapers/evening-sky.png new file mode 100644 index 0000000..5386ac1 Binary files /dev/null and b/dot_config/hypr/wallpapers/evening-sky.png differ diff --git a/dot_config/hypr/wallpapers/flower.jpg b/dot_config/hypr/wallpapers/flower.jpg new file mode 100644 index 0000000..efe702a Binary files /dev/null and b/dot_config/hypr/wallpapers/flower.jpg differ diff --git a/dot_config/hypr/wallpapers/mountain.png b/dot_config/hypr/wallpapers/mountain.png new file mode 100644 index 0000000..2b30b5f Binary files /dev/null and b/dot_config/hypr/wallpapers/mountain.png differ diff --git a/dot_config/hypr/wallpapers/totoro.png b/dot_config/hypr/wallpapers/totoro.png new file mode 100644 index 0000000..e8a4971 Binary files /dev/null and b/dot_config/hypr/wallpapers/totoro.png differ diff --git a/dot_config/hypr/wallpapers/train.jpg b/dot_config/hypr/wallpapers/train.jpg new file mode 100644 index 0000000..d9452c6 Binary files /dev/null and b/dot_config/hypr/wallpapers/train.jpg differ diff --git a/dot_config/packages/archgirlie b/dot_config/packages/archgirlie index 185d947..1e261b1 100644 --- a/dot_config/packages/archgirlie +++ b/dot_config/packages/archgirlie @@ -1,3 +1,4 @@ + -> Avoid running yay as root/sudo. aic94xx-firmware alsa-utils arandr @@ -22,6 +23,7 @@ catppuccin-gtk-theme-macchiato catppuccin-latte-grub-theme-git catppuccin-macchiato-grub-theme-git catppuccin-mocha-grub-theme-git +cava chaotic-keyring chaotic-mirrorlist cheat-bin @@ -58,13 +60,14 @@ glow goland goland-jre gparted +grim grub gum gvfs-smb hunspell-en_us hyfetch hyphen-en -hyprland +hyprland-git imagemagick inotify-tools iptables-nft @@ -157,6 +160,7 @@ sddm-catppuccin-git sddm-theme-catppuccin-git sdl2-gamepad-mapper shfmt +slurp smbclient starship steam @@ -179,8 +183,11 @@ ttf-firacode-nerd ttf-liberation ttf-nerd-fonts-symbols ttfautohint +tty-clock-git +tty-clock-git-debug udisks2 ufw +ungoogled-chromium-bin unrar unzip upd72020x-fw @@ -189,6 +196,8 @@ vesktop vkd3d volta vulkan-tools +waybar +waybar-mpris-git wd719x-firmware wezterm wget @@ -200,7 +209,7 @@ wofi xclip xdg-desktop-portal xdg-desktop-portal-gtk -xdg-desktop-portal-hyprland +xdg-desktop-portal-hyprland-git xf86-video-nouveau xfce4-settings xorg-server diff --git a/dot_config/wofi/config b/dot_config/wofi/config new file mode 100644 index 0000000..07575ea --- /dev/null +++ b/dot_config/wofi/config @@ -0,0 +1,15 @@ +width=400 +height=250 +location=center +show=drun +prompt=Search... +filter_rate=100 +allow_markup=true +no_actions=true +halign=fill +orientation=vertical +content_halign=fill +insensitive=true +allow_images=true +image_size=40 +gtk_dark=true diff --git a/dot_config/wofi/menu b/dot_config/wofi/menu new file mode 100644 index 0000000..a0cf646 --- /dev/null +++ b/dot_config/wofi/menu @@ -0,0 +1,16 @@ +# Config for wofi-wifi-menu + +# position values: +# 1 2 3 +# 8 0 4 +# 7 6 5 +POSITION=3 + +#y-offset +YOFF=15 + +#x-offset +XOFF=-30 + +#fields to be displayed +FIELDS=SSID,IN-USE,BARS,SECURITY diff --git a/dot_config/wofi/menu.css b/dot_config/wofi/menu.css new file mode 100644 index 0000000..aae4053 --- /dev/null +++ b/dot_config/wofi/menu.css @@ -0,0 +1,5 @@ +@import ".config/wofi/style.css"; +window { + font-family: "FiraCode Nerd Font Mono"; + font-size: 13px; +} diff --git a/dot_config/wofi/style.css b/dot_config/wofi/style.css new file mode 100644 index 0000000..18df29d --- /dev/null +++ b/dot_config/wofi/style.css @@ -0,0 +1,70 @@ +window { + margin: 0px; + border: 5px solid #f5c2e7; + background-color: #f5c2e7; + border-radius: 15px; +} + +#input { + padding: 4px; + margin: 4px; + padding-left: 20px; + border: none; + color: #fff; + font-weight: bold; + background-color: #fff; + background: linear-gradient(90deg, rgba(203,166,247,1) 0%, rgba(245,194,231,1) 100%); + outline: none; + border-radius: 15px; + margin: 10px; + margin-bottom: 2px; +} +#input:focus { + border: 0px solid #fff; + margin-bottom: 0px; +} + +#inner-box { + margin: 4px; + border: 10px solid #fff; + color: #cba6f7; + font-weight: bold; + background-color: #fff; + border-radius: 15px; +} + +#outer-box { + margin: 0px; + border: none; + border-radius: 15px; + background-color: #fff; +} + +#scroll { + margin-top: 5px; + border: none; + border-radius: 15px; + margin-bottom: 5px; + /* background: rgb(255,255,255); */ +} + +#text:selected { + color: #fff; + margin: 0px 0px; + border: none; + border-radius: 15px; +} + +#entry { + margin: 0px 0px; + border: none; + border-radius: 15px; + background-color: transparent; +} + +#entry:selected { + margin: 0px 0px; + border: none; + border-radius: 15px; + background: linear-gradient(45deg, rgba(203,166,247,1) 30%, rgba(245,194,231,1) 100%); +}