diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/Yubico/u2f_keys | 3 | ||||
-rw-r--r-- | .config/alacritty.yml | 84 | ||||
-rw-r--r-- | .config/gtk-3.0/settings.ini | 2 | ||||
-rw-r--r-- | .config/picom.conf | 13 | ||||
-rw-r--r-- | .config/starship.toml | 201 |
5 files changed, 301 insertions, 2 deletions
diff --git a/.config/Yubico/u2f_keys b/.config/Yubico/u2f_keys index 291a090..ef328bc 100644 --- a/.config/Yubico/u2f_keys +++ b/.config/Yubico/u2f_keys @@ -1 +1,2 @@ -dakkar:TSjB7MrP1bnTzw3B2_iutHC-htsWaTk-GdHCjw9nZOE9fDoi6JiP-9Ysig3oYwal8B7ZhXPR-pY5apAJKxaRxw,04ebd3766782950a327c70b35e02d227faea091bee86d07616985797f9122beb87183c2ebd7a5c739133b334772669672f12ec2c978857bdeaf889b25eb3c0f40e
\ No newline at end of file +dakkar:d9_Fyz9d0-GMcvQwWOfd4nhVix7yWzNpwPfk3lWzEgmzC9elswQRBH5btgqyvqNcTn-YiNE5m6NBq4SLCAYBwQ,0463f72b3b50b4de19e2351a9dda1de1038ec1df1393cc13e34744b6bd55d256e1c06a2f88701a3a7884fab090dc0aac004ca6437837935446b361a9e6889e9282 +dakkar:TSjB7MrP1bnTzw3B2_iutHC-htsWaTk-GdHCjw9nZOE9fDoi6JiP-9Ysig3oYwal8B7ZhXPR-pY5apAJKxaRxw,04ebd3766782950a327c70b35e02d227faea091bee86d07616985797f9122beb87183c2ebd7a5c739133b334772669672f12ec2c978857bdeaf889b25eb3c0f40e diff --git a/.config/alacritty.yml b/.config/alacritty.yml new file mode 100644 index 0000000..8e867b2 --- /dev/null +++ b/.config/alacritty.yml @@ -0,0 +1,84 @@ +shell: + program: /bin/bash + args: + - '--login' + +window: + dimensions: + columns: 80 + lines: 37 + opacity: 0.86 + resize_increments: true + option_as_alt: Both + alt_send_esc: true + +font: + normal: + family: 'DejaVuSansM Nerd Font Mono' + style: 'Regular' + bold: + family: 'DejaVuSansM Nerd Font Mono' + style: 'Bold' + italic: + family: 'DejaVuSansM Nerd Font Mono' + style: 'Oblique' + bold_italic: + family: 'DejaVuSansM Nerd Font Mono' + style: 'Bold Oblique' + size: 8.0 + builtin_box_drawing: false + +# theme: high-contrast, plus the blues from github-dark, from +# https://github.com/alacritty/alacritty-theme +colors: + # Default colors + primary: + background: '0x0a0a0a' + foreground: '0xdddddd' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0xaaaaaa' + cursor: '0xffffff' + + # Normal colors + normal: + black: '0x000000' + red: '0xff0000' + green: '0x00ff00' + yellow: '0xffff00' + blue: '0x2188ff' + magenta: '0xff00ff' + cyan: '0x00ffff' + white: '0xffffff' + + # Bright colors + bright: + black: '0x888888' + red: '0xff0000' + green: '0x00ff00' + yellow: '0xffff00' + blue: '0x79b8ff' + magenta: '0xff00ff' + cyan: '0x00ffff' + white: '0xffffff' + +draw_bold_text_with_bright_colors: true + +selection: + semantic_escape_chars: " !@#$%^&*(){}[]'\",.<>/?=+-\\|`~;:" + +hints: + alphabet: "aoeuidhtns" + enabled: + - regex: "(mailto|http|https):[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + hyperlinks: true + command: xdg-open + post_processing: true + mouse: + enabled: true + mods: Command + binding: + key: Tab + mods: Control|Command + diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini index c7c47ac..e0c313f 100644 --- a/.config/gtk-3.0/settings.ini +++ b/.config/gtk-3.0/settings.ini @@ -1,7 +1,7 @@ [Settings] gtk-theme-name=Adwaita gtk-icon-theme-name=gnome -gtk-font-name=Sans 6 +gtk-font-name=Sans 12 gtk-cursor-theme-name=justblue gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_BOTH diff --git a/.config/picom.conf b/.config/picom.conf new file mode 100644 index 0000000..c53d5a9 --- /dev/null +++ b/.config/picom.conf @@ -0,0 +1,13 @@ +dbus=true; +#backend="glx"; +glx-no-stencil=true; + +inactive-opacity = 0.95; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +detect-transient = true; + +opacity-rule = [ + "70:class_g = 'FvwmPager'", + "70:class_g = 'FvwmButtons'", +]; diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..f57e03a --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,201 @@ +# Get editor completions based on the config schema +"$schema" = 'https://starship.rs/config-schema.json' + +# Inserts a blank line between shell prompts +add_newline = true + +format = """ +[](fg:user)\ +$username[@](bg:user fg:user_fg)$hostname${custom.screen}\ +[](fg:user bg:dir)\ +$directory\ +[](bg:time fg:dir)\ +$time\ +[](fg:time)\n\ +([](fg:vcs)\ +$vcsh\ +$git_branch\ +$git_status\ +$git_state\ +$git_commit\ +[](fg:vcs bg:lang)\ +$c\ +$golang\ +$java\ +$nodejs\ +$perl\ +$raku\ +$ruby\ +$rust\ +$vagrant\ +[](fg:lang)\n)\ +[](fg:jobs)\ +$jobs\ +[](fg:jobs bg:status)\ +$status\ +[](fg:status) \ +""" + +continuation_prompt = '▶▶ ' + +palette = 'pastels' + +[palettes.pastels] +user = '#0A348E' +user_fg = 'white' +user_root = '#FF0000' +screen_fg = '#00FF00' +time = '#33658A' +time_fg = 'white' +dir = '#DA627D' +dir_fg = 'white' +dir_repo_fg='black' +dir_ro_fg='yellow' +vcs = '#FCA17D' +vcs_fg = 'black' +lang = '#86BBD8' +lang_fg = 'black' +jobs = '#DA627D' +jobs_fg = 'black' +status = '#33658A' +status_fg = 'white' + +[c] +symbol = " " +style = "bg:lang fg:lang_fg" +format = '[ $symbol ($version) ]($style)' + +[directory] +read_only = " " +style = 'bg:dir fg:dir_fg' +read_only_style = 'bg:dir fg:dir_ro_fg' +repo_root_style = 'bg:dir fg:dir_repo_fg' +format = "[ $path]($style)[$read_only ]($read_only_style)" +repo_root_format = "[$before_root_path]($before_repo_root_style)[$repo_root]($repo_root_style)[$path]($style)[$read_only ]($read_only_style)" +truncation_length = 3 +truncation_symbol = "…/" +truncate_to_repo = false + +[git_branch] +symbol = " " +style = "bg:vcs fg:vcs_fg" +format = '[ $symbol$branch]($style)' +only_attached = false + +[git_commit] +only_detached = false +tag_disabled = false +style = "bg:vcs fg:vcs_fg" +format = "[ $hash$tag]($style)" + +[git_status] +style = "bg:vcs fg:vcs_fg" +conflicted = "⚔️" +ahead = "⏫${count}" +behind = "⏬${count}" +diverged = "⏫${ahead_count}⏬${behind_count}" +untracked = "🤷${count}" +stashed = "📦${count}" +modified = "📝${count}" +staged = "🗃️ ${count}" +renamed = "📛${count}" +deleted = "🗑️${count}" +format = '[ $all_status$ahead_behind]($style)' + +[golang] +symbol = " " +style = "bg:lang fg:lang_fg" +format = '[ $symbol($version)]($style)' + +[hg_branch] +symbol = " " +style = "bg:vcs fg:vcs_fg" +format = '[ $symbol$branch]($style)' + +[hostname] +ssh_symbol = " " +ssh_only = false +style = "bg:user fg:user_fg" +format = '[$hostname$ssh_symbol]($style)' + +[java] +symbol = " " +style = "bg:lang fg:lang_fg" +format = '[ $symbol($version)]($style)' + +[jobs] +number_threshold = 0 +style = "bg:jobs fg:jobs_fg" +format = '[$symbol$number]($style)' + +[nodejs] +symbol = " " +style = "bg:lang fg:lang_fg" +format = '[ $symbol ($version) ]($style)' + +[package] +symbol = " " +style = "bg:lang fg:lang_fg" + +[perl] +symbol = "🐪" +style = "bg:lang fg:lang_fg" +format = '[ $symbol($version)]($style)' +detect_files = [ 'Makefile.PL', 'Build.PL', 'cpanfile', 'cpanfile.snapshot', 'META.json', 'META.yml', '.perl-version', 'dist.ini' ] + +[python] +symbol = " " +style = "bg:lang fg:lang_fg" +format = '[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)' + +[raku] +symbol = "🦋" +style = "bg:lang fg:lang_fg" +format = '[ $symbol($version)]($style)' + +[ruby] +symbol = " " +style = "bg:lang fg:lang_fg" +format = '[ $symbol($version)]($style)' + +[rust] +symbol = " " +style = "bg:lang fg:lang_fg" +format = '[ $symbol($version)]($style)' + +[status] +disabled = false +style = 'bg:status fg:status_fg' +format = '[$symbol$maybe_int$signal_name]($style)' +success_symbol = '' + +[sudo] +disabled = true +format = '[as $symbol]($style)' + +[time] +disabled = false +time_format = "%F %T" +style = "bg:time fg:time_fg" +format = '[ 🕙 $time ]($style)' + +[username] +format = '[$user]($style)' +show_always = true +style_user = "bg:user fg:user_fg" +style_root = "bg:user_root fg:user_fg" +disabled = false + +[vagrant] +style = "bg:lang fg:lang_fg" +format = '[ $symbol($version)]($style)' + +[vcsh] +style = "bg:vcs fg:vcs_fg" +format = '[ $repo]($style)' + +[custom.screen] +style = "bg:user fg:screen_fg" +when = '[[ "$TERM" == screen ]]' +command = 'echo "$WINDOW(${STY#*.})"' +format = '[ $output]($style)' |