diff --git a/home/dot_config/alacritty/alacritty.yml b/home/dot_config/alacritty/alacritty.yml new file mode 100644 index 00000000..76ce36f3 --- /dev/null +++ b/home/dot_config/alacritty/alacritty.yml @@ -0,0 +1,53 @@ +# Configuration for Alacritty, the GPU enhanced terminal emulator + +# Any items in the `env` entry below will be added as +# environment variables. Some entries may override variables +# set by alacritty it self. +env: + # TERM env customization. + # + # If this property is not set, alacritty will set it to xterm-256color. + # + # Note that some xterm terminfo databases don't declare support for italics. + # You can verify this by checking for the presence of `smso` and `sitm` in + # `infocmp xterm-256color`. + TERM: xterm-256color + +# Font configuration (changes require restart) +font: + # Normal (roman) font face + normal: + family: JetBrainsMono Nerd Font + # The `style` can be specified to pick a specific face. + style: Regular + + # Bold font face + bold: + family: JetBrainsMono Nerd Font + # The `style` can be specified to pick a specific face. + style: Bold + + # Italic font face + italic: + family: JetBrainsMono Nerd Font + # The `style` can be specified to pick a specific face. + style: Italic + + # Point size of the font + size: 11.0 + + # Offset is the extra space around each character. `offset.y` can be thought of + # as modifying the line spacing, and `offset.x` as modifying the letter spacing. + offset: + x: 0 + y: 0 + + # Glyph offset determines the locations of the glyphs within their cells with + # the default being at the bottom. Increasing `x` moves the glyph to the right, + # increasing `y` moves the glyph upwards. + glyph_offset: + x: 0 + y: 0 + +import: + - /home/tstarr/.config/alacritty/dracula.yml diff --git a/home/dot_config/alacritty/dracula.yml b/home/dot_config/alacritty/dracula.yml new file mode 100644 index 00000000..529782fc --- /dev/null +++ b/home/dot_config/alacritty/dracula.yml @@ -0,0 +1,61 @@ +# Dracula theme for Alacritty +# https://draculatheme.com/alacritty +# +# Color palette +# https://spec.draculatheme.com +# +# Template +# https://github.com/alacritty/alacritty/blob/master/alacritty.yml + +colors: + primary: + background: '#282a36' + foreground: '#f8f8f2' + bright_foreground: '#ffffff' + cursor: + text: CellBackground + cursor: CellForeground + vi_mode_cursor: + text: CellBackground + cursor: CellForeground + search: + matches: + foreground: '#44475a' + background: '#50fa7b' + focused_match: + foreground: '#44475a' + background: '#ffb86c' + footer_bar: + background: '#282a36' + foreground: '#f8f8f2' + hints: + start: + foreground: '#282a36' + background: '#f1fa8c' + end: + foreground: '#f1fa8c' + background: '#282a36' + line_indicator: + foreground: None + background: None + selection: + text: CellForeground + background: '#44475a' + normal: + black: '#21222c' + red: '#ff5555' + green: '#50fa7b' + yellow: '#f1fa8c' + blue: '#bd93f9' + magenta: '#ff79c6' + cyan: '#8be9fd' + white: '#f8f8f2' + bright: + black: '#6272a4' + red: '#ff6e6e' + green: '#69ff94' + yellow: '#ffffa5' + blue: '#d6acff' + magenta: '#ff92df' + cyan: '#a4ffff' + white: '#ffffff' diff --git a/home/dot_config/greenclip.toml b/home/dot_config/greenclip.toml new file mode 100644 index 00000000..f8a9902e --- /dev/null +++ b/home/dot_config/greenclip.toml @@ -0,0 +1,11 @@ + +[greenclip] + blacklisted_applications = [] + enable_image_support = true + history_file = "/home/tstarr/.cache/greenclip.history" + image_cache_directory = "/tmp/greenclip" + max_history_length = 50 + max_selection_size_bytes = 0 + static_history = ["Greenclip has been updated to v4.1, update your new config file at ~/.config/greenclip.toml"] + trim_space_from_selection = true + use_primary_selection_as_input = false diff --git a/home/dot_config/i3/config.tmpl b/home/dot_config/i3/config.tmpl index 72b33724..dbc15e73 100644 --- a/home/dot_config/i3/config.tmpl +++ b/home/dot_config/i3/config.tmpl @@ -139,8 +139,8 @@ mode $mode_power { bindsym $mod+x mode utility mode utility { bindsym q exit - bindsym r exec chezmoi apply && i3-msg restart - bindsym c exec "CM_LAUNCHER=rofi clipmenu -i", $e + bindsym r restart + bindsym c exec "rofi -modi 'clipboard:greenclip print' -show clipboard -run-command '{cmd}'", $e # TODO: flameshot (mod+Ctrl+f) # TODO: gamemode (mod+Ctrl+g). Needs script to toggle bindsym Escape mode default @@ -240,7 +240,6 @@ mode scratch { exec --no-startup-id "autorandr --change && i3-msg restart" exec --no-startup-id "pipewire & pipewire-pulse &" exec_always --no-startup-id "$HOME/.config/i3/scripts/polybar.sh" -exec --no-startup-id "clipmenud" -exec_always --no-startup-id "nm-applet" +exec --no-startup-id "greenclip daemon &" exec_always --no-startup-id "blueman-applet" exec_always --no-startup-id nitrogen --restore diff --git a/home/dot_config/polybar/common b/home/dot_config/polybar/common index 95761328..3e71af78 100644 --- a/home/dot_config/polybar/common +++ b/home/dot_config/polybar/common @@ -4,9 +4,9 @@ radius = 0 line-size = 0 bottom = false -font-0 = "Ubuntu:size=10;2" -font-1 = "Ubuntu:style=Bold:size=11;2" -font-2 = "Ubuntu Nerd Font:size=11;2" +font-0 = "JetBrainsMono Nerd Font:size=11;2" +font-1 = "JetBrainsMono Nerd Font:style=Bold:size=12;2" +font-2 = "JetBrainsMono Nerd Font:size=12;2" override-redirect = false screenchange-reload = true diff --git a/home/dot_config/polybar/dracula.tmpl b/home/dot_config/polybar/dracula.tmpl index b82dd7fd..c1089165 100644 --- a/home/dot_config/polybar/dracula.tmpl +++ b/home/dot_config/polybar/dracula.tmpl @@ -88,8 +88,8 @@ type = internal/pulseaudio sink = alsa_output.pci-0000_00_1b.0.analog-stereo use-ui-max = true interval = 5 -format-volume = 墳 -format-muted = 墳Muted +format-volume = 墳 +format-muted = 墳 Muted [module/title] type = internal/xwindow diff --git a/provision/tasks/desktop/packages.yml b/provision/tasks/desktop/packages.yml index f1d16067..8458c06e 100644 --- a/provision/tasks/desktop/packages.yml +++ b/provision/tasks/desktop/packages.yml @@ -26,6 +26,7 @@ - autorandr - xsel - clipmenu + - nerd-fonts state: present become: true @@ -46,6 +47,12 @@ remote_src: true mode: 0755 - #void-repo-multilib - #void-repo-multilib-nonfree - #void-repo-nonfree +- name: Install greenclip + get_url: + url: "https://github.com/erebe/greenclip/releases/download/v4.2/greenclip" + dest: /home/{{ user }}/bin + mode: 0755 + +#void-repo-multilib +#void-repo-multilib-nonfree +#void-repo-nonfree diff --git a/void.md b/void.md index a9ed58eb..a20a3ff4 100644 --- a/void.md +++ b/void.md @@ -15,6 +15,12 @@ sudo ln -s /etc/sv/polkitd /var/service sudo ln -s /etc/sv/bluetoothd /var/service ``` +## enable sshd + +```bash +sudo ln -s /etc/sv/sshd /var/service +``` + ## enable non-free and multilib ```bash