From b41671910c1bbf551f0ccfb7137bbf92d6c5c4ed Mon Sep 17 00:00:00 2001 From: Ahurac Date: Sat, 6 Jan 2024 14:42:48 +0100 Subject: [PATCH] Suppression : configs outils que j'utilise plus --- config/eww/eww.scss | 55 -------------- config/eww/eww.yuck | 75 ------------------- config/eww/scripts/getvol | 2 - config/helix/config.toml | 151 -------------------------------------- config/kitty/kitty.conf | 12 --- config/kitty/ssh.conf | 2 - 6 files changed, 297 deletions(-) delete mode 100644 config/eww/eww.scss delete mode 100644 config/eww/eww.yuck delete mode 100755 config/eww/scripts/getvol delete mode 100644 config/helix/config.toml delete mode 100644 config/kitty/kitty.conf delete mode 100644 config/kitty/ssh.conf diff --git a/config/eww/eww.scss b/config/eww/eww.scss deleted file mode 100644 index efa2a50..0000000 --- a/config/eww/eww.scss +++ /dev/null @@ -1,55 +0,0 @@ -* { - all: unset; //Unsets everything so you can style everything from scratch -} - -//Global Styles -.bar { - background-color: #3a3a3a; - color: #b0b4bc; - padding: 10px; -} - -// Styles on classes (see eww.yuck for more information) - -.sidestuff slider { - all: unset; - color: #ffd5cd; -} - -.metric scale trough highlight { - all: unset; - background-color: #D35D6E; - color: #000000; - border-radius: 10px; -} -.metric scale trough { - all: unset; - background-color: #4e4e4e; - border-radius: 50px; - min-height: 3px; - min-width: 50px; - margin-left: 10px; - margin-right: 20px; -} -.metric scale trough highlight { - all: unset; - background-color: #D35D6E; - color: #000000; - border-radius: 10px; -} -.metric scale trough { - all: unset; - background-color: #4e4e4e; - border-radius: 50px; - min-height: 3px; - min-width: 50px; - margin-left: 10px; - margin-right: 20px; -} -.label-ram { - font-size: large; -} -.workspaces button:hover { - color: #D35D6E; -} - diff --git a/config/eww/eww.yuck b/config/eww/eww.yuck deleted file mode 100644 index 98a9c03..0000000 --- a/config/eww/eww.yuck +++ /dev/null @@ -1,75 +0,0 @@ -(defwidget bar [] - (centerbox :orientation "h" - (workspaces) - (music) - (sidestuff))) - -(defwidget sidestuff [] - (box :class "sidestuff" :orientation "h" :space-evenly false :halign "end" - (metric :label "🔊" - :value volume - :onchange "wpctl set-volume @DEFAULT-SINK@ {}%") - (metric :label "" - :value {EWW_RAM.used_mem_perc} - :onchange "") - (metric :label "💾" - :value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)} - :onchange "") - time)) - -(defwidget workspaces [] - (box :class "workspaces" - :orientation "h" - :space-evenly true - :halign "start" - :spacing 10 - (button :onclick "hyprctl dispatch workspace 0" 1) - (button :onclick "hyprctl dispatch workspace 1" 2) - (button :onclick "hyprctl dispatch workspace 2" 3) - (button :onclick "hyprctl dispatch workspace 3" 4) - (button :onclick "hyprctl dispatch workspace 4" 5) - (button :onclick "hyprctl dispatch workspace 5" 6) - (button :onclick "hyprctl dispatch workspace 6" 7) - (button :onclick "hyprctl dispatch workspace 7" 8) - (button :onclick "hyprctl dispatch workspace 8" 9))) - -(defwidget music [] - (box :class "music" - :orientation "h" - :space-evenly false - :halign "center" - {music != "" ? "🎵${music}" : ""})) - - -(defwidget metric [label value onchange] - (box :orientation "h" - :class "metric" - :space-evenly false - (box :class "label" label) - (scale :min 0 - :max 101 - :active {onchange != ""} - :value value - :onchange onchange))) - - - -(deflisten music :initial "" - "playerctl --follow metadata --format '{{ artist }} - {{ title }}' || true") - -(defpoll volume :interval "1s" - "scripts/getvol") - -(defpoll time :interval "1s" - "date '+%Y-%m-%d | %H:%M:%S'") - -(defwindow bar - :monitor 0 - :windowtype "dock" - :geometry (geometry :x "0%" - :y "0%" - :width "90%" - :height "10px" - :anchor "top center") - :reserve (struts :side "top" :distance "4%") - (bar)) diff --git a/config/eww/scripts/getvol b/config/eww/scripts/getvol deleted file mode 100755 index b7f6385..0000000 --- a/config/eww/scripts/getvol +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec wpctl get-volume @DEFAULT-SINK@ diff --git a/config/helix/config.toml b/config/helix/config.toml deleted file mode 100644 index 29dada9..0000000 --- a/config/helix/config.toml +++ /dev/null @@ -1,151 +0,0 @@ -theme = "catppuccin_macchiato" - -[editor] -line-number = "relative" -cursorline = true -color-modes = true - -[editor.cursor-shape] -insert = "bar" -normal = "block" -select = "underline" - -[editor.indent-guides] -render = true - -[keys.normal] -# Quick iteration on config changes -C-o = ":config-open" -C-r = ":config-reload" - -# Some nice Helix stuff -C-h = "select_prev_sibling" -C-j = "shrink_selection" -C-k = "expand_selection" -C-l = "select_next_sibling" - -# Personal preference -o = ["open_below", "normal_mode"] -O = ["open_above", "normal_mode"] - -# Muscle memory -"{" = ["goto_prev_paragraph", "collapse_selection"] -"}" = ["goto_next_paragraph", "collapse_selection"] -0 = "goto_line_start" -"$" = "goto_line_end" -"^" = "goto_first_nonwhitespace" -G = "goto_file_end" -"%" = "match_brackets" -V = ["select_mode", "extend_to_line_bounds"] -C = ["extend_to_line_end", "yank_main_selection_to_clipboard", "delete_selection", "insert_mode"] -D = ["extend_to_line_end", "yank_main_selection_to_clipboard", "delete_selection"] -S = "surround_add" # Would be nice to be able to do something after this but it isn't chainable - -# Clipboards over registers ye ye -x = "delete_selection" -p = ["paste_clipboard_after", "collapse_selection"] -P = ["paste_clipboard_before", "collapse_selection"] -# Would be nice to add ya and yi, but the surround commands can't be chained -Y = ["extend_to_line_end", "yank_main_selection_to_clipboard", "collapse_selection"] - -# Uncanny valley stuff, this makes w and b behave as they do Vim -w = ["move_next_word_start", "move_char_right", "collapse_selection"] -W = ["move_next_long_word_start", "move_char_right", "collapse_selection"] -e = ["move_next_word_end", "collapse_selection"] -E = ["move_next_long_word_end", "collapse_selection"] -b = ["move_prev_word_start", "collapse_selection"] -B = ["move_prev_long_word_start", "collapse_selection"] - -# If you want to keep the selection-while-moving behaviour of Helix, this two lines will help a lot, -# especially if you find having text remain selected while you have switched to insert or append mode -# -# There is no real difference if you have overridden the commands bound to 'w', 'e' and 'b' like above -# But if you really want to get familiar with the Helix way of selecting-while-moving, comment the -# bindings for 'w', 'e', and 'b' out and leave the bindings for 'i' and 'a' active below. A world of difference! -i = ["insert_mode", "collapse_selection"] -a = ["append_mode", "collapse_selection"] - -# Undoing the 'd' + motion commands restores the selection which is annoying -u = ["undo", "collapse_selection"] - -# Escape the madness! No more fighting with the cursor! Or with multiple cursors! -esc = ["collapse_selection", "keep_primary_selection"] - -# Search for word under cursor -"*" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_next"] -"#" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_prev"] - -# Make j and k behave as they do Vim when soft-wrap is enabled -j = "move_line_down" -k = "move_line_up" - -# Extend and select commands that expect a manual input can't be chained -# I've kept d[X] commands here because it's better to at least have the stuff you want to delete -# selected so that it's just a keystroke away to delete -[keys.normal.d] -d = ["extend_to_line_bounds", "yank_main_selection_to_clipboard", "delete_selection"] -t = ["extend_till_char"] -s = ["surround_delete"] -i = ["select_textobject_inner"] -a = ["select_textobject_around"] -j = ["select_mode", "extend_to_line_bounds", "extend_line_below", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"] -down = ["select_mode", "extend_to_line_bounds", "extend_line_below", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"] -k = ["select_mode", "extend_to_line_bounds", "extend_line_above", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"] -up = ["select_mode", "extend_to_line_bounds", "extend_line_above", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"] -G = ["select_mode", "extend_to_line_bounds", "goto_last_line", "extend_to_line_bounds", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"] -w = ["move_next_word_start", "yank_main_selection_to_clipboard", "delete_selection"] -W = ["move_next_long_word_start", "yank_main_selection_to_clipboard", "delete_selection"] -g = { g = ["select_mode", "extend_to_line_bounds", "goto_file_start", "extend_to_line_bounds", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"] } - -[keys.normal.y] -y = ["extend_to_line_bounds", "yank_main_selection_to_clipboard", "normal_mode", "collapse_selection"] -j = ["select_mode", "extend_to_line_bounds", "extend_line_below", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] -down = ["select_mode", "extend_to_line_bounds", "extend_line_below", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] -k = ["select_mode", "extend_to_line_bounds", "extend_line_above", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] -up = ["select_mode", "extend_to_line_bounds", "extend_line_above", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] -G = ["select_mode", "extend_to_line_bounds", "goto_last_line", "extend_to_line_bounds", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] -w = ["move_next_word_start", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] -W = ["move_next_long_word_start", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] -g = { g = ["select_mode", "extend_to_line_bounds", "goto_file_start", "extend_to_line_bounds", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] } - -[keys.insert] -# Escape the madness! No more fighting with the cursor! Or with multiple cursors! -esc = ["collapse_selection", "normal_mode"] - -[keys.select] -# Muscle memory -"{" = ["extend_to_line_bounds", "goto_prev_paragraph"] -"}" = ["extend_to_line_bounds", "goto_next_paragraph"] -0 = "goto_line_start" -"$" = "goto_line_end" -"^" = "goto_first_nonwhitespace" -G = "goto_file_end" -D = ["extend_to_line_bounds", "delete_selection", "normal_mode"] -C = ["goto_line_start", "extend_to_line_bounds", "change_selection"] -"%" = "match_brackets" -S = "surround_add" # Basically 99% of what I use vim-surround for -u = ["switch_to_lowercase", "collapse_selection", "normal_mode"] -U = ["switch_to_uppercase", "collapse_selection", "normal_mode"] - -# Visual-mode specific muscle memory -i = "select_textobject_inner" -a = "select_textobject_around" - -# Some extra binds to allow us to insert/append in select mode because it's nice with multiple cursors -tab = ["insert_mode", "collapse_selection"] # tab is read by most terminal editors as "C-i" -C-a = ["append_mode", "collapse_selection"] - -# Make selecting lines in visual mode behave sensibly -k = ["extend_line_up", "extend_to_line_bounds"] -j = ["extend_line_down", "extend_to_line_bounds"] - -# Clipboards over registers ye ye -d = ["yank_main_selection_to_clipboard", "delete_selection"] -x = ["yank_main_selection_to_clipboard", "delete_selection"] -y = ["yank_main_selection_to_clipboard", "normal_mode", "flip_selections", "collapse_selection"] -Y = ["extend_to_line_bounds", "yank_main_selection_to_clipboard", "goto_line_start", "collapse_selection", "normal_mode"] -p = "replace_selections_with_clipboard" # No life without this -P = "paste_clipboard_before" - -# Escape the madness! No more fighting with the cursor! Or with multiple cursors! -esc = ["collapse_selection", "keep_primary_selection", "normal_mode"] diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf deleted file mode 100644 index 9fe4ac8..0000000 --- a/config/kitty/kitty.conf +++ /dev/null @@ -1,12 +0,0 @@ -# General -enable_audio_bell no - -# Fonts -font_family Hack Nerd Font -bold_font auto -italic_font auto -bold_italic_font auto - -# Opacity -background_opacity 0.9 - diff --git a/config/kitty/ssh.conf b/config/kitty/ssh.conf deleted file mode 100644 index 38afc71..0000000 --- a/config/kitty/ssh.conf +++ /dev/null @@ -1,2 +0,0 @@ -share_connections yes -