update fonts and use greenclip

This commit is contained in:
Tyler Starr 2022-12-24 00:16:26 -08:00
parent 020ec5f7b1
commit eb3517e504
8 changed files with 149 additions and 12 deletions

View File

@ -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

View File

@ -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'

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 = 墳<label-volume>
format-muted = 墳Muted
format-volume = 墳 <label-volume>
format-muted = 墳 Muted
[module/title]
type = internal/xwindow

View File

@ -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

View File

@ -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