3 Commits

Author SHA1 Message Date
  Tovi Jaeschke-Rogers 79f69b4e99 fix: display scale for framework laptop 2 months ago
  Tovi Jaeschke-Rogers 1607844794 Merge branch 'master' of git.tovijaeschke.xyz:tovi/dotfiles 2 months ago
  Tovi Jaeschke-Rogers e348358585 feat: changes 2 months ago
10 changed files with 556 additions and 2505 deletions
Split View
  1. +2
    -0
      .config/X11/Xresources
  2. +1
    -1
      .config/alacritty/alacritty.toml
  3. +486
    -0
      .config/dunst/dunstrc
  4. +23
    -0
      .config/nvim/lua/plugins/neotest.lua
  5. +0
    -2026
      .config/zsh/.zcompdump
  6. +0
    -475
      .config/zsh/.zsh_history
  7. +1
    -3
      .config/zsh/.zshrc
  8. +2
    -0
      .gitignore
  9. +3
    -0
      .local/bin/scale-external-display.sh
  10. +38
    -0
      .xinitrc

+ 2
- 0
.config/X11/Xresources View File

@ -0,0 +1,2 @@
# For laptop screen scale
Xft.dpi: 144

+ 1
- 1
.config/alacritty/alacritty.toml View File

@ -6,7 +6,7 @@ import = [
TERM = "xterm-256color"
[font]
size = 11
size = 10
[font.bold]
family = "JetBrains Mono Nerd Font"


+ 486
- 0
.config/dunst/dunstrc View File

@ -0,0 +1,486 @@
# See dunst(5) for all configuration options
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = none
### Geometry ###
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = 300
# The maximum height of a single notification, excluding the frame.
height = 300
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
offset = 10x50
# Scale factor. It is auto-detected if value is 0.
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 20
### Progress bar ###
# Turn on the progress bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 10
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Corner radius for the progress bar. 0 disables rounded corners.
progress_bar_corner_radius = 0
# Define which corners to round when drawing the progress bar. If progress_bar_corner_radius
# is set to 0 this option will be ignored.
progress_bar_corners = all
# Corner radius for the icon image.
icon_corner_radius = 0
# Define which corners to round when drawing the icon image. If icon_corner_radius
# is set to 0 this option will be ignored.
icon_corners = all
# Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
# If gap_size is greater than 0, this setting will be ignored.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 0
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
# Size of gap to display between notifications - requires a compositor.
# If value is greater than 0, separator_height will be ignored and a border
# of size frame_width will be drawn around each notification instead.
# Click events on gaps do not currently propagate to applications below.
gap_size = 0
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort type.
# possible values are:
# * id: sort by id
# * urgency_ascending: sort by urgency (low then normal then critical)
# * urgency_descending: sort by urgency (critical then normal then low)
# * update: sort by update (most recent always at the top)
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
# idle_threshold = 120
### Text ###
font = "JetBrains Mono Nerd Font" 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://docs.gtk.org/Pango/pango_markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Recursive icon lookup. You can set a single theme, instead of having to
# define all lookup paths.
enable_recursive_icon_lookup = true
# Set icon theme (only used for recursive icon lookup)
icon_theme = Adwaita
# You can also set multiple icon themes, with the leftmost one being used first.
# icon_theme = "Adwaita, breeze"
# Align icons left/right/top/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 32
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 128
# Paths to default icons (only necessary when not using recursive icon lookup)
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/xdg-open
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst (X11 only)
title = Dunst
# Define the class of the windows spawned by dunst (X11 only)
class = Dunst
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
# Define which corners to round when drawing the window. If the corner radius
# is set to 0 this option will be ignored.
#
# Comma-separated list of the corners. The accepted corner values are bottom-right,
# bottom-left, top-right, top-left, top, bottom, left, right or all.
corners = all
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notifications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: Invoke the action determined by the action_name rule. If there is no
# such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#1A1A22"
foreground = "#c8c093"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_normal]
background = "#938AA9"
foreground = "#1A1A22"
timeout = 10
override_pause_level = 30
# Icon for notifications with normal urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0
override_pause_level = 60
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# icon_position
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
# hide_text
# override_pause_level
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# You can also allow a notification to appear even when paused. Notification will appear whenever notification's override_pause_level >= dunst's paused level.
# This can be used to set partial pause modes, where more urgent notifications get through, but less urgent stay paused. To do that, you can override the following in the rules:
# override_pause_level = X
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

+ 23
- 0
.config/nvim/lua/plugins/neotest.lua View File

@ -38,6 +38,20 @@ return {
neotest.summary.toggle()
end, { desc = "Toggle neotest summary pane" })
local neotest_ns = vim.api.nvim_create_namespace("neotest")
vim.diagnostic.config({
virtual_text = {
format = function(diagnostic)
local message =
diagnostic.message:gsub("\n", " "):gsub("\t", " "):gsub("%s+", " "):gsub("^%s+", "")
return message
end,
},
}, neotest_ns)
vim.env.PROJECT_ROOT = vim.fn.getcwd() .. "/backend/"
vim.env.ENV_PATH = vim.fn.getcwd() .. "/backend/.env"
neotest.setup({
adapters = {
require("neotest-phpunit")({
@ -48,6 +62,15 @@ return {
mapped_docker_dir = "/var/www",
append_to_cwd = "/api",
}),
require("neotest-go")({
root = function()
return './backend'
end,
experimental = {
test_table = true,
},
args = { "-count=1", "-timeout=60s" },
})
},
})
end,


+ 0
- 2026
.config/zsh/.zcompdump
File diff suppressed because it is too large
View File


+ 0
- 475
.config/zsh/.zsh_history View File

@ -1,475 +0,0 @@
ls
pwd
cd pro
cd Projects
ls
clear
cd ../.dotfiles
git status
git checkout -- .zsh
git status
ls -al
mv .zsh ~/.config/zsh/.zsh
vim ~/.config/zsh
vim ~/.config/zsh
stow .
clear
ls
cp -r .config/zsh/.zsh ~/.zsh
rm -rf ~/.zsh
ls ~/.config/zsh
ls -al ~/.config/zsh
ls -al ~/.config/zsh/
cd .zsh
ls
cd .config/zsh
ls -al
ls .zsh
vim .zshrc
git status
cd ../
git status
cd ..
git status
git add .
git status
git commit -a
vim .gitignore
rm ~/.config/zsh/.zsh_history
git status
git add .
git commit -a
git config --global user.email "tovi@strng.io"
git config --global user.name "Tovi Jaeschke-Rogers"
clear
git commit -a
git push
clear
cd Projects
cd ../.git
cd ../.dotfiles
clear
startx
startx
startx
startx
startx
startx
startx
startx
startx
yay -S gnome-themes-extra adwaita-qt5-git
clear
yay -S ncspot
yay -S bluez bluez-utils
systemctl enable bluetooth
sudo systemctl enable bluetooth
sudo systemctl start bluetooth
yay -S bluetui
clear
yay -S pavucontrol
yay -S pulseaudio
pulseaudio --check
pulseaudio -D
cd Projects
git clone git@git.tovijaeschke.xyz:tovi/strng
cd strng
git status
git checkout main
git status
git fetch -vap
git checkout feature/access-expiration
clear
bluetui
bluetui
bluetui
bluetui
startx
bluetui
systemctl status bluetooth
clear
bluetui
yay -S pulseaudio-bluetootth
yay -S pulseaudio-bluetooth
bluetui
sudo systemctl restart bluetooth
bluetui
q
startx
groups
git clone git@git.tovijaeschke.xyz:tovi/strng-extension
git clone git@git.tovijaeschke.xyz:tovi/strng_app
cd strng-extension
git status
ls -al
cd ..
which python3
vim ~/Downloads/Untitled.env
vim ~/Downloads/Untitled\(1\).env
q
ping google.com
ls
ls -al
sudo systemctl edit getty@tty1\
EDITOR=nvim sudo systemctl edit getty@tty1\
sudo su
clear
docker compose build
yay -S docker-compose
sudo su
vim ~/.local/bin/dwm-sss
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
clear
groups
cat /sys/class/thermal/thermal_zone0/temp
cat /sys/class/thermal/thermal_zone0/temp
clear
yay -S cron
sudo su
clear
docker compose build
yay -S docker
yay -S docker-compose
docker
docker compose build
clear
docker compose up
cp backend/.env.example backend/.env
vim backend/.env
cp frontend/.env.example frontend/.env
vim frontend/.env
groups
tmux
clear
ts
tmux
bluetui
clear
vijm
vim
clear
which docker
groups
systemctl status docker
sudo systemctl enable docker
sudo systemctl start docker
groupadd docker
gpasswd -a tovi docker
sudo gpasswd -a tovi docker
groups
vim .local/bin/dwm-sss
clear
htop
top
clear
newgrp docker
ncspot
ncspot
yay -Rns ncspot
yay -S ncspot-git
yay -Ss ncspot-git
yay -S cc
yay -S ncspot-git
yay -Rns rust
yay -S rustup
rustup
rustup update
rustup check
which cargo
cd .local/*/yay
ls
pwd
cd ../
ls
cd ..
ls -al
cd ../.cache/yay
ls
cd ncspot-git
git status
git diff
ls -al
cargo clean
rustup default stable
sudo pacman -S dbus libpulse libxcb ncurses openssl
cargo build
ls -al
ls *
cd ncspot
ls
cd ..
cd src
ls
cd ncspot
ls
cargo build
cd
yay -S ncspot-git
clear
yay -S spotfiy
yay -Ss spotfiy
yay -Ss spotify
yay -S ncspot
ncspot
ncspot info
ls .config/ncspot
vim .config/ncspot/config.toml
vim .config/ncspot/userstate.cbor
vim .cache/ncspot
clear
yay -S dbeaver
yay -S dbeaver
vim ~/.config/zsh/.zprofile
startx
sudo su
sudo su
vim ~/.local/bin/dwm-sss
cat /sys/class/net/wlan0/operstate
ls
q
dcr vue npm i
vim
yay -S ripgrep
clear
vim
vim
vim
vim
clear
vim
git status
vim
clear
git log
clear
vim
git status
dce server tmp/main --migrate
dce server bash
dce server sh
dce server tmp/main --create-stripe-packages
dce server tmp/main --create-stripe-products
dce server tmp/main --migrate-fresh
dce server tmp/main --seed
dce server tmp/main --create-stripe-products
git status
git add .
git commit -a
git push
dcu
dcu
clear
ts
ncspot
yay -Ss spotify
yay -S spotify
bluetui
clear
q
ls
ls
clear
git init
clear
ls
mkdir tsc
vim tsc/scope-of-work-cross-sell-products-2024-10-10.md
git status
vim .gitignore
git status
ls
vim
git add .
ls
vim .gitignore
mkdir output/.
mkdir output/
touch output/.gitkeep
git add -f output/.gitkeep
git status
mv scope-of-work-* output
ls
git status
git add .
git status
git commit -a
git remote add origin git@git.tovijaeschke.xyz:tovi/scopes-of-work.git\
git push -u origin master
clear
ls
vim
yay -S pandoc
clear
pandoc tsc/scope-of-work-cross-sell-products-2024-10-10.md .
ls
pandoc tsc/scope-of-work-cross-sell-products-2024-10-10.md tsc/scope-of-work-cross-sell-products-2024-10-10.pdf
pando
pandoc --help
pandoc --output scope-of-work-cross-sell-products-2024-10-10.pdf tsc/scope-of-work-cross-sell-products-2024-10-10.md
yay -S pdflatex
yay -S latex
yay -Ss latex
yay -S texlive
pandoc --output scope-of-work-cross-sell-products-2024-10-10.pdf tsc/scope-of-work-cross-sell-products-2024-10-10.md
ls
yay -S zathura
zathura scope-of-work-cross-sell-products-2024-10-10.pdf
yay -S zathura-pdf-mupdf
zathura scope-of-work-cross-sell-products-2024-10-10.pdf
zathura scope-of-work-cross-sell-products-2024-10-10.pdf
pandoc --output scope-of-work-cross-sell-products-2024-10-10.pdf tsc/scope-of-work-cross-sell-products-2024-10-10.md
pandoc --output scope-of-work-free-shipping-gamification-2024-10-10.pdf tsc/scope-of-work-free-shipping-gamification-2024-10-10.md
ls
zathura scope-of-work-cross-sell-products-2024-10-10.pdf
zathura scope-of-work-free-shipping-gamification-2024-10-10.pdf
pandoc --output scope-of-work-free-shipping-gamification-2024-10-10.pdf tsc/scope-of-work-free-shipping-gamification-2024-10-10.md
zathura scope-of-work-free-shipping-gamification-2024-10-10.pdf
clear
yay -S slack
yay -Ss slack
yay -Rns slack
yay -S slack-desktop slack-cli
yay -S slack-desktop
clear
xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
sudo pacman -S xorg-xev
clear
cd /usr/local/src
ls
vim
cd dwm
vim
make && sudo make install
vim
vim
make && sudo make install
clear
xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
clear
xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
mkdir Projects/scopes-of-work
ts
clear
ts
vim
ls /usr/local/lib/node_modules
which eslint
yay -S eslint
which dunst
yay -S libnotify
clear
notify-send "test"
git pull
clear
git status
git pul
git pul
git pull
git log
clear
vim
vim
vim
dcu
vim
q
bluetui
bluetui
bluetui
q
vim
cat /sys/class/power_supply/BAT1/status
cat /sys/class/power_supply/BAT1/capacity
killall dwm-sss
cd /tmp
nohup dwm-sss &
q
q
vim
vim
vim
vim
vim
vim
git status
git add .
git commit -a
git reset
git status
git diff
git diff --stats
git diff --stat
git add .
git commit -a
git push
ls
cd backend
vim test.sh
PROJECT_ROOT="$(pwd)" ENV_PATH="$(pwd)/.env" go test ./routes/web/auth/verify_email_test.go
PROJECT_ROOT="$(pwd)" ENV_PATH="$(pwd)/.env" go test ./routes/web/auth/verify_email_test.go
PROJECT_ROOT="$(pwd)" ENV_PATH="$(pwd)/.env" go test ./routes/web/auth/verify_email_test.go
PROJECT_ROOT="$(pwd)" ENV_PATH="$(pwd)/.env" go test ./routes/web/auth/verify_email_test.go
PROJECT_ROOT="$(pwd)" ENV_PATH="$(pwd)/.env" go test ./routes/web/auth/verify_email_test.go
PROJECT_ROOT="$(pwd)" ENV_PATH="$(pwd)/.env" go test ./routes/web/auth/verify_email_test.go
./test.sh
./test.sh
clear
dce server tmp/main --migrate-fresh
dce server tmp/main --seed
clear
dce server tmp/main --create-stripe-packages
dce server tmp/main --create-stripe-products
dcr sqlc generate
dcr sqlc generate
dcr sqlc generate
dcr sqlc generate
dcr sqlc generate
git status
cd ..
git checkout -- backend/routes/web/secret/access_add_tenant.go
dcr sqlc generate
cd backend
./test.sh
dcr sqlc generate
./test.sh
dcu
ts
tmux
bluetui
q
git config --global core.excludesFile '~/.gitignore'
vim ~/.gitignore
amixer
yay -S alsa-utils
amixer sget Master
VOL=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master))\
echo $VOL
awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master)\
awk -F"[][]" '/Mono:/ { print $2 }' <(amixer sget Master)\
amixer sget Master
amixer sget Master
amixer sget Master
amixer sget Master
amixer
clear
pactl get-sink-volume @DEFAULT_SINK@ | grep -oP '\d+?(?=%)' | head -n 1

+ 1
- 3
.config/zsh/.zshrc View File

@ -93,9 +93,7 @@ export PATH="${PATH}:${ANDROID_HOME}/platform-tools:$ANDROID_HOME/cmdline-tools/
# Load nvm on load to speed up shell init
function nvm() {
unset -f nvm node npm npx
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion"
[ -s "/usr/share/nvm/init-nvm.sh" ] && source "/usr/share/nvm/init-nvm.sh"
nvm "$@"
}
function node { nvm; node "$@" }


+ 2
- 0
.gitignore View File

@ -1 +1,3 @@
.config/nvim/lazy-lock.json
.config/zsh/.zsh_history
.config/zsh/.zcompdump

+ 3
- 0
.local/bin/scale-external-display.sh View File

@ -0,0 +1,3 @@
#!/bin/bash
xrandr --output DP-3-1 --scale 1.5x1.5

+ 38
- 0
.xinitrc View File

@ -0,0 +1,38 @@
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
[[ -f ~/.config/X11/Xresources ]] && xrdb -merge -I$HOME ~/.config/X11/Xresources
~/.local/bin/dwm-autostart &
exec dwm

Loading…
Cancel
Save