lots of shit

This commit is contained in:
2024-08-25 03:32:39 +02:00
parent e37329013a
commit 5db877355c
36 changed files with 1070 additions and 372 deletions

378
config/alacritty.toml Normal file
View File

@@ -0,0 +1,378 @@
live_config_reload = true
[bell]
animation = "EaseOutExpo"
color = "0xffffff"
duration = 0
[colors]
draw_bold_text_with_bright_colors = false
[colors.cursor]
# Matrix dark green
cursor = "0x00ff00"
text = "0xffffff"
[colors.primary]
background = "0x1d1d1d"
foreground = "0xffffff"
[cursor]
style = "Underline"
unfocused_hollow = true
[debug]
log_level = "OFF"
persistent_logging = false
print_events = false
render_timer = false
[font]
size = 14.0
[font.bold]
family = "Hack Nerd Font"
style = "Regular"
[font.glyph_offset]
x = 0
y = 0
[font.italic]
family = "Hack Nerd Font"
style = "Italic"
[font.normal]
family = "Hack Nerd Font"
style = "Light"
[font.offset]
x = 0
y = 0
[[keyboard.bindings]]
action = "Paste"
key = "V"
mods = "Command"
[[keyboard.bindings]]
action = "Copy"
key = "C"
mods = "Command"
[[keyboard.bindings]]
action = "Quit"
key = "Q"
mods = "Command"
[[keyboard.bindings]]
action = "SpawnNewInstance"
key = "N"
mods = "Command"
[[keyboard.bindings]]
action = "ToggleFullscreen"
key = "Return"
mods = "Command"
[[keyboard.bindings]]
chars = "\u001BOH"
key = "Home"
mode = "AppCursor"
[[keyboard.bindings]]
chars = "\u001B[H"
key = "Home"
mode = "~AppCursor"
[[keyboard.bindings]]
chars = "\u001BOF"
key = "End"
mode = "AppCursor"
[[keyboard.bindings]]
chars = "\u001B[F"
key = "End"
mode = "~AppCursor"
[[keyboard.bindings]]
action = "IncreaseFontSize"
key = "Equals"
mods = "Command"
[[keyboard.bindings]]
action = "DecreaseFontSize"
key = "Minus"
mods = "Command"
[[keyboard.bindings]]
action = "ResetFontSize"
key = "Minus"
mods = "Command|Shift"
[[keyboard.bindings]]
chars = "\u001B[5;2~"
key = "PageUp"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001B[5;5~"
key = "PageUp"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[5~"
key = "PageUp"
[[keyboard.bindings]]
chars = "\u001B[6;2~"
key = "PageDown"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001B[6;5~"
key = "PageDown"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[6~"
key = "PageDown"
[[keyboard.bindings]]
chars = "\u001B[1;2D"
key = "Left"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001B[1;5D"
key = "Left"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[1;3D"
key = "Left"
mods = "Alt"
[[keyboard.bindings]]
chars = "\u001B[D"
key = "Left"
mode = "~AppCursor"
[[keyboard.bindings]]
chars = "\u001BOD"
key = "Left"
mode = "AppCursor"
[[keyboard.bindings]]
chars = "\u001B[1;2C"
key = "Right"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001B[1;5C"
key = "Right"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[1;3C"
key = "Right"
mods = "Alt"
[[keyboard.bindings]]
chars = "\u001B[C"
key = "Right"
mode = "~AppCursor"
[[keyboard.bindings]]
chars = "\u001BOC"
key = "Right"
mode = "AppCursor"
[[keyboard.bindings]]
chars = "\u001B[1;2A"
key = "Up"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001B[1;5A"
key = "Up"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[1;3A"
key = "Up"
mods = "Alt"
[[keyboard.bindings]]
chars = "\u001B[A"
key = "Up"
mode = "~AppCursor"
[[keyboard.bindings]]
chars = "\u001BOA"
key = "Up"
mode = "AppCursor"
[[keyboard.bindings]]
chars = "\u001B[1;2B"
key = "Down"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001B[1;5B"
key = "Down"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[1;3B"
key = "Down"
mods = "Alt"
[[keyboard.bindings]]
chars = "\u001B[B"
key = "Down"
mode = "~AppCursor"
[[keyboard.bindings]]
chars = "\u001BOB"
key = "Down"
mode = "AppCursor"
[[keyboard.bindings]]
chars = "\u001B[Z"
key = "Tab"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001BOP"
key = "F1"
[[keyboard.bindings]]
chars = "\u001BOQ"
key = "F2"
[[keyboard.bindings]]
chars = "\u001BOR"
key = "F3"
[[keyboard.bindings]]
chars = "\u001BOS"
key = "F4"
[[keyboard.bindings]]
chars = "\u001B[15~"
key = "F5"
[[keyboard.bindings]]
chars = "\u001B[17~"
key = "F6"
[[keyboard.bindings]]
chars = "\u001B[18~"
key = "F7"
[[keyboard.bindings]]
chars = "\u001B[19~"
key = "F8"
[[keyboard.bindings]]
chars = "\u001B[20~"
key = "F9"
[[keyboard.bindings]]
chars = "\u001B[21~"
key = "F10"
[[keyboard.bindings]]
chars = "\u001B[23~"
key = "F11"
[[keyboard.bindings]]
chars = "\u001B[24~"
key = "F12"
[[keyboard.bindings]]
chars = "\u007F"
key = "Back"
[[keyboard.bindings]]
chars = "\u001B\u007F"
key = "Back"
mods = "Alt"
[[keyboard.bindings]]
chars = "\u001B[2~"
key = "Insert"
[[keyboard.bindings]]
chars = "\u001B[3~"
key = "Delete"
[[keyboard.bindings]]
chars = "\u0002&"
key = "W"
mods = "Command"
[[keyboard.bindings]]
chars = "\u0002c"
key = "T"
mods = "Command"
[[keyboard.bindings]]
chars = "\u0002n"
key = "RBracket"
mods = "Command|Shift"
[[keyboard.bindings]]
chars = "\u0002p"
key = "LBracket"
mods = "Command|Shift"
[[keyboard.bindings]]
chars = "\u0002o"
key = "RBracket"
mods = "Command"
[[keyboard.bindings]]
chars = "\u0002;"
key = "LBracket"
mods = "Command"
[[keyboard.bindings]]
chars = "\u0002/"
key = "F"
mods = "Command"
[mouse]
hide_when_typing = true
[[mouse.bindings]]
action = "PasteSelection"
mouse = "Middle"
[[mouse.bindings]]
action = "None"
mods = "Command"
mouse = "Left"
[scrolling]
history = 10000
multiplier = 3
[selection]
save_to_clipboard = false
semantic_escape_chars = ''',│`|:"' ()[]{}<>'''
[window]
decorations = "buttonless"
dynamic_padding = false
opacity = 1.0
startup_mode = "Windowed"
[window.dimensions]
columns = 120
lines = 90
[window.padding]
x = 0
y = 0

150
config/config.yaml Normal file
View File

@@ -0,0 +1,150 @@
config:
# What groups users should be added
user_groups:
menno:
- docker
- libvirt
- video
- input
# Keybinds to set into swhkd
keybinds:
terminal:
shortcut: Ctrl + Alt + T
command: alacritty
screenshot:
shortcut: Shift + Alt + 4
command: cosmic-screenshot --interactive
# Commands to run after login
startup:
- spotify
- vesktop
- dotf hotkey-daemon
- brave-browser
- steam
- 1password
# Fonts to install (Mostly tested with Nerd Fonts)
fonts:
Hack:
url: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/Hack.zip
name: Hack
Meslo:
url: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/Meslo.zip
name: Meslo
JetBrainsMono:
url: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/JetBrainsMono.zip
name: JetBrainsMono
# Packages to install
# Note: Uninstalling packages is not supported, if you remove a package from this list it will not be removed from the system!
# Likewise with flatpak remotes, apt repositories, etc.
packages:
flatpak:
remotes:
- https://flathub.org/repo/flathub.flatpakrepo
apps:
- app.drey.Doggo
- org.gnome.Boxes
- org.gnome.baobab
- re.sonny.Junction
- com.yubico.yubioath
- net.nokyan.Resources
- com.system76.Popsicle
- com.github.marhkb.Pods
- io.github.dimtpap.coppwr
- com.github.tchx84.Flatseal
- dev.bragefuglseth.Keypunch
- io.github.flattool.Warehouse
- io.github.jonmagon.kdiskmark
- org.onlyoffice.desktopeditors
- io.missioncenter.MissionCenter
- io.podman_desktop.PodmanDesktop
- io.github.giantpinkrobots.flatsweep
- io.github.realmazharhussain.GdmSettings
- io.github.thetumultuousunicornofdarkness.cpu-x
- io.github.kukuruzka165.materialgram
# Supply a git_url and binary to install from source
cargo:
exa:
lsd:
bat:
starship:
ripgrep:
fd-find:
procs:
bottom:
alacritty:
swhkd:
git_url: https://github.com/waycrate/swhkd.git
binary: Simple-Wayland-HotKey-Daemon
swhkd:
git_url: https://github.com/waycrate/swhkd.git
binary: swhks
pipx:
- gnome-extensions-cli
- bauh
- shyaml
apt:
repos:
- ppa:nilarimogard/webupd8
- ppa:alexlarsson/flatpak
apps:
- zsh
- git
- curl
- wget
- gpg
- nala
- ca-certificates
- gnupg-agent
- software-properties-common
- apt-transport-https
- vim
- sl
- just
- libglvnd-dev
- libwayland-dev
- libseat-dev
- libxkbcommon-dev
- libinput-dev
- udev
- dbus
- libdbus-1-dev
- libsystemd-dev
- libpixman-1-dev
- libssl-dev
- libflatpak-dev
- libpulse-dev
- libexpat1-dev
- libfontconfig-dev
- libfreetype-dev
- mold
- cargo
- libgbm-dev
- libclang-dev
- libpipewire-0.3-dev
- libpam0g-dev
- openssh-server
- build-essential
- flatpak
- meson
- pipx
- python3-nautilus
- gettext
- fzf
- neofetch
- screenfetch
- screen
- brave-browser
- code
- 1password
- 1password-cli
- spotify-client
- flameshot
- cmake

6
config/swhkd/swhkdrc Executable file
View File

@@ -0,0 +1,6 @@
Ctrl + Alt + T
alacritty
Shift + Alt + 4
cosmic-screenshot --interactive

View File

@@ -1,87 +0,0 @@
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This will hold the configuration.
local config = wezterm.config_builder()
config.font = wezterm.font("MesloLGS NF")
config.mouse_bindings = {{
event = {
Up = {
streak = 1,
button = "Left"
}
},
mods = "NONE",
action = wezterm.action.Nop
}}
config.keys = { -- Ctrl+K for to clear the terminal
{
key = 'k',
mods = 'CTRL',
action = wezterm.action {
ClearScrollback = "ScrollbackAndViewport"
}
}, -- Ctrl+T for new tab
{
key = 't',
mods = 'CTRL',
action = wezterm.action {
SpawnTab = "CurrentPaneDomain"
}
}, -- Ctrl+W for close tab
{
key = 'w',
mods = 'CTRL',
action = wezterm.action {
CloseCurrentTab = {
confirm = true
}
}
}, -- Ctrl+s for split horizontal
{
key = 'h',
mods = 'CTRL',
action = wezterm.action {
SplitHorizontal = {
domain = "CurrentPaneDomain"
}
}
}, -- Ctrl+d for split vertical
{
key = 'v',
mods = 'CTRL',
action = wezterm.action {
SplitVertical = {
domain = "CurrentPaneDomain"
}
}
}}
-- Use default titlebar instead of the one provided by wezterm
config.window_frame = {
inactive_titlebar_bg = '#2b2042',
active_titlebar_bg = '#2b2042',
inactive_titlebar_fg = '#cccccc',
active_titlebar_fg = '#ffffff',
inactive_titlebar_border_bottom = '#2b2042',
active_titlebar_border_bottom = '#2b2042',
button_fg = '#cccccc',
button_bg = '#2b2042',
button_hover_fg = '#ffffff',
button_hover_bg = '#3b3052',
font = require('wezterm').font 'Roboto',
font_size = 12
}
-- Set the default cursor style to a blinking underscore
config.default_cursor_style = "BlinkingUnderline"
config.initial_rows = 30
config.initial_cols = 120
config.color_scheme = 'Galizur'
-- and finally, return the configuration to wezterm
return config