updated configs

main
Inga 🏳‍🌈 11 months ago
parent 327948458f
commit 84421d129e
  1. 1138
      dotfiles/.config/nushell/config.nu
  2. 22
      dotfiles/.config/nushell/env.nu
  3. 11
      dotfiles/.config/river/init
  4. 2
      dotfiles/.config/waybar/config
  5. 4
      dotfiles/.config/waybar/style.css
  6. 4
      dotfiles/.config/wezterm/wezterm.lua
  7. 9
      dotfiles/.gitconfig
  8. 1
      dotfiles/.profile
  9. 8
      global/etc/apk/world
  10. 4
      global/usr/share/alsa/alsa.conf

File diff suppressed because it is too large Load Diff

@ -12,28 +12,28 @@ def create_left_prompt [] {
def create_right_prompt [] {
let time_segment = ([
(date now | date format '%m/%d/%Y %r')
(date now | format date '%m/%d/%Y %r')
] | str join)
$time_segment
}
# Use nushell functions to define your right and left prompt
let-env PROMPT_COMMAND = { create_left_prompt }
let-env PROMPT_COMMAND_RIGHT = { create_right_prompt }
$env.PROMPT_COMMAND = { create_left_prompt }
$env.PROMPT_COMMAND_RIGHT = { create_right_prompt }
# The prompt indicators are environmental variables that represent
# the state of the prompt
let-env PROMPT_INDICATOR = { "〉" }
let-env PROMPT_INDICATOR_VI_INSERT = { ": " }
let-env PROMPT_INDICATOR_VI_NORMAL = { "〉" }
let-env PROMPT_MULTILINE_INDICATOR = { "::: " }
$env.PROMPT_INDICATOR = { "〉" }
$env.PROMPT_INDICATOR_VI_INSERT = { ": " }
$env.PROMPT_INDICATOR_VI_NORMAL = { "〉" }
$env.PROMPT_MULTILINE_INDICATOR = { "::: " }
# Specifies how environment variables are:
# - converted from a string to a value on Nushell startup (from_string)
# - converted from a value back to a string when running external commands (to_string)
# Note: The conversions happen *after* config.nu is loaded
let-env ENV_CONVERSIONS = {
$env.ENV_CONVERSIONS = {
"PATH": {
from_string: { |s| $s | split row (char esep) | path expand -n }
to_string: { |v| $v | path expand -n | str join (char esep) }
@ -47,14 +47,14 @@ let-env ENV_CONVERSIONS = {
# Directories to search for scripts when calling source or use
#
# By default, <nushell-config-dir>/scripts is added
let-env NU_LIB_DIRS = [
$env.NU_LIB_DIRS = [
($nu.config-path | path dirname | path join 'scripts')
]
# Directories to search for plugin binaries when calling register
#
# By default, <nushell-config-dir>/plugins is added
let-env NU_PLUGIN_DIRS = [
$env.NU_PLUGIN_DIRS = [
($nu.config-path | path dirname | path join 'plugins')
]
@ -62,4 +62,4 @@ let-env NU_PLUGIN_DIRS = [
# let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
#mkdir ~/.cache/starship
#starship init nu | save ~/.cache/starship/init.nu
starship init nu | save -f ~/.cache/starship/init.nu

@ -130,8 +130,8 @@ do
riverctl map $mode None XF86Eject spawn 'eject -T'
# Control pulse audio volume with pamixer (https://github.com/cdemoulins/pamixer)
riverctl map -repeat $mode None XF86AudioRaiseVolume spawn "amixer set "Master" 2%+ | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > $XDG_RUNTIME_DIR/wobpipevolume"
riverctl map -repeat $mode None XF86AudioLowerVolume spawn "amixer set "Master" 2%- | sed -En 's/.*\[([0-9]+)%\].*/\1/p' | head -1 > $XDG_RUNTIME_DIR/wobpipevolume"
riverctl map -repeat $mode None XF86AudioRaiseVolume spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+"
riverctl map -repeat $mode None XF86AudioLowerVolume spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-"
riverctl map $mode None XF86AudioMute spawn 'amixer set "Master" toggle'
riverctl map $mode None XF86AudioMicMute spawn 'amixer set "Master" toggle'
@ -154,8 +154,11 @@ riverctl border-color-unfocused 0x586e75
# Set keyboard repeat rate
riverctl set-repeat 50 300
riverctl input 2:10:TPPS/2_Elan_TrackPoint accel-profile adaptive
riverctl input 2:10:TPPS/2_Elan_TrackPoint pointer-accel -0.5
riverctl input pointer-2-10-TPPS/2_Elan_TrackPoint accel-profile adaptive
riverctl input pointer-2-10-TPPS/2_Elan_TrackPoint pointer-accel -0.5
riverctl input pointer-1267-12693-ELAN0678:00_04F3:3195_Mouse events disabled
riverctl input pointer-1267-12693-ELAN0678:00_04F3:3195_Touchpad events disabled
# Make certain views start floating
riverctl float-filter-add app-id float

@ -88,7 +88,7 @@
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",

@ -260,6 +260,10 @@ label:focus {
color: #ffffff;
}
#tags button.focused {
background: #666666;
}
#tags button {
padding-left: 0;
padding-right: 0;

@ -5,7 +5,7 @@ return {
color_scheme = "Violet Light",
font_size = 13,
hide_tab_bar_if_only_one_tab = true,
scrollback_lines = 1000000,
scrollback_lines = 100000,
enable_scroll_bar = true,
font = wezterm.font('Victor Mono', { italic = true }),
font = wezterm.font('VictorMono Nerd Font', { italic = true }),
}

@ -0,0 +1,9 @@
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
# name = username
# email = user@ema.il
[credential]
helper = store
[init]
defaultBranch = main

@ -0,0 +1 @@
export EDITOR=micro

@ -12,7 +12,7 @@ chelf
chromium
chrony
cifs-utils
code-oss=1.78.2-r1
code-oss=1.83.1-r1
curl
dbus
dbus-openrc
@ -21,6 +21,7 @@ diebahn
diebahn-dbg
doas
dosfstools
dua
dunst
dust
e2fsprogs
@ -33,8 +34,10 @@ foliate
font-awesome
font-noto-emoji
font-roboto
font-victor-mono-nerd
foot
gcompat
gdb
gedit
git
glib-dbg
@ -52,6 +55,7 @@ imagemagick
iptables
iwd
libstdc++
libtracker
light
linux-firmware-amd
linux-firmware-amd-ucode
@ -69,11 +73,13 @@ lxc-templates
lxcfs
lxd
lxd-client
lxd-openrc
mandoc
mc
mesa-dri-gallium
mesa-va-gallium
micro
ncdu
neofetch
nushell
openssh-client

@ -102,8 +102,8 @@ defaults.namehint.basic on
# show extended name hints
defaults.namehint.extended off
#
defaults.ctl.card 1
defaults.pcm.card 1
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1

Loading…
Cancel
Save