From a33954c59fe9d8fe889fab077b6612cc029ac3fc Mon Sep 17 00:00:00 2001 From: davidpkj Date: Wed, 24 Jul 2024 16:37:37 +0200 Subject: Mega Update: FW16 Space Rice - Add symlinks to dotfiles in config dir (links to links) - Switch from neofetch to fastfetch - Add htop - Add dynamic colors (polybar, xmonad, qutebrowser) - Update color management (pywal & friends, alacritty, xorg) - Minor updates to other files (quality of life) --- alacritty/.config/alacritty/alacritty.toml | 1 + alacritty/.config/alacritty/catppuccin-mocha.toml | 36 +- bash/.bashrc | 5 + dunst/.config/dunst/dunstrc | 439 +---------- fastfetch/.config/fastfetch/config.jsonc | 92 +++ fcitx5/.config/fcitx5/config | 4 +- flameshot/.config/flameshot/flameshot.ini | 1 + htop/.config/htop/htoprc | 63 ++ lf/.config/lf/scope | 2 +- ncmpcpp/.config/ncmpcpp/config | 6 +- neofetch/.config/neofetch/config.conf | 866 --------------------- neovim/.config/nvim/lua/settings.lua | 2 +- polybar/.config/polybar/config.ini | 16 +- pywal/.config/wal/colorschemes/dark/100i.json | 29 + .../wal/colorschemes/dark/minimal-keqing.json | 29 + pywal/.config/wal/templates/Colors.hs | 36 + pywal/.config/wal/templates/colors-polybar | 9 + pywal/.config/wal/templates/colors.css | 30 + qutebrowser/.config/qutebrowser/config.py | 21 +- qutebrowser/.config/qutebrowser/home.html | 4 +- screenshot.jpg | Bin 1530667 -> 1032051 bytes scripts/.local/bin/personal/hdqwallsdownload | 34 - scripts/.local/bin/personal/hdqwd | 40 + scripts/.local/bin/personal/rica | 13 +- scripts/.local/bin/personal/syshealth | 21 +- scripts/.local/bin/personal/wally | 8 +- xmonad/.config/xmonad/lib/Colors.hs | 1 + xmonad/.config/xmonad/xmonad.hs | 20 +- xorg/.Xresources | 6 +- xorg/.config/env | 7 +- xorg/.config/mimeapps.list | 10 +- xorg/.config/wallpaper | Bin 547 -> 1297195 bytes xorg/.xinitrc | 7 +- zathura/.config/zathura/zathurarc | 1 + 34 files changed, 445 insertions(+), 1414 deletions(-) mode change 100644 => 120000 dunst/.config/dunst/dunstrc create mode 100644 fastfetch/.config/fastfetch/config.jsonc create mode 120000 flameshot/.config/flameshot/flameshot.ini create mode 100644 htop/.config/htop/htoprc delete mode 100644 neofetch/.config/neofetch/config.conf create mode 100644 pywal/.config/wal/colorschemes/dark/100i.json create mode 100644 pywal/.config/wal/colorschemes/dark/minimal-keqing.json create mode 100644 pywal/.config/wal/templates/Colors.hs create mode 100644 pywal/.config/wal/templates/colors-polybar create mode 100644 pywal/.config/wal/templates/colors.css delete mode 100755 scripts/.local/bin/personal/hdqwallsdownload create mode 100755 scripts/.local/bin/personal/hdqwd create mode 120000 xmonad/.config/xmonad/lib/Colors.hs create mode 120000 zathura/.config/zathura/zathurarc diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml index 43d3407..ba8a42c 100644 --- a/alacritty/.config/alacritty/alacritty.toml +++ b/alacritty/.config/alacritty/alacritty.toml @@ -1,5 +1,6 @@ import = [ "~/.config/alacritty/catppuccin-mocha.toml" + # "~/.cache/wal/colors-alacritty.toml" ] [window] diff --git a/alacritty/.config/alacritty/catppuccin-mocha.toml b/alacritty/.config/alacritty/catppuccin-mocha.toml index 67bf1d8..d139cf2 100644 --- a/alacritty/.config/alacritty/catppuccin-mocha.toml +++ b/alacritty/.config/alacritty/catppuccin-mocha.toml @@ -38,32 +38,32 @@ background = "#f5e0dc" [colors.normal] black = "#45475a" -red = "#f38ba8" -green = "#a6e3a1" -yellow = "#f9e2af" -blue = "#89b4fa" -magenta = "#f5c2e7" -cyan = "#94e2d5" +red = "#D56A85" +green = "#7BCA77" +yellow = "#DDBE89" +blue = "#6D83D0" +magenta = "#D18ACD" +cyan = "#76B9A9" white = "#bac2de" [colors.bright] black = "#585b70" -red = "#f38ba8" -green = "#a6e3a1" -yellow = "#f9e2af" -blue = "#89b4fa" -magenta = "#f5c2e7" -cyan = "#94e2d5" +red = "#F38BA8" +green = "#A6E3A1" +yellow = "#F9E2AF" +blue = "#89B4FA" +magenta = "#F5C2E7" +cyan = "#94E2D5" white = "#a6adc8" [colors.dim] black = "#45475a" -red = "#f38ba8" -green = "#a6e3a1" -yellow = "#f9e2af" -blue = "#89b4fa" -magenta = "#f5c2e7" -cyan = "#94e2d5" +red = "#F38BA8" +green = "#A6E3A1" +yellow = "#F9E2AF" +blue = "#89B4FA" +magenta = "#F5C2E7" +cyan = "#94E2D5" white = "#bac2de" [[colors.indexed_colors]] diff --git a/bash/.bashrc b/bash/.bashrc index da48529..eef00e3 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -48,6 +48,11 @@ alias yp="pwd | clip" alias ytdl="yt-dlp" alias zeit="tty-clock -C 1 -f %d.%m.%Y -sc" alias kwbx="killall CiscoCollabHost" +alias showoff="fastfetch" +alias wisdom="fortune -os | cowsay -f tux" + +# Automatically remove these directories, if some pesky program created them again. +rmdir $HOME/Desktop $HOME/Documents $HOME/Downloads $HOME/Images $HOME/Music $HOME/Templates $HOME/Video 2> /dev/null export PS1='[\001\e[0;36m\002\j\001\e[0m\002] [ \001\e[0;34m\002\u\001\e[0m\002@\001\e[0;34m\002\h\001\e[0m\002 ] \001\e[0;35m\002\W\001\e[0m\002 \$ ' diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc deleted file mode 100644 index 9f69dd1..0000000 --- a/dunst/.config/dunst/dunstrc +++ /dev/null @@ -1,438 +0,0 @@ -# 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 = (250, 350) - - # The maximum height of a single notification, excluding the frame. - height = 45 - - # Position the notification in the top right corner - origin = bottom-center - - # Offset from the origin - offset = 0x40 - - # 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 = 2 - - # Set the frame width of the progress bar - progress_bar_frame_width = 0 - - # Set the minimum width for the progress bar - progress_bar_min_width = 0 - - # Set the maximum width for the progress bar - progress_bar_max_width = 350 - - highlight = "#6D84D0" - - # 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. - separator_height = 0 - - # 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 = 2 - - # Defines color of the frame around the notification window. - frame_color = "#1E1E2E" - # "#4396c0" - - # 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 = JetBrains Mono 8 - - # 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 = center - - # Vertical alignment of message text and icon. - # Possible values are "top", "center" and "bottom". - vertical_alignment = top - - # Show age of message if message is older than show_age_threshold - # seconds. - # Set to -1 to disable. - show_age_threshold = -1 - - # 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 = true - - # Display indicators for URLs (U) and actions (A). - show_indicators = yes - - ### Icons ### - - # Align icons left/right/off - icon_position = off - - # 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 = 0 - - # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 32 - - # Paths to default icons. - icon_path = /usr/share/icons/Papirus-Dark/16x16/devices/ - - ### 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 = 0 - - # 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 = top - - # 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 = do_action, close_current - mouse_right_click = close_all - -# 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 = "#1E1E2E" - foreground = "#CDD6F4" - timeout = 1 - # Icon for notifications with low urgency, uncomment to enable - #default_icon = /path/to/icon - -[urgency_normal] - background = "#1E1E2E" - foreground = "#CDD6F4" - timeout = 3 - # Icon for notifications with normal urgency, uncomment to enable - #default_icon = /path/to/icon - -[urgency_critical] - background = "#1E1E2E" - foreground = "#F38BA8" - frame_color = "#F38BA8" - timeout = 0 - # 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 -# skip_display -# history_ignore -# action_name -# word_wrap -# ellipsize -# alignment -# -# 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" -# -# vim: ft=cfg diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc new file mode 120000 index 0000000..d3e024b --- /dev/null +++ b/dunst/.config/dunst/dunstrc @@ -0,0 +1 @@ +/home/me/.cache/wal/dunstrc \ No newline at end of file diff --git a/fastfetch/.config/fastfetch/config.jsonc b/fastfetch/.config/fastfetch/config.jsonc new file mode 100644 index 0000000..18d3324 --- /dev/null +++ b/fastfetch/.config/fastfetch/config.jsonc @@ -0,0 +1,92 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "display": { + "keyWidth": 11, + "percent": { + "type": false, + }, + "binaryPrefix": "si", + "color": { + "keys" : "light_blue", + "output" : "white", + }, + "separator": "" + }, + // "logo": null, + "logo": { + "type": "builtin", + "source": "arch", + "color": { + "1": "light_blue", + "2": "blue", + }, + "padding": { + "top": 1, + "left": 1 + } + }, + "modules": [ + { + "type": "custom", + "format": "{#0;34}───────── {#1;34}System Information{#}" + }, + "os", + "kernel", + "packages", + "locale", + + "break", + { + "type": "custom", + "format": "{#0;34}───────── {#1;34}Hardware Information{#}" + }, + "cpu", + { + "type": "gpu", + "hideType": "integrated" + }, + { + "type": "display", + "key": "Display", + "compactType": "original-with-refresh-rate" + }, + { + "type": "disk", + "key": "Disk (/)", + "folders": "/", + "format": "{2} [{9}]", + }, + { + "type": "disk", + "folders": "/home/me/entertainment", + "key": "Disk" + }, + { + "type": "memory", + "format": "{2}" + }, + { + "type": "swap", + "format": "{2}" + }, + + "break", + { + "type": "custom", + "format": "{#0;34}───────── {#1;34}Software Information{#}" + }, + "wm", + "wmtheme", + "theme", + "icons", + "terminal", + + // "break", + // { + // "type": "colors", + // "symbol": "circle" + // }, + + "break", + ] +} diff --git a/fcitx5/.config/fcitx5/config b/fcitx5/.config/fcitx5/config index 5584002..bd0b039 100644 --- a/fcitx5/.config/fcitx5/config +++ b/fcitx5/.config/fcitx5/config @@ -23,10 +23,10 @@ ActivateKeys= 0=Hangul_Romaja [Hotkey/PrevPage] -0=Up +0=K [Hotkey/NextPage] -0=Down +0=J [Hotkey/PrevCandidate] 0=Shift+Tab diff --git a/flameshot/.config/flameshot/flameshot.ini b/flameshot/.config/flameshot/flameshot.ini new file mode 120000 index 0000000..736f59f --- /dev/null +++ b/flameshot/.config/flameshot/flameshot.ini @@ -0,0 +1 @@ +/home/me/.cache/wal/flameshot.ini \ No newline at end of file diff --git a/htop/.config/htop/htoprc b/htop/.config/htop/htoprc new file mode 100644 index 0000000..c276180 --- /dev/null +++ b/htop/.config/htop/htoprc @@ -0,0 +1,63 @@ +# Beware! This file is rewritten by htop when settings are changed in the interface. +# The parser is also very primitive, and not human-friendly. +htop_version=3.3.0 +config_reader_min_version=3 +fields=0 48 17 18 38 39 40 2 46 47 49 1 +hide_kernel_threads=1 +hide_userland_threads=1 +hide_running_in_container=0 +shadow_other_users=0 +show_thread_names=0 +show_program_path=0 +highlight_base_name=1 +highlight_deleted_exe=1 +shadow_distribution_path_prefix=0 +highlight_megabytes=0 +highlight_threads=1 +highlight_changes=0 +highlight_changes_delay_secs=5 +find_comm_in_cmdline=1 +strip_exe_from_cmdline=1 +show_merged_command=1 +header_margin=1 +screen_tabs=1 +detailed_cpu_time=0 +cpu_count_from_one=0 +show_cpu_usage=1 +show_cpu_frequency=0 +show_cpu_temperature=1 +degree_fahrenheit=0 +update_process_names=0 +account_guest_in_cpu_meter=0 +color_scheme=0 +enable_mouse=1 +delay=15 +hide_function_bar=1 +header_layout=two_50_50 +column_meters_0=LeftCPUs2 Blank Memory Swap DiskIO NetworkIO +column_meter_modes_0=1 2 1 1 1 1 +column_meters_1=RightCPUs2 Blank Systemd Tasks LoadAverage Uptime +column_meter_modes_1=1 2 2 2 2 2 +tree_view=1 +sort_key=46 +tree_sort_key=0 +sort_direction=-1 +tree_sort_direction=1 +tree_view_always_by_pid=0 +all_branches_collapsed=0 +screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command +.sort_key=PERCENT_CPU +.tree_sort_key=PID +.tree_view_always_by_pid=0 +.tree_view=1 +.sort_direction=-1 +.tree_sort_direction=1 +.all_branches_collapsed=0 +screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command +.sort_key=IO_RATE +.tree_sort_key=PID +.tree_view_always_by_pid=0 +.tree_view=0 +.sort_direction=-1 +.tree_sort_direction=1 +.all_branches_collapsed=0 diff --git a/lf/.config/lf/scope b/lf/.config/lf/scope index c90f618..3498c39 100755 --- a/lf/.config/lf/scope +++ b/lf/.config/lf/scope @@ -25,7 +25,7 @@ case "$(file --dereference --brief --mime-type -- "$1")" in image/*) image "$1" "$2" "$3" "$4" "$5" ;; text/html) lynx -width="$4" -display_charset=utf-8 -dump "$1" ;; text/troff) man ./ "$1" | col -b ;; - text/* | */xml | application/json) bat -p --theme base16 --terminal-width "$4" -f "$1" ;; + text/* | */xml | application/json | application/javascript) bat -p --theme base16 --terminal-width "$4" -f "$1" ;; application/zip) atool --list -- "$1" ;; audio/* | application/octet-stream) mediainfo "$1" || exit 1;; video/* ) diff --git a/ncmpcpp/.config/ncmpcpp/config b/ncmpcpp/.config/ncmpcpp/config index 7b2457b..93468cb 100644 --- a/ncmpcpp/.config/ncmpcpp/config +++ b/ncmpcpp/.config/ncmpcpp/config @@ -121,15 +121,15 @@ visualizer_look = "◆▋" ## and visualizer_in_stereo set, artifacts may be visible on the bottom half of ## the visualization. # -#visualizer_spectrum_smooth_look = yes +visualizer_spectrum_smooth_look = yes # ## A value between 1 and 5 inclusive. Specifying a larger value makes the ## visualizer look at a larger slice of time, which results in less jumpy ## visualizer output. # -#visualizer_spectrum_dft_size = 2 +visualizer_spectrum_dft_size = 1 # -#visualizer_spectrum_gain = 10 +visualizer_spectrum_gain = 10 # ## Left-most frequency of visualizer in Hz, must be less than HZ MAX # diff --git a/neofetch/.config/neofetch/config.conf b/neofetch/.config/neofetch/config.conf deleted file mode 100644 index b49b21d..0000000 --- a/neofetch/.config/neofetch/config.conf +++ /dev/null @@ -1,866 +0,0 @@ -# See this wiki page for more info: -# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info -print_info() { - info title - info underline - - info "OS" distro - info "Kernel" kernel - info "Host" model - #info "Shell" shell - info "Packages" packages - info "Resolution" resolution - info "DE" de - info "WM" wm - info "Uptime" uptime - #info "WM Theme" wm_theme - #info "Theme" theme - #info "Icons" icons - info "Terminal" term - info "Terminal Font" term_font - info "Memory" memory - info "CPU" cpu - info "GPU" gpu - - # info "GPU Driver" gpu_driver # Linux/macOS only - # info "CPU Usage" cpu_usage - # info "Disk" disk - # info "Battery" battery - # info "Font" font - # info "Song" song - # [[ "$player" ]] && prin "Music Player" "$player" - # info "Local IP" local_ip - # info "Public IP" public_ip - # info "Users" users - # info "Locale" locale # This only works on glibc systems. - - info cols -} - -# Title - - -# Hide/Show Fully qualified domain name. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --title_fqdn -title_fqdn="off" - - -# Kernel - - -# Shorten the output of the kernel function. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --kernel_shorthand -# Supports: Everything except *BSDs (except PacBSD and PC-BSD) -# -# Example: -# on: '4.8.9-1-ARCH' -# off: 'Linux 4.8.9-1-ARCH' -kernel_shorthand="off" - - -# Distro - - -# Shorten the output of the distro function -# -# Default: 'off' -# Values: 'on', 'tiny', 'off' -# Flag: --distro_shorthand -# Supports: Everything except Windows and Haiku -distro_shorthand="off" - -# Show/Hide OS Architecture. -# Show 'x86_64', 'x86' and etc in 'Distro:' output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --os_arch -# -# Example: -# on: 'Arch Linux x86_64' -# off: 'Arch Linux' -os_arch="on" - - -# Uptime - - -# Shorten the output of the uptime function -# -# Default: 'on' -# Values: 'on', 'tiny', 'off' -# Flag: --uptime_shorthand -# -# Example: -# on: '2 days, 10 hours, 3 mins' -# tiny: '2d 10h 3m' -# off: '2 days, 10 hours, 3 minutes' -uptime_shorthand="off" - - -# Memory - - -# Show memory pecentage in output. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --memory_percent -# -# Example: -# on: '1801MiB / 7881MiB (22%)' -# off: '1801MiB / 7881MiB' -memory_percent="off" - -# Change memory output unit. -# -# Default: 'mib' -# Values: 'kib', 'mib', 'gib' -# Flag: --memory_unit -# -# Example: -# kib '1020928KiB / 7117824KiB' -# mib '1042MiB / 6951MiB' -# gib: ' 0.98GiB / 6.79GiB' -memory_unit="mib" - - -# Packages - - -# Show/Hide Package Manager names. -# -# Default: 'tiny' -# Values: 'on', 'tiny' 'off' -# Flag: --package_managers -# -# Example: -# on: '998 (pacman), 8 (flatpak), 4 (snap)' -# tiny: '908 (pacman, flatpak, snap)' -# off: '908' -package_managers="on" - - -# Shell - - -# Show the path to $SHELL -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --shell_path -# -# Example: -# on: '/bin/bash' -# off: 'bash' -shell_path="off" - -# Show $SHELL version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --shell_version -# -# Example: -# on: 'bash 4.4.5' -# off: 'bash' -shell_version="on" - - -# CPU - - -# CPU speed type -# -# Default: 'bios_limit' -# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. -# Flag: --speed_type -# Supports: Linux with 'cpufreq' -# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. -speed_type="bios_limit" - -# CPU speed shorthand -# -# Default: 'off' -# Values: 'on', 'off'. -# Flag: --speed_shorthand -# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz -# -# Example: -# on: 'i7-6500U (4) @ 3.1GHz' -# off: 'i7-6500U (4) @ 3.100GHz' -speed_shorthand="on" - -# Enable/Disable CPU brand in output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_brand -# -# Example: -# on: 'Intel i7-6500U' -# off: 'i7-6500U (4)' -cpu_brand="on" - -# CPU Speed -# Hide/Show CPU speed. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_speed -# -# Example: -# on: 'Intel i7-6500U (4) @ 3.1GHz' -# off: 'Intel i7-6500U (4)' -cpu_speed="on" - -# CPU Cores -# Display CPU cores in output -# -# Default: 'logical' -# Values: 'logical', 'physical', 'off' -# Flag: --cpu_cores -# Support: 'physical' doesn't work on BSD. -# -# Example: -# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) -# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) -# off: 'Intel i7-6500U @ 3.1GHz' -cpu_cores="logical" - -# CPU Temperature -# Hide/Show CPU temperature. -# Note the temperature is added to the regular CPU function. -# -# Default: 'off' -# Values: 'C', 'F', 'off' -# Flag: --cpu_temp -# Supports: Linux, BSD -# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable -# coretemp kernel module. This only supports newer Intel processors. -# -# Example: -# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' -# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' -# off: 'Intel i7-6500U (4) @ 3.1GHz' -cpu_temp="off" - - -# GPU - - -# Enable/Disable GPU Brand -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gpu_brand -# -# Example: -# on: 'AMD HD 7950' -# off: 'HD 7950' -gpu_brand="on" - -# Which GPU to display -# -# Default: 'all' -# Values: 'all', 'dedicated', 'integrated' -# Flag: --gpu_type -# Supports: Linux -# -# Example: -# all: -# GPU1: AMD HD 7950 -# GPU2: Intel Integrated Graphics -# -# dedicated: -# GPU1: AMD HD 7950 -# -# integrated: -# GPU1: Intel Integrated Graphics -gpu_type="all" - - -# Resolution - - -# Display refresh rate next to each monitor -# Default: 'off' -# Values: 'on', 'off' -# Flag: --refresh_rate -# Supports: Doesn't work on Windows. -# -# Example: -# on: '1920x1080 @ 60Hz' -# off: '1920x1080' -refresh_rate="on" - - -# Gtk Theme / Icons / Font - - -# Shorten output of GTK Theme / Icons / Font -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --gtk_shorthand -# -# Example: -# on: 'Numix, Adwaita' -# off: 'Numix [GTK2], Adwaita [GTK3]' -gtk_shorthand="off" - - -# Enable/Disable gtk2 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk2 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Adwaita [GTK3]' -gtk2="on" - -# Enable/Disable gtk3 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk3 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Numix [GTK2]' -gtk3="on" - - -# IP Address - - -# Website to ping for the public IP -# -# Default: 'http://ident.me' -# Values: 'url' -# Flag: --ip_host -public_ip_host="http://ident.me" - -# Public IP timeout. -# -# Default: '2' -# Values: 'int' -# Flag: --ip_timeout -public_ip_timeout=2 - - -# Desktop Environment - - -# Show Desktop Environment version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --de_version -de_version="on" - - -# Disk - - -# Which disks to display. -# The values can be any /dev/sdXX, mount point or directory. -# NOTE: By default we only show the disk info for '/'. -# -# Default: '/' -# Values: '/', '/dev/sdXX', '/path/to/drive'. -# Flag: --disk_show -# -# Example: -# disk_show=('/' '/dev/sdb1'): -# 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 823G / 893G (93%)' -# -# disk_show=('/'): -# 'Disk (/): 74G / 118G (66%)' -# -disk_show=('/') - -# Disk subtitle. -# What to append to the Disk subtitle. -# -# Default: 'mount' -# Values: 'mount', 'name', 'dir', 'none' -# Flag: --disk_subtitle -# -# Example: -# name: 'Disk (/dev/sda1): 74G / 118G (66%)' -# 'Disk (/dev/sdb2): 74G / 118G (66%)' -# -# mount: 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 74G / 118G (66%)' -# -# dir: 'Disk (/): 74G / 118G (66%)' -# 'Disk (Local Disk): 74G / 118G (66%)' -# 'Disk (Videos): 74G / 118G (66%)' -# -# none: 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -disk_subtitle="mount" - -# Disk percent. -# Show/Hide disk percent. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --disk_percent -# -# Example: -# on: 'Disk (/): 74G / 118G (66%)' -# off: 'Disk (/): 74G / 118G' -disk_percent="on" - - -# Song - - -# Manually specify a music player. -# -# Default: 'auto' -# Values: 'auto', 'player-name' -# Flag: --music_player -# -# Available values for 'player-name': -# -# amarok -# audacious -# banshee -# bluemindo -# clementine -# cmus -# deadbeef -# deepin-music -# dragon -# elisa -# exaile -# gnome-music -# gmusicbrowser -# gogglesmm -# guayadeque -# io.elementary.music -# iTunes -# juk -# lollypop -# mocp -# mopidy -# mpd -# muine -# netease-cloud-music -# olivia -# playerctl -# pogo -# pragha -# qmmp -# quodlibet -# rhythmbox -# sayonara -# smplayer -# spotify -# strawberry -# tauonmb -# tomahawk -# vlc -# xmms2d -# xnoise -# yarock -music_player="auto" - -# Format to display song information. -# -# Default: '%artist% - %album% - %title%' -# Values: '%artist%', '%album%', '%title%' -# Flag: --song_format -# -# Example: -# default: 'Song: Jet - Get Born - Sgt Major' -song_format="%artist% - %album% - %title%" - -# Print the Artist, Album and Title on separate lines -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --song_shorthand -# -# Example: -# on: 'Artist: The Fratellis' -# 'Album: Costello Music' -# 'Song: Chelsea Dagger' -# -# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' -song_shorthand="off" - -# 'mpc' arguments (specify a host, password etc). -# -# Default: '' -# Example: mpc_args=(-h HOST -P PASSWORD) -mpc_args=() - - -# Text Colors - - -# Text Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --colors -# -# Each number represents a different part of the text in -# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' -# -# Example: -# colors=(distro) - Text is colored based on Distro colors. -# colors=(4 6 1 8 8 6) - Text is colored in the order above. -colors=(distro) - - -# Text Options - - -# Toggle bold text -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bold -bold="on" - -# Enable/Disable Underline -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --underline -underline_enabled="on" - -# Underline character -# -# Default: '-' -# Values: 'string' -# Flag: --underline_char -# underline_char="—" -underline_char="=" - - -# Info Separator -# Replace the default separator with the specified string. -# -# Default: ':' -# Flag: --separator -# -# Example: -# separator="->": 'Shell-> bash' -# separator=" =": 'WM = dwm' -separator=":" - - -# Color Blocks - - -# Color block range -# The range of colors to print. -# -# Default: '0', '15' -# Values: 'num' -# Flag: --block_range -# -# Example: -# -# Display colors 0-7 in the blocks. (8 colors) -# neofetch --block_range 0 7 -# -# Display colors 0-15 in the blocks. (16 colors) -# neofetch --block_range 0 15 -block_range=(0 15) - -# Toggle color blocks -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --color_blocks -color_blocks="on" - -# Color block width in spaces -# -# Default: '3' -# Values: 'num' -# Flag: --block_width -block_width=3 - -# Color block height in lines -# -# Default: '1' -# Values: 'num' -# Flag: --block_height -block_height=1 - -# Color Alignment -# -# Default: 'auto' -# Values: 'auto', 'num' -# Flag: --col_offset -# -# Number specifies how far from the left side of the terminal (in spaces) to -# begin printing the columns, in case you want to e.g. center them under your -# text. -# Example: -# col_offset="auto" - Default behavior of neofetch -# col_offset=7 - Leave 7 spaces then print the colors -col_offset="auto" - -# Progress Bars - - -# Bar characters -# -# Default: '-', '=' -# Values: 'string', 'string' -# Flag: --bar_char -# -# Example: -# neofetch --bar_char 'elapsed' 'total' -# neofetch --bar_char '-' '=' -bar_char_elapsed="-" -bar_char_total="=" - -# Toggle Bar border -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bar_border -bar_border="on" - -# Progress bar length in spaces -# Number of chars long to make the progress bars. -# -# Default: '15' -# Values: 'num' -# Flag: --bar_length -bar_length=15 - -# Progress bar colors -# When set to distro, uses your distro's logo colors. -# -# Default: 'distro', 'distro' -# Values: 'distro', 'num' -# Flag: --bar_colors -# -# Example: -# neofetch --bar_colors 3 4 -# neofetch --bar_colors distro 5 -bar_color_elapsed="distro" -bar_color_total="distro" - - -# Info display -# Display a bar with the info. -# -# Default: 'off' -# Values: 'bar', 'infobar', 'barinfo', 'off' -# Flags: --cpu_display -# --memory_display -# --battery_display -# --disk_display -# -# Example: -# bar: '[---=======]' -# infobar: 'info [---=======]' -# barinfo: '[---=======] info' -# off: 'info' -cpu_display="off" -memory_display="off" -battery_display="off" -disk_display="off" - - -# Backend Settings - - -# Image backend. -# -# Default: 'ascii' -# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', -# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' -# Flag: --backend -image_backend="ascii" - -# Image Source -# -# Which image or ascii file to display. -# -# Default: 'auto' -# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' -# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' -# Flag: --source -# -# NOTE: 'auto' will pick the best image source for whatever image backend is used. -# In ascii mode, distro ascii art will be used and in an image mode, your -# wallpaper will be used. -#image_source="/home/me/.config/neo.png" -image_source="ascii" - - -# Ascii Options - - -# Ascii distro -# Which distro's ascii art to display. -# -# Default: 'auto' -# Values: 'auto', 'distro_name' -# Flag: --ascii_distro -# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", -# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, -# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, -# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, -# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, -# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, -# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, -# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, -# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, -# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, -# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, -# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, -# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, -# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, -# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, -# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, -# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, -# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, -# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, -# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, -# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, -# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, -# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, -# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, -# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, -# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, -# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, -# and IRIX have ascii logos -# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. -# Use '{distro name}_old' to use the old logos. -# NOTE: Ubuntu has flavor variants. -# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, -# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. -# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, -# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, -# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, -# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, -# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, -# postmarketOS, and Void have a smaller logo variant. -# Use '{distro name}_small' to use the small variants. -ascii_distro="auto" - -# Ascii Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --ascii_colors -# -# Example: -# ascii_colors=(distro) - Ascii is colored based on Distro colors. -# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. -ascii_colors=(distro) - -# Bold ascii logo -# Whether or not to bold the ascii logo. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --ascii_bold -ascii_bold="on" - - -# Image Options - - -# Image loop -# Setting this to on will make neofetch redraw the image constantly until -# Ctrl+C is pressed. This fixes display issues in some terminal emulators. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --loop -image_loop="off" - -# Thumbnail directory -# -# Default: '~/.cache/thumbnails/neofetch' -# Values: 'dir' -thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" - -# Crop mode -# -# Default: 'normal' -# Values: 'normal', 'fit', 'fill' -# Flag: --crop_mode -# -# See this wiki page to learn about the fit and fill options. -# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F -crop_mode="normal" - -# Crop offset -# Note: Only affects 'normal' crop mode. -# -# Default: 'center' -# Values: 'northwest', 'north', 'northeast', 'west', 'center' -# 'east', 'southwest', 'south', 'southeast' -# Flag: --crop_offset -crop_offset="center" - -# Image size -# The image is half the terminal width by default. -# -# Default: 'auto' -# Values: 'auto', '00px', '00%', 'none' -# Flags: --image_size -# --size -image_size="500px" - -# Gap between image and text -# -# Default: '3' -# Values: 'num', '-num' -# Flag: --gap -gap=3 - -# Image offsets -# Only works with the w3m backend. -# -# Default: '0' -# Values: 'px' -# Flags: --xoffset -# --yoffset -yoffset=0 -xoffset=0 - -# Image background color -# Only works with the w3m backend. -# -# Default: '' -# Values: 'color', 'blue' -# Flag: --bg_color -background_color= - - -# Misc Options - -# Stdout mode -# Turn off all colors and disables image backend (ASCII/Image). -# Useful for piping into another command. -# Default: 'off' -# Values: 'on', 'off' -stdout="off" diff --git a/neovim/.config/nvim/lua/settings.lua b/neovim/.config/nvim/lua/settings.lua index eca7088..4ad5135 100644 --- a/neovim/.config/nvim/lua/settings.lua +++ b/neovim/.config/nvim/lua/settings.lua @@ -44,7 +44,7 @@ o.ignorecase = true -- Invisible characters o.list = true -o.listchars = "trail:·,nbsp:×,tab:->" +o.listchars = "trail:·,nbsp:×,tab:-->" -- Clipboard works with os o.clipboard = "unnamedplus" diff --git a/polybar/.config/polybar/config.ini b/polybar/.config/polybar/config.ini index 6c5ea99..0c99cdc 100644 --- a/polybar/.config/polybar/config.ini +++ b/polybar/.config/polybar/config.ini @@ -1,12 +1,5 @@ [colors] -background = #1e1e2e -background-alt = #313244 -foreground = #ccd5f3 -primary = #6d82cf -secondary = #88b3f9 -alert = #d46a84 -disabled = #45475a -seperator = #6c7086 +include-file = /home/me/.cache/wal/colors-polybar [bar/xmonad] width = 100% @@ -21,7 +14,7 @@ foreground = ${colors.foreground} line-size = 3px border-color = #00000000 -border-bottom-size = 6px +border-bottom-size = 3px border-size = 12px padding-left = 0 @@ -30,7 +23,7 @@ padding-right = 1 module-margin = 1 separator = | -separator-foreground = ${colors.seperator} +separator-foreground = ${colors.separator} font-0 = JetBrainsMono Nerd Font:size=16:pixelsize=16;2.5 @@ -104,6 +97,7 @@ format-online = [] format-paused = [PAUSED] label-song = %title% +label-song-maxlen = 40 label-song-foreground = ${colors.primary} [module/xworkspaces] @@ -129,7 +123,7 @@ label-empty-padding = 1 [module/xwindow] type = internal/xwindow -label = %title:0:69:...% +label = %title:0:60:...% label-empty = "Enjoying the Desktop" label-empty-foreground = ${colors.foreground} diff --git a/pywal/.config/wal/colorschemes/dark/100i.json b/pywal/.config/wal/colorschemes/dark/100i.json new file mode 100644 index 0000000..20334c4 --- /dev/null +++ b/pywal/.config/wal/colorschemes/dark/100i.json @@ -0,0 +1,29 @@ +{ + "wallpaper": "/home/me/images/wallpapers/100i_polygon_2560x1600.png", + "alpha": "100", + "special": { + "background": "#1E1E2E", + "foreground": "#CDD6F4", + "primary": "#6D83D0", + "accent": "#89B4FA", + "cursor": "#CDD6F4" + }, + "colors": { + "color0": "#1E1E2E", + "color1": "#D56A85", + "color2": "#7BCA77", + "color3": "#DDBE89", + "color4": "#6D83D0", + "color5": "#D18ACD", + "color6": "#76B9A9", + "color7": "#cdd6f4", + "color8": "#45475a", + "color9": "#F38BA8", + "color10": "#A6E3A1", + "color11": "#F9E2AF", + "color12": "#89B4FA", + "color13": "#F5C2E7", + "color14": "#94E2D5", + "color15": "#7f849c" + } +} diff --git a/pywal/.config/wal/colorschemes/dark/minimal-keqing.json b/pywal/.config/wal/colorschemes/dark/minimal-keqing.json new file mode 100644 index 0000000..8e2e420 --- /dev/null +++ b/pywal/.config/wal/colorschemes/dark/minimal-keqing.json @@ -0,0 +1,29 @@ +{ + "wallpaper": "/home/me/images/wallpapers/minimal-keqing.png", + "alpha": "100", + "special": { + "background": "#1E1E2E", + "foreground": "#CDD6F4", + "primary": "#cba6f7", + "accent": "#f5c2e7", + "cursor": "#CDD6F4" + }, + "colors": { + "color0": "#1E1E2E", + "color1": "#D56A85", + "color2": "#7BCA77", + "color3": "#DDBE89", + "color4": "#6D83D0", + "color5": "#D18ACD", + "color6": "#76B9A9", + "color7": "#cdd6f4", + "color8": "#45475a", + "color9": "#F38BA8", + "color10": "#A6E3A1", + "color11": "#F9E2AF", + "color12": "#89B4FA", + "color13": "#F5C2E7", + "color14": "#94E2D5", + "color15": "#7f849c" + } +} diff --git a/pywal/.config/wal/templates/Colors.hs b/pywal/.config/wal/templates/Colors.hs new file mode 100644 index 0000000..8169223 --- /dev/null +++ b/pywal/.config/wal/templates/Colors.hs @@ -0,0 +1,36 @@ +--Place this file in your .xmonad/lib directory and import module Colors into .xmonad/xmonad.hs config +--The easy way is to create a soft link from this file to the file in .xmonad/lib using ln -s +--Then recompile and restart xmonad. + +module Colors + ( wallpaper + , background, foreground, primary, accent, cursor + , color0, color1, color2, color3, color4, color5, color6, color7 + , color8, color9, color10, color11, color12, color13, color14, color15 + ) where + +wallpaper="{wallpaper}" + +background="{background}" +foreground="{foreground}" +primary="{primary}" +accent="{accent}" +cursor="{cursor}" + +color0="{color0}" +color1="{color1}" +color2="{color2}" +color3="{color3}" +color4="{color4}" +color5="{color5}" +color6="{color6}" +color7="{color7}" +color8="{color8}" +color9="{color9}" +color10="{color10}" +color11="{color11}" +color12="{color12}" +color13="{color13}" +color14="{color14}" +color15="{color15}" + diff --git a/pywal/.config/wal/templates/colors-polybar b/pywal/.config/wal/templates/colors-polybar new file mode 100644 index 0000000..22caa51 --- /dev/null +++ b/pywal/.config/wal/templates/colors-polybar @@ -0,0 +1,9 @@ +background = {background} +background-alt = {color8} +foreground = {foreground} +foreground-alt = {foreground} +primary = {primary} +secondary = {accent} +alert = {color1} +disabled = {color8} +separator = {color8} diff --git a/pywal/.config/wal/templates/colors.css b/pywal/.config/wal/templates/colors.css new file mode 100644 index 0000000..5e7c691 --- /dev/null +++ b/pywal/.config/wal/templates/colors.css @@ -0,0 +1,30 @@ +/* CSS variables + Generated by 'wal' */ +:root {{ + --wallpaper: url({wallpaper}); + + /* Special */ + --background: {background}; + --foreground: {foreground}; + --primary: {primary}; + --accent: {accent}; + --cursor: {cursor}; + + /* Colors */ + --color0: {color0}; + --color1: {color1}; + --color2: {color2}; + --color3: {color3}; + --color4: {color4}; + --color5: {color5}; + --color6: {color6}; + --color7: {color7}; + --color8: {color8}; + --color9: {color9}; + --color10: {color10}; + --color11: {color11}; + --color12: {color12}; + --color13: {color13}; + --color14: {color14}; + --color15: {color15}; +}} diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 43df130..29d761e 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -16,6 +16,22 @@ config.bind("", "tab-next") config.bind("", "tab-prev") from utils import * +import subprocess + +def read_xresources(prefix): + props = {} + x = subprocess.run(["xrdb", "-query"], capture_output=True, check=True, text=True) + lines = x.stdout.split("\n") + for line in filter(lambda l : l.startswith(prefix), lines): + prop, _, value = line.partition(":\t") + props[prop] = value + return props + +xresources = read_xresources("Xft") + +print(xresources) + +c.aliases["r"] = "session-load" command = ["xterm", "-fa", "JetBrainsMono Nerd Font", "-fs", "16", "-e", "ranger", "--choosefile={}"] @@ -27,8 +43,9 @@ command = ["xterm", "-fa", "JetBrainsMono Nerd Font", "-fs", "16", "-e", "ranger c.content.autoplay = False c.zoom.default = "100%" -c.fonts.default_size = "11pt" -c.fonts.default_family = "JetBrainsMono Nerd Font" +c.fonts.default_size = "14px" +# c.fonts.default_family = "JetBrainsMono Nerd Font" +c.fonts.default_family = xresources["Xft.fontname"] c.downloads.location.prompt = False c.downloads.location.remember = False diff --git a/qutebrowser/.config/qutebrowser/home.html b/qutebrowser/.config/qutebrowser/home.html index 5f3efca..6d283e0 100644 --- a/qutebrowser/.config/qutebrowser/home.html +++ b/qutebrowser/.config/qutebrowser/home.html @@ -19,13 +19,13 @@ a { outline: none; - color: var(--color4); + color: var(--primary); padding-right: 0.5em; text-decoration: none; } a:hover, a:focus { - color: var(--color12); + color: var(--accent); } .terminal { diff --git a/screenshot.jpg b/screenshot.jpg index bb459f1..accea3e 100644 Binary files a/screenshot.jpg and b/screenshot.jpg differ diff --git a/scripts/.local/bin/personal/hdqwallsdownload b/scripts/.local/bin/personal/hdqwallsdownload deleted file mode 100755 index 6a203af..0000000 --- a/scripts/.local/bin/personal/hdqwallsdownload +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# A utility to download all images from a specific website give the exact url - -# https://hdqwalls.com/2880x1800/anime-girl-wallpapers/page/2 -# https://hdqwalls.com/search?q=Genshin+Impact&page=2 - -FILE="/tmp/wallpaperhtml" - -download() { - curl -s "$1" > "$FILE" - - IMAGES=$(cat "$FILE" | pup img.thumbnail | grep -o '"http[^"]\+"' | sed 's/\/wallpapers\/thumb/\/download/g' | sed 's/.jpg"$/-2560x1600.jpg/g' | sed 's/"//g') - COUNTER=0 - - for IMG in $IMAGES; do - let COUNTER++ - NAME="$(basename $IMG)" - - echo "[ Download ] ($COUNTER) $NAME" - curl -s "$IMG" > "$NAME" - sleep 2 - done - - echo -e "\nFinished!" -} - -if [[ -z "$1" ]]; then - echo "[ Error ] Please provide a URL" - exit 1 -fi - -download "$1" - diff --git a/scripts/.local/bin/personal/hdqwd b/scripts/.local/bin/personal/hdqwd new file mode 100755 index 0000000..0d7f709 --- /dev/null +++ b/scripts/.local/bin/personal/hdqwd @@ -0,0 +1,40 @@ +#!/bin/bash + +# A utility to download all images from a specific website give the exact url + +# https://hdqwalls.com/2880x1800/anime-girl-wallpapers/page/2 +# https://hdqwalls.com/search?q=Genshin+Impact&page=2 + +FILE="/tmp/wallpaperhtml" + +download() { + curl -s "$1" > "$FILE" + + IMAGES=$(cat "$FILE" | pup img.thumbnail | grep -o '"http[^"]\+"' | sed 's/\/wallpapers\/thumb/\/download/g' | sed 's/.jpg"$/-2560x1600.jpg/g' | sed 's/"//g') + COUNTER=0 + + for IMG in $IMAGES; do + let COUNTER++ + NAME="$(basename $IMG)" + + echo "[ Download ] ($COUNTER) $NAME" + curl -s "$IMG" > "$NAME" + sleep 2 + done + + echo -e "\nFinished!" +} + +if [[ -z "$1" ]]; then + echo "[ Error ] Please provide a URL" + exit 1 +fi + +if [[ "$1" = "s" ]]; then + IMAGE=$(curl -s "$2" | pup img.d_img_holder | grep -o '"http[^"]\+"' | sed 's/\/wallpapers\/bthumb/\/download/g' | sed 's/.jpg"$/-2560x1600.jpg/g' | sed 's/"//g') + NAME="$(date +"%s")" + curl -s "$IMAGE" > "$NAME.jpg" +else + download "$1" +fi + diff --git a/scripts/.local/bin/personal/rica b/scripts/.local/bin/personal/rica index fe9a2ff..81c0575 100755 --- a/scripts/.local/bin/personal/rica +++ b/scripts/.local/bin/personal/rica @@ -6,13 +6,14 @@ cache="$HOME/.cache/wal" config="$HOME/.config" -relevant=("dunst/dunstrc" "zathura/zathurarc" "flameshot/flameshot.ini") - xrdb -merge "$HOME/.cache/wal/colors.Xresources" xrdb -merge "$HOME/.Xresources" -for file in ${relevant[@]}; do - cp "$cache/$(basename $file)" "$config/$file" -done +# relevant=("dunst/dunstrc" "zathura/zathurarc" "flameshot/flameshot.ini") +# relevant=() +# for file in ${relevant[@]}; do + # cp "$cache/$(basename $file)" "$config/$file" +# done -killall dunst +pkill dunst; dunst & +pkill polybar; polybar & diff --git a/scripts/.local/bin/personal/syshealth b/scripts/.local/bin/personal/syshealth index 5c7ebe5..6320056 100755 --- a/scripts/.local/bin/personal/syshealth +++ b/scripts/.local/bin/personal/syshealth @@ -5,8 +5,10 @@ export XDG_RUNTIME_DIR="/run/user/$(id -u)" export DISPLAY=":0" +NOTIFIER="/usr/bin/notify-send -u critical " +# NOTIFIER="/usr/local/bin/herbe " + acpi_report="$(acpi | grep -v unavailable | head -n 1)" -sensors_report="$(sensors | grep "Package id 0:")" # Battery charge check local_percent="$(echo $acpi_report | awk '{print $4}')" @@ -15,25 +17,12 @@ local_time="$(echo $acpi_report | awk '{print $5}')" battery_message=("Warning:" "Battery VOLTAGE critical") temperature_message=("Warning:" "Core TEMPERATURE critical") + $NOTIFIER "${battery_message[0]} ${battery_message[1]}" & if ((${local_percent::-2} <= 15)); then if [[ "${local_state::-1}" == "Discharging" ]]; then - /usr/bin/notify-send -u critical " ${battery_message[0]} ${battery_message[1]}" & - # espeak "${battery_message[0]}${battery_message[1]}" - fi -elif ((${local_percent::-2} >= 90)); then - if [[ "${local_state::-1}" == "Charging" ]]; then - /usr/bin/notify-send -u critical " ${battery_message[0]} ${battery_message[1]}" & + $NOTIFIER " ${battery_message[0]} ${battery_message[1]}" & # espeak "${battery_message[0]}${battery_message[1]}" fi fi -# Core temperature check -local_temp="$(echo $sensors_report | awk '{print $4}' | sed 's/+//g')" -local_temp_high="$(echo $sensors_report | awk '{print $7}' | sed 's/+//g')" - -if ((${local_temp::-4} >= 90)); then - /usr/bin/notify-send -u critical " ${temperature_message[0]} ${temperature_message[1]}" & - # espeak "${temperature_message[0]}${temperature_message[1]}" -fi - diff --git a/scripts/.local/bin/personal/wally b/scripts/.local/bin/personal/wally index b733873..9b13bcc 100755 --- a/scripts/.local/bin/personal/wally +++ b/scripts/.local/bin/personal/wally @@ -43,8 +43,12 @@ setTheme() { if [[ $1 == *.json ]]; then wal --theme "$1" - rica - xdotool key Super_L+r + + walppr="$(cat "$1" | jq .wallpaper | sed 's/"//g')" + cp "$walppr" "$cachedWallpaperFile" + + rica "$1" + xdotool key Super_L+Shift_L+r exit 0 fi diff --git a/xmonad/.config/xmonad/lib/Colors.hs b/xmonad/.config/xmonad/lib/Colors.hs new file mode 120000 index 0000000..878d194 --- /dev/null +++ b/xmonad/.config/xmonad/lib/Colors.hs @@ -0,0 +1 @@ +/home/me/.cache/wal/Colors.hs \ No newline at end of file diff --git a/xmonad/.config/xmonad/xmonad.hs b/xmonad/.config/xmonad/xmonad.hs index 09b3eee..2602184 100644 --- a/xmonad/.config/xmonad/xmonad.hs +++ b/xmonad/.config/xmonad/xmonad.hs @@ -4,15 +4,16 @@ import XMonad.Hooks.DynamicLog import XMonad.Hooks.EwmhDesktops import XMonad.Hooks.StatusBar import XMonad.Hooks.StatusBar.PP +import XMonad.Hooks.ManageDocks import XMonad.Layout.Spacing import XMonad.Layout.NoBorders import XMonad.Util.EZConfig +import Colors + import qualified XMonad.StackSet as W import qualified Data.Map as M --- TODO: xres colors, fullscreen mode shows open windows - main :: IO () main = xmonad $ ewmhFullscreen @@ -21,15 +22,21 @@ main = xmonad $ customConfig myMod = mod4Mask -myTerminal = "alacritty" +myTerminal = "alacritty msg create-window || alacritty" myLayout = spacingWithEdge 6 $ Tall 1 (3/100) (1/2) ||| smartBorders Full +zenToggle = do + toggleWindowSpacingEnabled + toggleScreenSpacingEnabled + sendMessage ToggleStruts + sendMessage NextLayout + customConfig = def { terminal = myTerminal , borderWidth = 3 , modMask = myMod - , normalBorderColor = "#1e1e2e" - , focusedBorderColor = "#6d82cf" + , normalBorderColor = background + , focusedBorderColor = primary , layoutHook = myLayout } `removeKeysP` removeKeys' `additionalKeysP` additionalKeys' @@ -48,7 +55,8 @@ additionalKeys' = -- WM , ("M-S-r", spawn "xmonad --recompile && xmonad --restart" ) , ("M-f", sendMessage NextLayout ) - , ("M-z", windows W.swapMaster ) + , ("M-s", windows W.swapMaster ) + , ("M-z", zenToggle ) , ("M-r", refresh ) , ("M-q", kill ) -- Multimedia keys diff --git a/xorg/.Xresources b/xorg/.Xresources index ceed0fe..4a87a1e 100644 --- a/xorg/.Xresources +++ b/xorg/.Xresources @@ -1,6 +1,7 @@ #include ".cache/wal/colors.Xresources" -#define font "JetBrainsMono Nerd Font:size=16:pixelsize=21:antialias=true:autohint=true" +#define cfontname JetBrainsMono Nerd Font +#define cfont "JetBrainsMono Nerd Font:size=16:pixelsize=21:antialias=true:autohint=true" ! Terminal colors *.color0: c00 @@ -50,6 +51,7 @@ *accent: cas Xft.dpi: 137 +Xft.fontname: cfontname Xcursor.theme: capitaine-cursors-light @@ -60,7 +62,7 @@ dwm.selbordercolor: cps dwm.selbgcolor: cps dwm.selfgcolor: cbg -Nsxiv.bar.font: font +Nsxiv.bar.font: cfont Nsxiv.bar.background: cps Nsxiv.bar.foreground: cbg Nsxiv.mark.foreground: cps diff --git a/xorg/.config/env b/xorg/.config/env index a790e32..0fc237d 100644 --- a/xorg/.config/env +++ b/xorg/.config/env @@ -8,15 +8,18 @@ export XDG_SESSION_TYPE="x11" export PATH="$(find -L "$HOME/.local/bin/" -name '.*' -prune -o -type d -printf ':%p'):/opt/:$PATH" export PATH="$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin" +# maybe add /opt/android-sdk/platform-tools +# $HOME/.cargo/bin + ### DEFAULTS export TERM="xterm" export EDITOR="nvim" export BROWSER="qutebrowser" export TERMINAL="alacritty" -export EMAIL="neomutt" +export EMAIL="thunderbird" export PAGER="leser" -export MANPAGER="leser" +export MANPAGER='nvim +Man!' export MANROFFOPT="-P -c" export GIT_SSH_COMMAND="ssh" diff --git a/xorg/.config/mimeapps.list b/xorg/.config/mimeapps.list index ec9ae23..298b8ca 100644 --- a/xorg/.config/mimeapps.list +++ b/xorg/.config/mimeapps.list @@ -4,6 +4,10 @@ audio/*=mpv.desktop image/*=nsxiv.desktop model/*=org.freecadweb.FreeCAD.desktop model/3mf=cura.desktop;org.freecadweb.FreeCAD.desktop +text/plain=code.desktop;nvim.desktop; +x-scheme-handler/mailto=userapp-Thunderbird-QHA4N2.desktop; +x-scheme-handler/mid=userapp-Thunderbird-QHA4N2.desktop; +application/x-visual-studio-code-workspace=code.desktop; [Default Applications] video/mkv=vlc.desktop @@ -18,4 +22,8 @@ application/pdf=org.pwmt.zathura.desktop x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop x-scheme-handler/figma=figma-linux.desktop - +x-scheme-handler/mailto=userapp-Thunderbird-QHA4N2.desktop +message/rfc822=userapp-Thunderbird-QHA4N2.desktop +x-scheme-handler/mid=userapp-Thunderbird-QHA4N2.desktop +x-scheme-handler/discord-1216669957799018608=discord-1216669957799018608.desktop +application/x-visual-studio-code-workspace=code.desktop diff --git a/xorg/.config/wallpaper b/xorg/.config/wallpaper index 9a4953e..2a8dbb3 100644 Binary files a/xorg/.config/wallpaper and b/xorg/.config/wallpaper differ diff --git a/xorg/.xinitrc b/xorg/.xinitrc index 50dd818..558ebb4 100755 --- a/xorg/.xinitrc +++ b/xorg/.xinitrc @@ -10,6 +10,7 @@ env_file="$HOME/.config/env" modmap_file="$HOME/.Xmodmap" resources_file="$HOME/.Xresources" +# Should this maybe be in .profile / .bash_profile ? [[ -f "$env_file" ]] && . "$env_file" [[ -f "$modmap_file" ]] && xmodmap "$modmap_file" [[ -f "$resources_file" ]] && xrdb -merge -I"$HOME" "$resources_file" @@ -32,8 +33,12 @@ eval $(/usr/bin/gnome-keyring-daemon --start) && export SSH_AUTH_SOCK echo "passed updates" >> "$HOME/session.log" -unclutter -idle 1 & +# move this to .local/bin/autostart or .xsession ? + # brightness load & +# otd-daemon & # i use systemd instead... + +unclutter -idle 1 & clipmenud & dunst & picom & diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc new file mode 120000 index 0000000..491b00c --- /dev/null +++ b/zathura/.config/zathura/zathurarc @@ -0,0 +1 @@ +/home/me/.cache/wal/zathurarc \ No newline at end of file -- cgit v1.2.3