diff --git a/.config/bottom/bottom.toml b/.config/bottom/bottom.toml index c11848462..78c1b6975 100644 --- a/.config/bottom/bottom.toml +++ b/.config/bottom/bottom.toml @@ -6,7 +6,6 @@ left_legend = true group_processes = true regex = true hide_table_gap = true -dot_marker = true [temp_filter] is_list_ignored = true diff --git a/.config/glow/glow.yml b/.config/glow/glow.yml index fac17bc76..b15bacab4 100644 --- a/.config/glow/glow.yml +++ b/.config/glow/glow.yml @@ -1,4 +1,4 @@ # style name or JSON path (default "auto") -style: "/home/fra/.config/glow/gruvbox-elkowar.json" +style: "light" # show local files only; no network (TUI-mode only) local: true diff --git a/.config/glow/gruvbox-elkowar.json b/.config/glow/gruvbox-elkowar.json deleted file mode 100644 index 5c6cf8d5d..000000000 --- a/.config/glow/gruvbox-elkowar.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "document": { - "block_prefix": "\n", - "block_suffix": "\n", - "color": "#ebdbb2", - "margin": 2 - }, - "block_quote": { - "indent": 1, - "indent_token": "│ " - }, - "paragraph": {}, - "list": { - "level_indent": 2 - }, - "heading": { - "block_suffix": "\n", - "color": "#8ec07c", - "bold": true - }, - "h1": { - "prefix": " ", - "suffix": " ", - "color": "#1d2021", - "background_color": "#689d6a", - "bold": true - }, - "h2": { - "prefix": "## ", - "color": "#8ec07c", - "background_color": "#282828" - }, - "h3": { - "prefix": "### ", - "color": "#8ec07c", - "background_color": "#282828" - }, - "h4": { - "prefix": "#### ", - "color": "#8ec07c", - "background_color": "#282828" - }, - "h5": { - "prefix": "##### ", - "color": "#8ec07c", - "background_color": "#282828" - }, - "h6": { - "prefix": "###### ", - "color": "#8ec07c", - "background_color": "#282828", - "bold": false - }, - "text": {}, - "strikethrough": { - "crossed_out": true - }, - "emph": { - "italic": true - }, - "strong": { - "bold": true - }, - "hr": { - "color": "240", - "format": "\n--------\n" - }, - "item": { - "block_prefix": "• " - }, - "enumeration": { - "block_prefix": ". " - }, - "task": { - "ticked": "[✓] ", - "unticked": "[ ] " - }, - "link": { - "color": "#83a598", - "background_color": "#282828", - "underline": true - }, - "link_text": { - "color": "#b8bb26", - "background_color": "#282828", - "bold": true - }, - "image": { - "color": "#928374", - "background_color": "#282828", - "underline": true - }, - "image_text": { - "color": "#fabd2f", - "background_color": "#282828", - "format": "Image: {{.text}} →" - }, - "code": { - "prefix": " ", - "suffix": " ", - "color": "203", - "background_color": "236" - }, - "code_block": { - "color": "244", - "margin": 2, - "chroma": { - "text": { - "color": "#ebdbb2" - }, - "error": { - "color": "#fb4934" - }, - "comment": { - "color": "#676767" - }, - "comment_preproc": { - "color": "#FF875F" - }, - "keyword": { - "color": "#00AAFF" - }, - "keyword_reserved": { - "color": "#FF5FD2" - }, - "keyword_namespace": { - "color": "#FF5F87" - }, - "keyword_type": { - "color": "#6E6ED8" - }, - "operator": { - "color": "#EF8080" - }, - "punctuation": { - "color": "#E8E8A8" - }, - "name": { - "color": "#83a598" - }, - "name_builtin": { - "color": "#FF8EC7" - }, - "name_tag": { - "color": "#B083EA" - }, - "name_attribute": { - "color": "#7A7AE6" - }, - "name_class": { - "color": "#ebdbb2", - "underline": true, - "bold": true - }, - "name_constant": {}, - "name_decorator": { - "color": "#FFFF87" - }, - "name_exception": {}, - "name_function": { - "color": "#8ec07c" - }, - "name_other": {}, - "literal": {}, - "literal_number": { - "color": "#fabd2f" - }, - "literal_date": {}, - "literal_string": { - "color": "#C69669" - }, - "literal_string_escape": { - "color": "#AFFFD7" - }, - "generic_deleted": { - "color": "#FD5B5B" - }, - "generic_emph": { - "italic": true - }, - "generic_inserted": { - "color": "#b8bb26" - }, - "generic_strong": { - "bold": true - }, - "generic_subheading": { - "color": "#8ec07c" - }, - "background": { - "background_color": "#383838" - } - } - }, - "table": { - "center_separator": "┼", - "column_separator": "│", - "row_separator": "─" - }, - "definition_list": {}, - "definition_term": {}, - "definition_description": { - "block_prefix": "\n🠶 " - }, - "html_block": {}, - "html_span": {} -} diff --git a/.config/glow/gruvbox.json b/.config/glow/gruvbox.json deleted file mode 100644 index 638c601fc..000000000 --- a/.config/glow/gruvbox.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "document": { - "block_prefix": "\n", - "block_suffix": "\n", - "color": "252", - "margin": 2 - }, - "block_quote": { - "indent": 1, - "indent_token": "│ " - }, - "paragraph": {}, - "list": { - "level_indent": 2 - }, - "heading": { - "block_suffix": "\n", - "color": "39", - "bold": true - }, - "h1": { - "prefix": " ", - "suffix": " ", - "color": "1", - "background_color": "0", - "bold": true - }, - "h2": { - "prefix": " ", - "suffix": " ", - "color": "2", - "background_color": "0", - "bold": true - }, - "h3": { - "prefix": "### " - }, - "h4": { - "prefix": "#### " - }, - "h5": { - "prefix": "##### " - }, - "h6": { - "prefix": "###### ", - "color": "35", - "bold": false - }, - "text": {}, - "strikethrough": { - "crossed_out": true - }, - "emph": { - "italic": true - }, - "strong": { - "bold": true - }, - "hr": { - "color": "240", - "format": "\n--------\n" - }, - "item": { - "block_prefix": "• " - }, - "enumeration": { - "block_prefix": ". " - }, - "task": { - "ticked": "[] ", - "unticked": "[ ] " - }, - "link": { - "color": "30", - "underline": true - }, - "link_text": { - "color": "35", - "bold": true - }, - "image": { - "color": "212", - "underline": true - }, - "image_text": { - "color": "243", - "format": "Image: {{.text}} →" - }, - "code": { - "prefix": " ", - "suffix": " ", - "color": "203", - "background_color": "236" - }, - "code_block": { - "color": "244", - "margin": 2, - "chroma": { - "text": { - "color": "#ebdbb2" - }, - "error": { - "color": "#F1F1F1", - "background_color": "#fb4934" - }, - "comment": { - "color": "#458588" - }, - "comment_preproc": { - "color": "#d79921" - }, - "keyword": { - "color": "#83a598" - }, - "keyword_reserved": { - "color": "#dd5FD2" - }, - "keyword_namespace": { - "color": "#dd5F87" - }, - "keyword_type": { - "color": "#6B6ED8" - }, - "operator": { - "color": "#b16286" - }, - "punctuation": { - "color": "#c8E8A8" - }, - "name": { - "color": "#b4b4b4" - }, - "name_builtin": { - "color": "#d3869b" - }, - "name_tag": { - "color": "#B083EA" - }, - "name_attribute": { - "color": "#7A7AE6" - }, - "name_class": { - "color": "#F1F1F1", - "underline": true, - "bold": true - }, - "name_constant": {}, - "name_decorator": { - "color": "#FFFF87" - }, - "name_exception": {}, - "name_function": { - "color": "#689d6a" - }, - "name_other": {}, - "literal": {}, - "literal_number": { - "color": "#8ec07c" - }, - "literal_date": {}, - "literal_string": { - "color": "#C69669" - }, - "literal_string_escape": { - "color": "#AFFFD7" - }, - "generic_deleted": { - "color": "#FD5B5B" - }, - "generic_emph": { - "italic": true - }, - "generic_inserted": { - "color": "#b8bb26" - }, - "generic_strong": { - "bold": true - }, - "generic_subheading": { - "color": "#777777" - }, - "background": { - "background_color": "#1d2021" - } - } - }, - "table": { - "center_separator": "┼", - "column_separator": "│", - "row_separator": "─" - }, - "definition_list": {}, - "definition_term": {}, - "definition_description": { - "block_prefix": "\n🠶 " - }, - "html_block": {}, - "html_span": {} -} diff --git a/.config/zsh/plugins/utils/aliasrc b/.config/zsh/plugins/utils/aliasrc index 7d45b7474..54517d59a 100644 --- a/.config/zsh/plugins/utils/aliasrc +++ b/.config/zsh/plugins/utils/aliasrc @@ -124,6 +124,7 @@ alias upbat='price bat "Basic Attention Token" 🦁 && less -R ~/.local/share/crypto-prices/bat-chart' # Media alias nc2='MPD_PORT="6600" st -c ncmpcpp -e ncmpcpp -c ~/.config/ncmpcpp2/config' + alias spl='sptlrx' alias mlr='sptlrx -p mpd' alias spo='st -c ncspot ncspot && spotup' alias spi='spotify-launcher && spotup && rmdir ~/Downloads' diff --git a/.local/bin/scripts/init-pdf b/.local/bin/scripts/init-pdf index c5883c3df..85cf3b27f 100755 --- a/.local/bin/scripts/init-pdf +++ b/.local/bin/scripts/init-pdf @@ -8,7 +8,7 @@ current = "ro" # Dictionary of PDFs to open pdfs = { "tesi": ['CFTc'], - "ro": [9, 10] + "ro": ['15'], } # Dictionary of PDF search paths for `fd` diff --git a/.local/bin/scripts/switch-theme b/.local/bin/scripts/switch-theme index 426ff7883..3e5bb10d4 100755 --- a/.local/bin/scripts/switch-theme +++ b/.local/bin/scripts/switch-theme @@ -5,6 +5,7 @@ xresources_file="$XDG_CONFIG_HOME/X11/Xresources.d/gruvbox" xsettingsd_file="$XDG_CONFIG_HOME/xsettingsd/xsettingsd.conf" gtk_settings_file="$XDG_CONFIG_HOME/gtk-3.0/settings.ini" bat_settings_file="$XDG_CONFIG_HOME/bat/config" +glow_settings_file="$XDG_CONFIG_HOME/glow/glow.yml" dark_wallpaper="$XDG_DATA_HOME/dark" light_wallpaper="$XDG_DATA_HOME/light" @@ -15,6 +16,7 @@ toggle_theme() { sed -i 's/#include "light"/#include "dark"/' "$xresources_file" sed -i 's/Net\/ThemeName "gruvbox-light"/Net\/ThemeName "Gruvbox-Material-Dark"/' "$xsettingsd_file" sed -i 's/gruvbox-light/gruvbox-dark/' "$bat_settings_file" + sed -i 's/"light"/"dark"/' "$glow_settings_file" sed -i 's/gtk-theme-name=gruvbox-light/gtk-theme-name=Gruvbox-Material-Dark/' "$gtk_settings_file" sed -i 's/gtk-icon-theme-name=gruvbox-light/gtk-icon-theme-name=Gruvbox-Material-Dark/' "$gtk_settings_file" sbg -i "$dark_wallpaper" @@ -25,6 +27,7 @@ toggle_theme() { sed -i 's/#include "dark"/#include "light"/' "$xresources_file" sed -i 's/Net\/ThemeName "Gruvbox-Material-Dark"/Net\/ThemeName "gruvbox-light"/' "$xsettingsd_file" sed -i 's/gruvbox-dark/gruvbox-light/' "$bat_settings_file" + sed -i 's/"dark"/"light"/' "$glow_settings_file" sed -i 's/gtk-theme-name=Gruvbox-Material-Dark/gtk-theme-name=gruvbox-light/' "$gtk_settings_file" sed -i 's/gtk-icon-theme-name=Gruvbox-Material-Dark/gtk-icon-theme-name=gruvbox-light/' "$gtk_settings_file" sbg -i "$light_wallpaper"