regexghost-dotfiles

My dotfiles and scripts
git clone git@git.regexghost.com/regexghost-dotfiles.git
Log | Files | Refs | README

commit 550902b8b8ed6f9c5c00020fad6c83e976e13b36
parent 4c7b64c5d9cb2ec5ffc84cd157c62811482be8d2
Author: regexghost <regexghost@protonmail.com>
Date:   Thu, 23 Apr 2026 12:06:14 +0100

more files

Diffstat:
Adotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Doom One_alacritty.toml | 70++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Dracula_alacritty.toml | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Everforest_alacritty.toml | 68++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_jmbi_alacritty.toml | 70++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/alacritty/FONT_SUBSTITUTION_Roboto Mono_alacritty.toml | 22++++++++++++++++++++++
Adotfiles/.config/alacritty/alacritty.toml | 45+++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/boomer/config | 4++++
Adotfiles/.config/btop/btop.conf | 254+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/cava/config | 232+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/conky/clock_settings_xfce | 59+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/conky/conky_clock.lua | 329+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/conky/conky_kde.conf | 139+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/cool-retro-term/cool-retro-term.conf | 7+++++++
Adotfiles/.config/geany/colorschemes/jmbi.conf | 122+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/geany/geany.conf | 203+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/geany/keybindings.conf | 156+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/gtk2rc | 19+++++++++++++++++++
Adotfiles/.config/kitty/kitty.conf | 42++++++++++++++++++++++++++++++++++++++++++
Adotfiles/.config/kitty/retro.conf | 53+++++++++++++++++++++++++++++++++++++++++++++++++++++
19 files changed, 1958 insertions(+), 0 deletions(-)

diff --git a/dotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Doom One_alacritty.toml b/dotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Doom One_alacritty.toml @@ -0,0 +1,70 @@ +# Doom One +[colors.cursor] +cursor = "CellForeground" +text = "CellBackground" + +[colors.footer_bar] +background = "#282a36" +foreground = "#f8f8f1" + +[colors.hints.end] +background = "#282a36" +foreground = "#f1fa8c" + +[colors.hints.start] +background = "#f1fa8c" +foreground = "#22212d" + +[colors.line_indicator] +background = "None" +foreground = "None" + +# Colors (Gruvbox dark) + +# Default colors +[colors.primary] +# hard contrast background = = '#1d2021' +background = '#282c34' +# soft contrast background = = '#32302f' +foreground = '#bbc2cf' + +# Normal colors +[colors.normal] +black = '#1b2229' +red = '#ff6c6b' +green = '#98be65' +yellow = '#ffd700' +blue = '#51afef' +magenta = '#c678dd' +cyan = '#46d9ff' +white = '#bbc2cf' + +# Bright colors +[colors.bright] +black = '#3f444a' +red = '#ff6c6b' +green = '#98be65' +yellow = '#ecbe7b' +blue = '#51afef' +magenta = '#a9a1e1' +cyan = '#46d9ff' +white = '#bbc2cf' + +[colors.search.focused_match] +background = "#ffb86c" +foreground = "#44475a" + +[colors.search.matches] +background = "#50fa7b" +foreground = "#44475a" + +[colors.selection] +background = "#44475a" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "CellForeground" +text = "CellBackground" + +[cursor.style] +shape = "Beam" diff --git a/dotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Dracula_alacritty.toml b/dotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Dracula_alacritty.toml @@ -0,0 +1,64 @@ +# Dracula +[colors.bright] +black = "#7a71aa" +blue = "#bd93f9" +cyan = "#8be9fd" +green = "#50fa7b" +magenta = "#ff79d2" +red = "#ff5555" +white = "#f8f8f2" +yellow = "#f1fa8c" + +[colors.cursor] +cursor = "CellForeground" +text = "CellBackground" + +[colors.footer_bar] +background = "#282a36" +foreground = "#f8f8f1" + +[colors.hints.end] +background = "#282a36" +foreground = "#f1fa8c" + +[colors.hints.start] +background = "#f1fa8c" +foreground = "#22212d" + +[colors.line_indicator] +background = "None" +foreground = "None" + +[colors.normal] +black = "#22212d" +blue = "#9a7cff" +cyan = "#38ffea" +green = "#52ff6d" +magenta = "#ff76c1" +red = "#e64747" +white = "#f8f8f1" +yellow = "#ffff80" + +[colors.primary] +background = "#22212d" +bright_foreground = "#ffffff" +foreground = "#f8f8f1" + +[colors.search.focused_match] +background = "#ffb86c" +foreground = "#44475a" + +[colors.search.matches] +background = "#50fa7b" +foreground = "#44475a" + +[colors.selection] +background = "#44475a" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "CellForeground" +text = "CellBackground" + +[cursor.style] +shape = "Beam" diff --git a/dotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Everforest_alacritty.toml b/dotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_Everforest_alacritty.toml @@ -0,0 +1,68 @@ +# Everforest +[colors.cursor] +cursor = "CellForeground" +text = "CellBackground" + +[colors.footer_bar] +background = "#282a36" +foreground = "#f8f8f1" + +[colors.hints.end] +background = "#282a36" +foreground = "#f1fa8c" + +[colors.hints.start] +background = "#f1fa8c" +foreground = "#22212d" + +[colors.line_indicator] +background = "None" +foreground = "None" + +# Default colors +[colors.primary] +# hard contrast background = = '#1d2021' +background = '#272d32' +# soft contrast background = = '#32302f' +foreground = '#edebe6' + +# Normal colors +[colors.normal] +black = '#414b51' +red = '#e77e7f' +green = '#a6c080' +yellow = '#dbbc7f' +blue = '#7fbbb3' +magenta = '#d699b6' +cyan = '#83c091' +white = '#edebe6' + +# Bright colors +[colors.bright] +black = '#414b51' +red = '#e67e80' +green = '#a7c080' +yellow = '#dbbc7f' +blue = '#7fbbb3' +magenta = '#d59ab6' +cyan = '#83c092' +white = '#edebe6' + +[colors.search.focused_match] +background = "#ffb86c" +foreground = "#44475a" + +[colors.search.matches] +background = "#50fa7b" +foreground = "#44475a" + +[colors.selection] +background = "#4f585e" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "CellForeground" +text = "CellBackground" + +[cursor.style] +shape = "Beam" diff --git a/dotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_jmbi_alacritty.toml b/dotfiles/.config/alacritty/COLOURSCHEME_SUBSTITUTION_jmbi_alacritty.toml @@ -0,0 +1,70 @@ +# jmbi +[colors.cursor] +cursor = "CellForeground" +text = "CellBackground" + +[colors.footer_bar] +background = "#282a36" +foreground = "#f8f8f1" + +[colors.hints.end] +background = "#282a36" +foreground = "#f1fa8c" + +[colors.hints.start] +background = "#f1fa8c" +foreground = "#22212d" + +[colors.line_indicator] +background = "None" +foreground = "None" + +# Colors (Gruvbox dark) + +# Default colors +[colors.primary] +# hard contrast background = = '#1d2021' +background = '#1e1e1e' +# soft contrast background = = '#32302f' +foreground = '#efe2e0' + +# Normal colors +[colors.normal] +black = '#5a7260' +red = '#8f423c' +green = '#bbbb88' +yellow = '#f9d25b' +blue = '#e0ba69' +magenta = '#709289' +cyan = '#c25431' +white = '#efe2e0' + +# Bright colors +[colors.bright] +black = '#5a7260' +red = '#8f423c' +green = '#bbbb88' +yellow = '#f9d25b' +blue = '#e0ba69' +magenta = '#709289' +cyan = '#c25431' +white = '#efe2e0' + +[colors.search.focused_match] +background = "#ffb86c" +foreground = "#44475a" + +[colors.search.matches] +background = "#50fa7b" +foreground = "#44475a" + +[colors.selection] +background = "#44475a" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "CellForeground" +text = "CellBackground" + +[cursor.style] +shape = "Beam" diff --git a/dotfiles/.config/alacritty/FONT_SUBSTITUTION_Roboto Mono_alacritty.toml b/dotfiles/.config/alacritty/FONT_SUBSTITUTION_Roboto Mono_alacritty.toml @@ -0,0 +1,22 @@ +# Roboto Mono Laptop +[env] +WINIT_X11_SCALE_FACTOR = "2" + +[font] +size = 6 + +[font.bold] +family = "Roboto Mono" +style = "Bold" + +[font.bold_italic] +family = "Roboto Mono" +style = "Bold Italic" + +[font.italic] +family = "Roboto Mono" +style = "Italic" + +[font.normal] +family = "Roboto Mono" +style = "Regular" diff --git a/dotfiles/.config/alacritty/alacritty.toml b/dotfiles/.config/alacritty/alacritty.toml @@ -0,0 +1,45 @@ +#### SUBSTITUTE - COLOURSCHEME + +#### SUBSTITUTE - FONT + +[window] +dynamic_padding = true +#dynamic_title = false + +[window.padding] +x = 0 +y = 0 + +[window.dimensions] +columns = 100 +lines = 25 + +# https://mitjafelicijan.com/alacritty-open-links-with-modifier.html +[[hints.enabled]] +command = "xdg-open" +post_processing = true +regex = "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+" + +[hints.enabled.mouse] +enabled = true +mods = "Control" + +[[keyboard.bindings]] +chars = "\u001B[27;5;9~" +key = "Tab" +mods = "Control" + +[[keyboard.bindings]] +chars = "\u001B[27;6;9~" +#chars = "\u001B[24~" +key = "Tab" +mods = "Control|Shift" + +[[keyboard.bindings]] +chars = "\u0019" +key = "z" +mods = "Control|Shift" + +[[keyboard.bindings]] +key = "F11" +action = "ToggleFullscreen" diff --git a/dotfiles/.config/boomer/config b/dotfiles/.config/boomer/config @@ -0,0 +1,4 @@ +min_scale = 1 +scroll_speed = 5 +drag_friction = 100 +scale_friction = 50 diff --git a/dotfiles/.config/btop/btop.conf b/dotfiles/.config/btop/btop.conf @@ -0,0 +1,254 @@ +#? Config file for btop v. 1.4.4 + +#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. +#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" +color_theme = "TTY" + +#* If the theme set background should be shown, set to False if you want terminal background transparency. +theme_background = False + +#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. +truecolor = True + +#* Set to true to force tty mode regardless if a real tty has been detected or not. +#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. +force_tty = False + +#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. +#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. +#* Use whitespace " " as separator between different presets. +#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" +presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" + +#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. +#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. +vim_keys = False + +#* Rounded corners on boxes, is ignored if TTY mode is ON. +rounded_corners = True + +#* Default symbols to use for graph creation, "braille", "block" or "tty". +#* "braille" offers the highest resolution but might not be included in all fonts. +#* "block" has half the resolution of braille but uses more common characters. +#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. +#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. +graph_symbol = "braille" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_cpu = "default" + +# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty". +graph_symbol_gpu = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_mem = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_net = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_proc = "default" + +#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. +shown_boxes = "cpu mem net proc" + +#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. +update_ms = 1000 + +#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", +#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. +proc_sorting = "cpu lazy" + +#* Reverse sorting order, True or False. +proc_reversed = False + +#* Show processes as a tree. +proc_tree = False + +#* Use the cpu graph colors in the process list. +proc_colors = True + +#* Use a darkening gradient in the process list. +proc_gradient = True + +#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. +proc_per_core = True + +#* Show process memory as bytes instead of percent. +proc_mem_bytes = True + +#* Show cpu graph for each process. +proc_cpu_graphs = True + +#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) +proc_info_smaps = False + +#* Show proc box on left side of screen instead of right. +proc_left = False + +#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). +proc_filter_kernel = False + +#* In tree-view, always accumulate child process resources in the parent process. +proc_aggregate = False + +#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. +#* Select from a list of detected attributes from the options menu. +cpu_graph_upper = "total" + +#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. +#* Select from a list of detected attributes from the options menu. +cpu_graph_lower = "total" + +#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off". +show_gpu_info = "Auto" + +#* Toggles if the lower CPU graph should be inverted. +cpu_invert_lower = True + +#* Set to True to completely disable the lower CPU graph. +cpu_single_graph = False + +#* Show cpu box at bottom of screen instead of top. +cpu_bottom = False + +#* Shows the system uptime in the CPU box. +show_uptime = True + +#* Show cpu temperature. +check_temp = True + +#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. +cpu_sensor = "Auto" + +#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. +show_coretemp = True + +#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. +#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. +#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. +#* Example: "4:0 5:1 6:3" +cpu_core_map = "" + +#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". +temp_scale = "celsius" + +#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. +base_10_sizes = False + +#* Show CPU frequency. +show_cpu_freq = True + +#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. +#* Special formatting: /host = hostname | /user = username | /uptime = system uptime +clock_format = "%X" + +#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. +background_update = True + +#* Custom cpu model name, empty string to disable. +custom_cpu_name = "" + +#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". +#* Only disks matching the filter will be shown. Prepend exclude= to only show disks not matching the filter. Examples: disk_filter="/boot /home/user", disks_filter="exclude=/boot /home/user" +disks_filter = "" + +#* Show graphs instead of meters for memory values. +mem_graphs = True + +#* Show mem box below net box instead of above. +mem_below_net = False + +#* Count ZFS ARC in cached and available memory. +zfs_arc_cached = True + +#* If swap memory should be shown in memory box. +show_swap = True + +#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. +swap_disk = True + +#* If mem box should be split to also show disks info. +show_disks = True + +#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. +only_physical = True + +#* Read disks list from /etc/fstab. This also disables only_physical. +use_fstab = True + +#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) +zfs_hide_datasets = False + +#* Set to true to show available disk space for privileged users. +disk_free_priv = False + +#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. +show_io_stat = True + +#* Toggles io mode for disks, showing big graphs for disk read/write speeds. +io_mode = False + +#* Set to True to show combined read/write io graphs in io mode. +io_graph_combined = False + +#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". +#* Example: "/mnt/media:100 /:20 /boot:1". +io_graph_speeds = "" + +#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. +net_download = 100 + +net_upload = 100 + +#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. +net_auto = True + +#* Sync the auto scaling for download and upload to whichever currently has the highest scale. +net_sync = True + +#* Starts with the Network Interface specified here. +net_iface = "" + +#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes. +base_10_bitrate = "Auto" + +#* Show battery stats in top right if battery is present. +show_battery = True + +#* Which battery to use if multiple are present. "Auto" for auto detection. +selected_battery = "Auto" + +#* Show power stats of battery next to charge indicator. +show_battery_watts = True + +#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". +#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. +log_level = "WARNING" + +#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. +nvml_measure_pcie_speeds = True + +#* Measure PCIe throughput on AMD cards, may impact performance on certain cards. +rsmi_measure_pcie_speeds = True + +#* Horizontally mirror the GPU graph. +gpu_mirror_graph = True + +#* Custom gpu0 model name, empty string to disable. +custom_gpu_name0 = "" + +#* Custom gpu1 model name, empty string to disable. +custom_gpu_name1 = "" + +#* Custom gpu2 model name, empty string to disable. +custom_gpu_name2 = "" + +#* Custom gpu3 model name, empty string to disable. +custom_gpu_name3 = "" + +#* Custom gpu4 model name, empty string to disable. +custom_gpu_name4 = "" + +#* Custom gpu5 model name, empty string to disable. +custom_gpu_name5 = "" diff --git a/dotfiles/.config/cava/config b/dotfiles/.config/cava/config @@ -0,0 +1,232 @@ +## Configuration file for CAVA. +# Remove the ; to change parameters. + + +[general] + +# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0 +mode = normal + +# Accepts only non-negative values. +framerate = 60 + +# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off +# new as of 0.6.0 autosens of low values (dynamic range) +# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0 +; autosens = 1 +; overshoot = 20 + +# Manual sensitivity in %. If autosens is enabled, this will only be the initial value. +# 200 means double height. Accepts only non-negative values. +; sensitivity = 100 + +# The number of bars (0-512). 0 sets it to auto (fill up console). +# Bars' width and space between bars in number of characters. +; bars = 0 +; bar_width = 2 +; bar_spacing = 1 +# bar_height is only used for output in "noritake" format +; bar_height = 32 + +# For SDL width and space between bars is in pixels, defaults are: +; bar_width = 20 +; bar_spacing = 5 + +# sdl_glsl have these default values, they are only used to calulate max number of bars. +; bar_width = 1 +; bar_spacing = 0 + + +# 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 + + +# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and +# only check for input once per second. Cava will wake up once input is detected. 0 = disable. +; sleep_timer = 0 + + +[input] + +# Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem' +# Defaults to 'pulse', 'pipewire', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# On windows this is automatic and no input settings are needed. +# +# All input methods uses the same config variable 'source' +# to define where it should get the audio. +# +# For pulseaudio and pipewire '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 piepwire 'source' will be the object name or object.serial of the device to capture from. +# Both input and output devices are supported. +# +# For alsa 'source' will be the capture device. +# For fifo 'source' will be the path to fifo-file. +# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address +method = pulse +source = auto + +; method = pipewire +; source = auto + +; method = alsa +; source = hw:Loopback,1 + +; method = fifo +; source = /tmp/mpd.fifo +; sample_rate = 44100 +; sample_bits = 16 + +; method = shmem +; source = /squeezelite-AA:BB:CC:DD:EE:FF + +; method = portaudio +; source = auto + + +[output] + +# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl' +# or 'sdl_glsl'. +# 'noncurses' uses a custom framebuffer technique and prints only changes +# from frame to frame in the terminal. 'ncurses' is default if supported. +# +# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) 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. +# +# 'noritake' outputs a bitmap in the format expected by a Noritake VFD display +# in graphic mode. It only support the 3000 series graphical VFDs for now. +# +# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context. +# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or +# use one of the predefined ones. +; method = ncurses + +# Orientation of the visualization. Can be 'bottom', 'top', 'left' or 'right'. +# Default is 'bottom'. Other orientations are only supported on sdl and ncruses +# output. Note: many fonts have weird glyphs for 'top' and 'right' characters, +# which can make ncurses not look right. +; orientation = bottom + +# Visual channels. Can be 'stereo' or 'mono'. +# 'stereo' mirrors both channels with low frequencies in center. +# 'mono' outputs left to right lowest to highest frequencies. +# 'mono_option' set mono to either take input from 'left', 'right' or 'average'. +# set 'reverse' to 1 to display frequencies the other way around. +channels = mono +; mono_option = average +; reverse = 0 + +# 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 + +# sdl window size and position. -1,-1 is centered. +; sdl_width = 1000 +; sdl_height = 500 +; sdl_x = -1 +; sdl_y= -1 + +# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none' +# 'frequency' displays the lower cut off frequency of the bar above. +# Only supported on ncurses and noncurses output. +; xaxis = none + +# enable alacritty synchronized updates. 1 = on, 0 = off +# removes flickering in alacritty terminal emulator. +# defaults to off since the behaviour in other terminal emulators is unknown +; alacritty_sync = 0 + +# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders +; vertex_shader = pass_through.vert +; fragment_shader = bar_spectrum.frag + +; for glsl output mode, keep rendering even if no audio +; continuous_rendering = 0 + +[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. +# default is to keep current terminal color +; background = default +foreground = blue + +# SDL and sdl_glsl only support hex code colors, these are the default: +; background = '#111111' +; foreground = '#33ffff' + + +# Gradient mode, only hex defined colors are supported, +# background must also be defined in hex or remain commented out. 1 = on, 0 = off. +# You can define as many as 8 different colors. They range from bottom to top of screen +; gradient = 0 +; gradient_count = 8 +; gradient_color_1 = '#59cc33' +; gradient_color_2 = '#80cc33' +; gradient_color_3 = '#a6cc33' +; gradient_color_4 = '#cccc33' +; gradient_color_5 = '#cca633' +; gradient_color_6 = '#cc8033' +; gradient_color_7 = '#cc5933' +; gradient_color_8 = '#cc3333' + + + +[smoothing] + +# Percentage value for integral smoothing. Takes values from 0 - 100. +# Higher values means smoother, but less precise. 0 to disable. +# DEPRECATED as of 0.8.0, use noise_reduction instead +; integral = 77 + +# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. +; monstercat = 0 +; waves = 0 + +# Set gravity percentage for "drop off". Higher values means bars will drop faster. +# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". +# DEPRECATED as of 0.8.0, use noise_reduction instead +; gravity = 100 + + +# In bar height, bars that would have been lower that this will not be drawn. +# DEPRECATED as of 0.8.0 +; ignore = 0 + +# Noise reduction, int 0 - 100. default 77 +# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth +# 100 will be very slow and smooth, 0 will be fast but noisy. +noise_reduction = 50 + + +[eq] + +# This one is tricky. You can have as much keys as you want. +# Remember to uncomment more than 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 diff --git a/dotfiles/.config/conky/clock_settings_xfce b/dotfiles/.config/conky/clock_settings_xfce @@ -0,0 +1,59 @@ +-- config file to be sourced by clock_conky_110.lua +-- by damo August 2020 +------------------------------------------------------------------------ + +-- if "nil" value is used, then a default value is set by the script +-- Default value in comments is "[value]" + +clock_vars = { + { + -- if x,y = "nil", clock size is relative to conky window + x = nil, -- x and y coords (center), relative to the top left + y = 178, -- corner of conky, in px [conky_window.width/2] + radius = 116, -- [x*0.95] (to fit conky window) + + border = true, -- draw clock border [false] + border_width = 3, -- border width in px [line_width] + border_out = false, -- If "true", border is drawn outside clock radius [false] + line_width = 3, -- used for marks, and default border width [2] + color = 0xf8f8f1, -- border color. [0xffffff] + alpha = 1, -- border alpha [1] + + hours_num = 12, -- options: "12" or "24" [12] + color_hands = 0xf8f8f1, -- hour and minute hands color [color] + alpha_hands = 1, -- hour and minute hands alpha [1] + color_sec = 0xff5555, -- seconds hand color [color] + alpha_sec = 1, -- seconds hand alpha [1] + color_face = 0xa4a3b1, -- clock face color [0xffffff] + alpha_face = 1, -- clock face alpha [0.5] + color_marks = 0xf8f8f1, -- hour and minute marks color [color] + alpha_marks = 1, -- hour and minute marks alpha [alpha] + color_center = 0xf8f8f2, -- center spot color [color] + alpha_center = nil, -- center spot alpha [1] + + numerals = true, -- write hour numerals [false] + text_radius = 0.8, -- % radius of numerals from center [0.75] + font_name = "Raleway", -- ["Noto Sans"] + font_size = 15, -- [12] + font_color = 0xf8f8f1, -- [color] + font_alpha = 0.5, -- [alpha] + italic = false, -- [false] + oblique = false, -- [false] + bold = true, -- [false] + + clock_face = false, -- draw background clock face [false] + hours_marks = true, -- draw hours marks [true] + minutes_marks = false, -- draw minutes marks [false] + clock_center = true, -- draw center spot [false] + clock_center_radius = 0.08, -- % radius of clock of center spot [0.1] + marks_radius_mins = 0.95, -- % radius of clock of start of mark [0.95] + marks_radius_hrs = 0.9, -- % radius of clock of start of mark [0.9] + hour_radius = 0.50, -- % radius of clock of hour hand [0.65] + minute_radius = 0.65, -- % radius of clock of minute hand [0.8] + seconds_radius = 0.7, -- % radius of clock of seconds hand [0.9] + hour_hand_width = 8, -- hour hand thickness, px [6] + minute_hand_width = 6, -- minute hand thickness, px [4] + seconds_hand_width = 2, -- seconds hand thickness, px [2] + hand_style = 0, -- cap shape of hands, 0="round" or 1="square" [1] + }, +} diff --git a/dotfiles/.config/conky/conky_clock.lua b/dotfiles/.config/conky/conky_clock.lua @@ -0,0 +1,329 @@ +-- clock_conky_110.lua +-- by damo, August 2020 +-- +-- With inspiration from: +-- Air Clock by Alison Pitt (londonali1010) (2009) +-- seamod_rings.lua http://custom-linux.deviantart.com/art/Conky-Seamod-v0-1-283461046 +-- Boris Krinkel <olgmen> + +-- to be used by clock_conky_110.conf +------------------------------------------------------------------------ + +require ('cairo_xlib') +require ('cairo') + +-- called by "lua_startup_hook" in conky +-- "config" = /path/to/config file (set in conky) +function conky_load_config (config) + if file_exists(config) then + -- get clock settings from external config file + clock_variables = loadfile(config)() + else + return + end +end + +function file_exists(name) + local f=io.open(name,"r") + if f~=nil then + io.close(f) return true + else + print("Configuration file not found") + return false + end +end + +-- called by "lua_draw_hook_pre" in conky +-- draw clock using settings from "config" +function conky_clock (config) + + if conky_window == nil then return end + + local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height) + + -- allow conky window to be established before trying to draw clock + local updates=conky_parse('${updates}') + update_num=tonumber(updates) + + if update_num>1 then + for i, cv in pairs(clock_vars) do + check_settings (cv) + cr = cairo_create (cs) + display_clock (cv) + cairo_destroy (cr) + end + end +end + +function rgb_to_r_g_b(colour,alpha) + return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha +end + +function check_settings (t) -- lua doesn't have a case/switch statement: + -- set default values if necessary + if t.x == nil then -- if x,y,radius = "nil", set up clock relative to conky window. + t.x = conky_window.width/2 + elseif t.y == nil then + t.y = t.x + elseif t.radius == nil then + t.radius = t.x*0.95 -- so it fits inside conky window + elseif t.border == nil then + t.border = false + elseif t.border_out == nil then + t.border = false + elseif t.color == nil then + t.color = 0xffffff + elseif t.alpha == nil then + t.alpha = 1 + elseif t.line_width == nil then + t.line_width = 2 + elseif t.border_width == nil then + t.border_width = t.line_width + elseif t.hours_num == nil then + t.hours_num = 12 + elseif t.color_hands == nil then + t.color_hands = t.color + elseif t.alpha_hands == nil then + t.alpha_hands = 1 + elseif t.color_sec == nil then + t.color_sec = t.color + elseif t.alpha_sec == nil then + t.alpha_sec = t.alpha + elseif t.color_face == nil then + t.color_face = 0xffffff + elseif t.alpha_face == nil then + t.alpha_face = 0.5 + elseif t.color_marks == nil then + t.color_marks = t.color + elseif t.alpha_marks == nil then + t.alpha_marks = t.alpha + elseif t.color_center == nil then + t.color_center = t.color + elseif t.alpha_center == nil then + t.alpha_center = 1 + elseif t.numerals == nil then + t.numerals = false + elseif t.text_radius == nil then + t.text_radius = 0.75 + elseif t.font_name == nil then + t.font_name = "Noto Sans" + elseif t.font_size == nil then + t.font_size = 12 + elseif t.italic == nil then + t.italic = false + elseif t.oblique == nil then + t.oblique = false + elseif t.bold == nil then + t.bold = false + elseif t.font_color == nil then + t.font_color = t.color + elseif t.font_alpha == nil then + t.font_alpha = t.alpha + elseif t.clock_face == nil then + t.clock_face = false + elseif t.hours_marks == nil then + t.hours_marks = true + elseif t.minutes_marks == nil then + t.minutes_marks = false + elseif t.clock_center == nil then + t.clock_center = false + elseif t.clock_center_radius == nil then + t.clock_center_radius = 0.1 + elseif t.marks_radius_mins == nil then + t.marks_radius_mins = 0.95 + elseif t.marks_radius_hrs == nil then + t.marks_radius_hrs = 0.9 + elseif t.hour_radius == nil then + t.hour_radius = 0.65 + elseif t.minute_radius == nil then + t.minute_radius = 0.8 + elseif t.seconds_radius == nil then + t.seconds_radius = 0.9 + elseif hour_hand_width == nil then + hour_hand_width = 6 + elseif minute_hand_width == nil then + minute_hand_width = 4 + elseif seconds_hand_width == nil then + seconds_hand_width = 2 + elseif t.hand_style == nil then + t.hand_style = 1 + end +end + +function display_clock (t) + local slant = CAIRO_FONT_SLANT_NORMAL + local weight =CAIRO_FONT_WEIGHT_NORMAL + + if t.italic then slant = CAIRO_FONT_SLANT_ITALIC end + if t.bold then weight = CAIRO_FONT_WEIGHT_BOLD end + + cairo_select_font_face(cr, t.font_name, slant, weight) + cairo_set_font_size(cr, t.font_size) + te=cairo_text_extents_t:create() + cairo_text_extents (cr,t.text,te) + + -- make sure clock radius has been set before drawing: + if t.radius then + -- draw border ring + if t.border then + cairo_set_source_rgba(cr, rgb_to_r_g_b(t.color, t.alpha)) + cairo_set_line_width(cr, t.border_width) + if t.border_out then -- draw border ring outside clock radius + cairo_arc (cr, t.x, t.y,t.radius+t.border_width/2, 0, 2*math.pi) + else + cairo_arc (cr, t.x, t.y, t.radius-t.border_width/2, 0, 2*math.pi) + end + cairo_stroke (cr) + end + + -- Set clock face + if t.clock_face then + if t.color_face then + cairo_set_source_rgba(cr,rgb_to_r_g_b(t.color_face,t.alpha_face)) + cairo_arc(cr,t.x,t.y,t.radius,0,2*math.pi) + cairo_fill(cr) + end + end + + -- draw hour marks + if t.hours_marks then + if t.color_marks then + cairo_set_source_rgba(cr,rgb_to_r_g_b(t.color_marks,t.alpha_marks)) + end + cairo_set_line_width(cr, t.line_width) + + local i = 0 + + -- is clock 12H or 24H? + if t.hours_num == 12 then + num_hours = 11 + angle_hours = math.rad(30) + else + num_hours = 23 + angle_hours = math.rad(15) + end + + local num = num_hours + local angle = angle_hours + + for i= 0, num, 1 do + cairo_move_to(cr, t.x - math.sin(angle*i)*t.radius, t.y - math.cos(angle*i)*t.radius) + cairo_line_to(cr, t.x - math.sin(angle*i)*(t.radius*t.marks_radius_hrs), t.y - math.cos(angle*i)*(t.radius*t.marks_radius_hrs)) + cairo_stroke (cr) + end + end + + -- draw minute marks + if t.minutes_marks then + if t.hours_num == 24 then + num_mins = 119 + angle_mins = math.rad(3) + else + num_mins = 59 + angle_mins = math.rad(6) + end + local num = num_mins + local angle = angle_mins + + cairo_set_line_width(cr, t.line_width*0.5) + + for i=0, num, 1 do + cairo_move_to(cr, t.x - math.sin(angle * i) * t.radius, t.y - math.cos(angle * i) * t.radius) + cairo_line_to(cr, t.x - math.sin(angle * i) * (t.radius * t.marks_radius_mins), t.y - math.cos(angle * i) * (t.radius*t.marks_radius_mins)) + cairo_stroke (cr) + end + end + -- numbers radius,color,alpha + if t.numerals then + cairo_save (cr) + cairo_translate(cr, t.x, t.y) + mx, my = 0, 0 + local i = 0 + + -- is clock 12H or 24H? + if t.hours_num == 24 then + num_hours = 24 + angle_hours = math.rad(15) + else + num_hours = 12 + angle_hours = math.rad(30) + end + + local num = num_hours + local angle = angle_hours + + for i = 1, num, 1 do + mov_x = math.sin(angle*i)*(t.radius*t.text_radius) + mov_y = math.cos(angle*i)*(t.radius*t.text_radius) + te=cairo_text_extents_t:create() + cairo_text_extents (cr,i,te) + if t.font_color then + cairo_set_source_rgba(cr, rgb_to_r_g_b(t.font_color, t.font_alpha)) + end + mx = -te.width/2 + my = -te.height/2-te.y_bearing + cairo_move_to(cr, mx + mov_x, my - mov_y) + cairo_show_text(cr, i) + end + cairo_restore (cr) + end -- end of numerals test + + + local hours = os.date("%I") + -- hours = hours + 1 + if hours == 13 then + hours = 0 + end + local mins = os.date("%M") + local secs = os.date("%S") + secs_arc = (2*math.pi/60)*secs + mins_arc = (2*math.pi/60)*mins + hours_arc = (2*math.pi/12)*hours + mins_arc/12 + + -- hour and minute hand color + if t.color_hands then + cairo_set_source_rgba(cr, rgb_to_r_g_b(t.color_hands, t.alpha_hands)) + if t.hand_style == 0 then -- set line end cap shape + cairo_set_line_cap(cr, CAIRO_LINE_CAP_ROUND) + else + cairo_set_line_cap(cr, CAIRO_LINE_CAP_BUTT) + end + -- draw hour hand + xh = t.x + t.hour_radius*t.radius*math.sin(hours_arc) + yh = t.y - t.hour_radius*t.radius*math.cos(hours_arc) + cairo_set_line_width(cr, t.hour_hand_width) + cairo_move_to(cr, t.x, t.y) + cairo_line_to(cr, xh, yh) + cairo_stroke(cr) + + -- draw minute hand + xm = t.x + t.minute_radius*t.radius*math.sin(mins_arc) + ym = t.y - t.minute_radius*t.radius*math.cos(mins_arc) + cairo_set_line_width(cr, t.minute_hand_width) + cairo_move_to(cr, t.x, t.y) + cairo_line_to(cr, xm, ym) + cairo_stroke(cr) + + -- draw seconds hand + -- set color for seconds hand + if t.color_sec then + cairo_set_source_rgba(cr, rgb_to_r_g_b(t.color_sec, t.alpha_sec)) + xs = t.x + t.seconds_radius*t.radius*math.sin(secs_arc) + ys = t.y - t.seconds_radius*t.radius*math.cos(secs_arc) + cairo_set_line_width(cr, t.seconds_hand_width) + cairo_move_to(cr, t.x, t.y) + cairo_line_to(cr,xs,ys) + cairo_stroke (cr) + end + end + + -- draw centre on top of hands + if t.clock_center then + if t.color_center then + cairo_set_source_rgba(cr,rgb_to_r_g_b(t.color_center,t.alpha_center)) + cairo_arc(cr,t.x,t.y,t.radius*t.clock_center_radius,0,2*math.pi) + cairo_fill(cr) + end + end + end -- end of radius test +end diff --git a/dotfiles/.config/conky/conky_kde.conf b/dotfiles/.config/conky/conky_kde.conf @@ -0,0 +1,139 @@ +-- Conky, a system monitor https://github.com/brndnmtthws/conky +-- +-- This configuration file is Lua code. You can write code in here, and it will +-- execute when Conky loads. You can use it to generate your own advanced +-- configurations. +-- +-- Try this (remove the `--`): +-- +-- print("Loading Conky config") +-- +-- For more on Lua, see: +-- https://www.lua.org/pil/contents.html + +conky.config = { + alignment = 'top_right', + background = false, + own_window_colour = '1d1d1d', + border_width = 1, + cpu_avg_samples = 2, + default_color = 'white', + default_outline_color = 'white', + default_shade_color = 'white', + double_buffer = true, + draw_borders = true, + draw_graph_borders = true, + draw_outline = false, + draw_shades = false, + extra_newline = false, + font = 'Departure Mono:size=10', + font2 = 'Departure Mono:style=bold:size=10', + font3 = 'Departure Mono:style=bold:size=11', + font4 = 'Font Awesome 7 Free Solid:style=Regular:size=9', + gap_x = 16, + gap_y = 16, + minimum_height = 5, + minimum_width = 5, + -- imlib_cache_size = 0, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_ncurses = false, + out_to_stderr = false, + out_to_x = false, + out_to_wayland = true, + own_window = true, + own_window_type = 'dock', + own_window_argb_visual = true, + own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', + own_window_argb_value = 225, + show_graph_range = false, + show_graph_scale = true, + stippled_borders = 4.0, + update_interval = 1.0, + uppercase = false, + use_spacer = 'none', + use_xft = true, + --minimum_height=1000, + + border_inner_margin = 10, + + color0 = 'ed333b', + color1 = 'ee2e24', + color2 = '1dc300', + color3 = 'ffd204', + color4 = '009ddc', + color5 = 'ee2e24', + color6 = 'ee2e24', + color7 = 'ffffff', + color8 = '737171', + color9 = 'ee2e24', +} + + +conky.text = [[ +${color8}Info:${color} Arch (${no_update $kernel}) +$hr +${color8}Time:$color ${time %H:%M:%S %a %d %b (%Z)} +${color8}New York: Seoul:${color} +${tztime America/New_York %H:%M:%S (%Z)} ${tztime Asia/Seoul %H:%M:%S (%Z)} +${color8}Script:$color ${execi 600 ~/.config/regexghost/conky_script.sh} +${color8}Script:$color ${execi 600 ~/.config/regexghost/conky_script.sh -2} +${color1}${font3}System${font}$color ${hr 2} +${color8}Uptime:$color $uptime_short (${execi 1000 uptime -s | sed 's/^..//g' | sed 's/:[0-9]\{2\}$//g'}) +${color8}1m: $color${loadavg 1} ${color8}5m: $color${loadavg 2} ${color8}15m: $color${loadavg 3} +${color8}CPU Temperature:${color} ${execi 2 cat /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input | cut -c 1-2}°C +${color8}CPU Util:${color} ${cpu}% (${freq_g 0}GHz) +${cpugraph 1dc300 ee2e24 -t} +${color2}${font3}Memory${font}$color ${hr 2} +${color8}Usage:${color} ${mem}/${memmax} +${color8}Name: PID: Memory:${color} +${top_mem name 1}${alignc}${top_mem pid 1}${alignr}${top_mem mem_res 1} +${top_mem name 2}${alignc}${top_mem pid 2}${alignr}${top_mem mem_res 2} +${top_mem name 3}${alignc}${top_mem pid 3}${alignr}${top_mem mem_res 3} +${top_mem name 4}${alignc}${top_mem pid 4}${alignr}${top_mem mem_res 4} +${color3}${font3}Network${font}$color ${hr 2} +${color8}IP (Local):${color} ${addr wlp4s0} +${color8}Down:${color} ${downspeed wlp4s0}/s${alignr}${color8}Up:${color} ${upspeed wlp4s0}/s +${downspeedgraph wlp4s0 25,124 1dc300 ee2e24 -t}${alignc} ${upspeedgraph wlp4s0 25,124 1dc300 ee2e24 -t} +${color8}Recv:${color} ${totaldown wlp4s0}${alignr}${color8}Sent:${color} ${totalup wlp4s0} +${color4}${font3}Disk${font}$color ${hr 2} +${color8}Storage:${color} ${color9}U: ${color}${fs_used /} ${color2}F: ${color}${fs_free /} +${color8}Buffered:${color} ${execi 2 grep -e Dirty -e Writeback /proc/meminfo | tr -s " " | cut -d " " -f 2 | awk '{sum+=$1} END {printf "%d MiB", sum/1024}'} +${color8}Root Disk:${color} ${diskio /dev/nvme0n1}/s +${diskiograph /dev/nvme0n1 1dc300 ee2e24 -t}${if_existing /dev/sdb} +${color8}/dev/sdb:${color} ${diskio /dev/sdb}/s +${diskiograph /dev/sdb 1dc300 ee2e24 -t}${endif}${if_existing /dev/sdc} +${color8}/dev/sdc:${color} ${diskio /dev/sdc}/s +${diskiograph /dev/sdc 1dc300 ee2e24 -t}${endif} +${color2}${font3}Other${font}$color ${hr 2} +${color8}Weather:${color} +${execp cat /home/USERNAME/.local/share/regexghost/kde/weather_conky.txt} +${color8}Sunset:${color} +${execp cat /home/USERNAME/.local/share/regexghost/kde/sunset_conky.txt} +${color8}Sunrise:${color} +${execp cat /home/USERNAME/.local/share/regexghost/kde/sunrise_conky.txt}${voffset 10} +]] + +-- ${color8}CPU:${color} ${execi 10000 cat /proc/cpuinfo | grep 'model name' | head -n 1 | sed -e 's/model name.*: //' | sed 's/([^)]*)//g' | sed 's/Intel Core //g'} @ ${execi 10000 cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq | awk '{ printf"%0.1f", $1/1000000}'}GHz +--${color8}${font Robot Mono:style=bold}Frequency (GHz):${font}$color $freq_g +--${color8}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4} +--${color8}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4} +--${color8}CPU Usage:$color $cpu% ${cpubar 4} +--${color8}Processes:$color $processes ${color8}Running:$color $running_processes +--$hr +--${color8}File systems: +-- / $color${fs_used /}/${fs_size /} ${fs_bar 6 /} +--${color8}Networking: +--Up:$color ${upspeed} ${color8} - Down:$color ${downspeed} +--$hr +--${color8}Name PID CPU% MEM% +--${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} +--${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} +--${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} +--${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} +--$hr +--${hwmon 5 temp 1}°C +--]] +-- IMAGE CACHE FLUSH OPTION +-- ${execpi 10 /home/USER_USERNAME/.config/conky/refreshImage.sh} diff --git a/dotfiles/.config/cool-retro-term/cool-retro-term.conf b/dotfiles/.config/cool-retro-term/cool-retro-term.conf @@ -0,0 +1,7 @@ +[QQControlsFileDialog] +favoriteFolders=@Invalid() +height=0 +sidebarSplit=132.525 +sidebarVisible=true +sidebarWidth=80 +width=0 diff --git a/dotfiles/.config/geany/colorschemes/jmbi.conf b/dotfiles/.config/geany/colorschemes/jmbi.conf @@ -0,0 +1,122 @@ +# Geany Base16 Template +# Rob Loach (http://robloach.net) +# +# Copyright (c) 2013 Rob Loach +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +[theme_info] +name=jmbi +description=Base16 Eighties provides carefully chosen syntax highlighting and a default set of sixteen colors suitable for a wide range of applications. +version=0.2.2 +author=Rob Loach (http://robloach.net) +url=http://github.com/robloach/base16-geany + +[named_styles] +default=#efe2e0;#1e1e1e;false;false +error=#f2777a + +# Editor Styles +#------------------------------------------------------------------------------- +selection=#a09f93;#747369;false;true +current_line=;#333333;true;false +brace_good=#e0ba69;;true;false +brace_bad=#f2777a;#333333;true;false +margin_line_number=#747369;#333333;true;false +margin_folding=#747369 +fold_symbol_highlight=#393939 +indent_guide=#333333y +caret=#d3d0c8 +marker_line=#f2f0ec +marker_search=#f2f0ec;#bbbb88;false;false +marker_mark=#f2f0ec;#bbbb88; +call_tips=#a09f93;;false;false +white_space=#747369;;true;false + +# Programming languages +#------------------------------------------------------------------------------- +comment=#928374 +comment_doc=#928374 +comment_line=#928374 +comment_line_doc=#928374 +comment_doc_keyword=#928374;;true;false +comment_doc_keyword_error=#928374;;false;true + +number=#bbbb88 +number_1=#c25431 +number_2=#c25431 + +type=#e0ba69;;true +# Person.rb = Person +class=#e0ba69;;true +# Person.rb = initialize +# PHP +function=#8f423c;;false;false +parameter=#e8e6df + +keyword=#d27b53;;true;false +# Person.rb = class, include, def, end, attr_accessor, etc +# PHP = include_once(), if elseif else +keyword_1=#709289;;false;false +keyword_2=#c25431;;false;false +keyword_3=#d3d0c8;;false;false +keyword_4=#c25431;;false;true + +identifier=#d3d0c8;;false;false +# Person.rb = ActiveModel::Conversion +identifier_1=#d3d0c8;;false;false +identifier_2=#d3d0c8;;false;false +identifier_3=#8f423c;;true;false +identifier_4=#709289;;false;false + +string=#c25431 +string_1=#bbbb88 +string_2=#bbbb88 +string_3=#d3d0c8 +string_4=#8f423c +string_eol=#709289;;false;true + +character=string_1 +backtick=#e0ba69 +here_doc=#e0ba69 +scalar=#e0ba69 +label=#e8e6df;;true;false +# Person.rb = :name +# PHP = $_GET +preprocessor=#8f423c +regex=number_1 +operator=#5a7260;;false;false +decorator=#8f423c;;false;false +other=#f2777a + +# Markup-type languages +#------------------------------------------------------------------------------- +tag=#e0ba69;;true;false +tag_unknown=#f2777a;;true;false +tag_end=#e0ba69;;false;false +attribute=#c25431;;false;false +attribute_unknown=#bbbb88;;false;false +value=#8f423c +entity=#e0ba69 + +# Diff +#------------------------------------------------------------------------------- +line_added=#bbbb88 +line_removed=#f2777a +line_changed=#8f423c diff --git a/dotfiles/.config/geany/geany.conf b/dotfiles/.config/geany/geany.conf @@ -0,0 +1,203 @@ +[geany] +pref_main_load_session=true +pref_main_project_file_in_basedir=true +pref_main_save_winpos=true +pref_main_save_wingeom=true +pref_main_confirm_exit=false +pref_main_suppress_status_messages=false +switch_msgwin_pages=false +beep_on_errors=true +auto_focus=false +sidebar_symbol_visible=true +sidebar_openfiles_visible=false +editor_font=Roboto Mono 14 +tagbar_font=Roboto 11 +msgwin_font=Roboto Mono 11 +show_notebook_tabs=true +show_tab_cross=true +tab_order_ltr=true +tab_order_beside=false +tab_pos_editor=2 +tab_pos_msgwin=0 +tab_label_length=1000 +show_indent_guide=false +show_white_space=false +show_line_endings=false +show_line_endings_only_when_differ=false +show_markers_margin=true +show_linenumber_margin=true +long_line_enabled=false +long_line_type=0 +long_line_column=72 +long_line_color=#C2EBC2 +symbolcompletion_max_height=10 +symbolcompletion_min_chars=4 +use_folding=true +unfold_all_children=false +use_indicators=true +line_wrapping=false +auto_close_xml_tags=true +complete_snippets=true +auto_complete_symbols=true +pref_editor_disable_dnd=false +pref_editor_smart_home_key=true +pref_editor_newline_strip=false +line_break_column=72 +auto_continue_multiline=true +comment_toggle_mark=~ +scroll_stop_at_last_line=true +autoclose_chars=2 +pref_editor_default_new_encoding=UTF-8 +pref_editor_default_open_encoding=none +default_eol_character=2 +pref_editor_new_line=true +pref_editor_ensure_convert_line_endings=false +pref_editor_replace_tabs=false +pref_editor_trail_space=false +pref_toolbar_show=false +pref_toolbar_append_to_menu=false +pref_toolbar_use_gtk_default_style=true +pref_toolbar_use_gtk_default_icon=true +pref_toolbar_icon_style=0 +pref_toolbar_icon_size=0 +pref_template_developer=Unknown +pref_template_company= +pref_template_mail=USER_USERNAME@eLaptop +pref_template_initial=U +pref_template_version=1.0 +pref_template_year=%Y +pref_template_date=%Y-%m-%d +pref_template_datetime=%d.%m.%Y %H:%M:%S %Z +context_action_cmd= +sidebar_visible=true +statusbar_visible=true +msgwindow_visible=false +fullscreen=false +symbols_group_by_type=true +color_picker_palette= +scribble_text=Type here what you want, use it as a notice/scratch board +scribble_pos=57 +custom_date_format= +default_open_path= +cmdline_new_files=true +notebook_double_click_hides_widgets=false +tab_close_switch_to_mru=false +tab_pos_sidebar=2 +openfiles_path_mode=2 +sidebar_pos=0 +symbols_sort_mode=0 +msgwin_orientation=1 +highlighting_invert_all=false +pref_main_search_use_current_word=true +check_detect_indent=true +detect_indent_width=true +use_tab_to_indent=true +backspace_unindent=true +pref_editor_tab_width=4 +indent_mode=2 +indent_type=1 +virtualspace=1 +change_history_markers=false +change_history_indicators=false +autocomplete_doc_words=false +completion_drops_rest_of_word=false +autocompletion_max_entries=30 +autocompletion_update_freq=250 +color_scheme=jmbi.conf +scroll_lines_around_cursor=0 +mru_length=10 +disk_check_timeout=30 +show_editor_scrollbars=true +brace_match_ltgt=false +use_gtk_word_boundaries=true +complete_snippets_whilst_editing=false +indent_hard_tab_width=8 +editor_ime_interaction=0 +use_atomic_file_saving=false +gio_unsafe_save_backup=false +use_gio_unsafe_file_saving=true +keep_edit_history_on_reload=true +show_keep_edit_history_on_reload_msg=true +reload_clean_doc_on_file_change=false +save_config_on_file_change=true +extract_filetype_regex=-\\*-\\s*([^\\s]+)\\s*-\\*- +allow_always_save=false +find_selection_type=0 +replace_and_find_by_default=true +show_symbol_list_expanders=true +compiler_tab_autoscroll=true +statusbar_template=line: %l / %L col: %c sel: %s %w %t %mEOL: %M encoding: %e filetype: %f scope: %S +new_document_after_close=false +msgwin_status_visible=true +msgwin_compiler_visible=true +msgwin_messages_visible=true +msgwin_scribble_visible=true +warn_on_project_close=true +use_native_dialogs=false +skip_confirmation_for_replace_in_session=false + +[tools] +terminal_cmd=xterm -e "/bin/sh %c" +browser_cmd= +grep_cmd=grep + +[printing] +print_cmd= +use_gtk_printing=true +print_line_numbers=true +print_page_numbers=true +print_page_header=true +page_header_basename=false +page_header_datefmt=%c + +[VTE] +load_vte=true +font=Monospace 10 +scroll_on_key=true +scroll_on_out=true +enable_bash_keys=true +ignore_menu_bar_accel=false +follow_path=false +run_in_vte=false +skip_run_script=false +cursor_blinks=false +scrollback_lines=500 +shell=/usr/bin/bash +colour_fore=#FFFFFF +colour_back=#000000 +send_cmd_prefix= +send_selection_unsafe=false + +[build-menu] +number_ft_menu_items=0 +number_non_ft_menu_items=0 +number_exec_menu_items=0 + +[search] +pref_search_hide_find_dialog=false +pref_search_always_wrap=false +pref_search_current_file_dir=true +fif_regexp=false +fif_case_sensitive=true +fif_match_whole_word=false +fif_invert_results=false +fif_recursive=false +fif_extra_options= +fif_use_extra_options=false +fif_files= +fif_files_mode=0 +find_regexp=false +find_regexp_multiline=false +find_case_sensitive=false +find_escape_sequences=false +find_match_whole_word=false +find_match_word_start=false +find_close_dialog=true +replace_regexp=false +replace_regexp_multiline=false +replace_case_sensitive=false +replace_escape_sequences=false +replace_match_whole_word=false +replace_match_word_start=false +replace_search_backwards=false +replace_close_dialog=true diff --git a/dotfiles/.config/geany/keybindings.conf b/dotfiles/.config/geany/keybindings.conf @@ -0,0 +1,156 @@ +[Bindings] +menu_new=<Primary>n +menu_open=<Primary>o +menu_open_selected=<Primary><Shift>o +menu_save=<Primary>s +menu_saveas= +menu_saveall=<Primary><Shift>s +file_properties=<Primary><Shift>v +menu_print=<Primary>p +menu_close=<Primary>w +menu_closeall=<Primary><Shift>w +menu_reloadfile=<Primary>r +menu_reloadall= +file_openlasttab= +menu_quit=<Primary>q +menu_undo=<Primary>z +menu_redo=<Primary><Shift>z +edit_duplicateline=<Primary>d +edit_deleteline=<Primary>k +edit_deletelinetoend=<Primary><Shift>Delete +edit_deletelinetobegin=<Primary><Shift>BackSpace +edit_transposeline= +edit_scrolltoline=<Primary><Shift>l +edit_scrolllineup= +edit_scrolllinedown= +edit_completesnippet=Tab +move_snippetnextcursor= +edit_suppresssnippetcompletion= +popup_contextaction= +edit_autocomplete=<Primary>space +edit_calltip=<Primary><Shift>space +edit_wordpartcompletion=Tab +edit_movelineup=<Alt>Up +edit_movelinedown=<Alt>Down +menu_cut=<Primary>x +menu_copy=<Primary>c +menu_paste=<Primary>v +edit_copyline=<Primary><Shift>c +edit_cutline=<Primary><Shift>x +menu_selectall=<Primary>a +edit_selectword=<Shift><Alt>w +edit_selectline=<Shift><Alt>l +edit_selectparagraph=<Shift><Alt>p +edit_selectwordpartleft= +edit_selectwordpartright= +edit_togglecase=<Primary><Alt>u +edit_commentlinetoggle=<Primary>e +edit_commentline=<Alt>slash +edit_uncommentline=<Shift><Alt>question +edit_increaseindent=<Primary>i +edit_decreaseindent=<Primary>u +edit_increaseindentbyspace= +edit_decreaseindentbyspace= +edit_autoindent= +edit_sendtocmd1=<Primary>1 +edit_sendtocmd2=<Primary>2 +edit_sendtocmd3=<Primary>3 +edit_sendtocmd4= +edit_sendtocmd5= +edit_sendtocmd6= +edit_sendtocmd7= +edit_sendtocmd8= +edit_sendtocmd9= +edit_sendtovte= +format_reflowparagraph=<Primary>j +edit_joinlines= +menu_insert_date=<Shift><Alt>d +edit_insertwhitespace= +edit_insertlinebefore= +edit_insertlineafter= +menu_preferences=<Primary><Alt>p +menu_pluginpreferences= +menu_find=<Primary>f +menu_findnext=<Primary>g +menu_findprevious=<Primary><Shift>g +menu_findnextsel= +menu_findprevsel= +menu_replace=<Primary>h +menu_findinfiles=<Primary><Shift>f +menu_nextmessage= +menu_previousmessage= +popup_findusage=<Primary><Shift>e +popup_finddocumentusage=<Primary><Shift>d +find_markall=<Primary><Shift>m +nav_back=<Alt>Left +nav_forward=<Alt>Right +menu_gotoline=<Primary>l +edit_gotomatchingbrace=<Primary>b +edit_togglemarker=<Primary>m +edit_gotonextmarker=<Primary>period +edit_gotopreviousmarker=<Primary>comma +popup_gototagdefinition=<Primary>t +popup_gototagdeclaration=<Primary><Shift>t +edit_gotolinestart=Home +edit_gotolineend=End +edit_gotolinestartvisual=<Alt>Home +edit_gotolineendvisual=<Alt>End +edit_prevwordstart=<Primary>slash +edit_nextwordstart=<Primary>backslash +menu_toggleall= +menu_fullscreen=F11 +menu_messagewindow= +toggle_sidebar= +menu_zoomin=<Primary>plus +menu_zoomout=<Primary>minus +normal_size=<Primary>0 +menu_linewrap= +menu_linebreak= +menu_clone= +menu_strip_trailing_spaces= +menu_replacetabs= +menu_replacespaces= +menu_togglefold= +menu_foldall= +menu_unfoldall= +reloadtaglist=<Primary><Shift>r +remove_markers= +remove_error_indicators= +remove_markers_and_indicators= +project_new= +project_new_from_folder= +project_open= +project_properties= +project_close= +build_compile=F8 +build_link=F9 +build_make=<Shift>F9 +build_makeowntarget=<Primary><Shift>F9 +build_makeobject=<Shift>F8 +build_nexterror= +build_previouserror= +build_run=F5 +build_options= +menu_opencolorchooser= +menu_help=F1 +switch_editor=F2 +switch_search_bar=F7 +switch_message_window= +switch_compiler= +switch_messages= +switch_scribble=F6 +switch_vte=F4 +switch_sidebar= +switch_sidebar_symbol_list= +switch_sidebar_doc_list= +switch_tableft=<Primary>Page_Up +switch_tabright=<Primary>Page_Down +switch_tablastused=<Primary>Tab +move_tableft=<Primary><Shift>Page_Up +move_tabright=<Primary><Shift>Page_Down +move_tabfirst= +move_tablast= + +[file_browser] +focus_file_list= +focus_path_entry= diff --git a/dotfiles/.config/gtk2rc b/dotfiles/.config/gtk2rc @@ -0,0 +1,19 @@ +# DO NOT EDIT! This file will be overwritten by LXAppearance. +# Any customization should be done in ~/.gtkrc-2.0.mine instead. + +include "/home/USER_USERNAME/.gtkrc-2.0.mine" +gtk-theme-name="Greybird-dark" +gtk-icon-theme-name="Papirus-Dark" +gtk-font-name="Roboto 12" +gtk-cursor-theme-name="Adwaita" +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintfull" +gtk-xft-rgba="rgb" diff --git a/dotfiles/.config/kitty/kitty.conf b/dotfiles/.config/kitty/kitty.conf @@ -0,0 +1,42 @@ +# font_family FiraCode Nerd Font Mon +# font_family xos4 Terminus +# bold_font auto +# italic_font auto +# bold_italic_font auto + +disable_ligatures always +font_size 11 +window_padding_width 3 +background_opacity 1 +shell_integration no-title +hide_window_decorations no +#confirm_os_window_close 0 +#linux_display_server x11 +close_on_child_death yes +enable_audio_bell no +cursor_shape beam +paste_actions filter +clipboard_control write-clipboard write-primary read-clipboard read-primary +remember_window_size no + +initial_window_height 25c +initial_window_width 100c + +map ctrl+shift+z send_text all \u0019 +map ctrl+tab send_text all \u001B[27;5;9~ +map ctrl+shift+tab send_text all \u001B[27;6;9~ +map ctrl+shift+left send_text all \x1b[1;6D +map ctrl+shift+right send_text all \x1b[1;6C + +# BEGIN_KITTY_THEME +# Adwaita dark +include retro.conf +# END_KITTY_THEME + + +# BEGIN_KITTY_FONTS +font_family family="AcPlusToshibaSat9x 14 Nerd Font" +bold_font auto +italic_font auto +bold_italic_font auto +# END_KITTY_FONTS diff --git a/dotfiles/.config/kitty/retro.conf b/dotfiles/.config/kitty/retro.conf @@ -0,0 +1,53 @@ +# vim:ft=kitty + +## name: Adwaita dark +## license: MIT +## author: Emil Löfquist (https://github.com/ewal) +## upstream: https://github.com/ewal/kitty-adwaita/blob/main/adwaita_dark.conf +## blurb: Adwaita dark - based on https://github.com/Mofiqul/adwaita.nvim + +background #231f20 +foreground #ffffff +# background #dcdcdc +# foreground #323232 + +selection_background #2b2b2b +selection_foreground #ffffff + +url_color #1a5fb4 + +wayland_titlebar_color system +macos_titlebar_color system + +cursor #deddda +cursor_text_color #1d1d1d + +active_border_color #4f4f4f +inactive_border_color #282828 +bell_border_color #ed333b +visual_bell_color none + +active_tab_background #242424 +active_tab_foreground #fcfcfc +inactive_tab_background #303030 +inactive_tab_foreground #b0afac +tab_bar_background none +tab_bar_margin_color none + +color0 #17acf1 +color1 #fd3762 +color2 #1ba172 +color3 #f7c067 +color4 #f77067 +color5 #a35fc8 +color6 #4074b4 +color7 #d8d8d8 + +color8 #159ddc +color9 #f22c57 +color10 #189066 +color11 #ddab5c +color12 #df635d +color13 #995abe +color14 #306bb4 +color15 #eeeeee