changed a lot of things.

This commit is contained in:
Zastian Pretorius
2022-10-22 21:20:30 +01:00
parent f4672b5a63
commit 5f4363917c
6 changed files with 80 additions and 12 deletions

View File

@@ -60,6 +60,57 @@
'(org-level-5 ((t (:inherit outline-5 :height 1.0)))) '(org-level-5 ((t (:inherit outline-5 :height 1.0))))
) )
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-shortmenu)
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-footer)
(add-hook! '+doom-dashboard-functions :append
(insert "\n" (+doom-dashboard--center +doom-dashboard--width "The UwU Editor")))
(defun my-weebery-is-always-greater ()
(let* ((banner '("⣿⣿⣿⣿⣿⣿⡿⠋⠁⠀⠀⠀⢀⣾⡿⠋⠉⠁⢠⣿⠏⢁⣿⣿⣿⠏⠉⢸⣿⡏⠉⢻⣿⣿⡇⠈⠙⢿⣿⣿⣿⣷⡆⠀⠀⢇⠢⣈⡒⡤"
"⣿⣿⣿⣿⣿⣏⣴⡇⠀⠀⠀⢠⡿⠋⠀⠀⠀⣰⣿⠋⠀⣼⣿⣿⠏⠀⠀⡾⣿⠁⠀⠀⣿⣿⣷⠀⠀⠀⠹⣿⣿⣿⣿⣄⢀⣿⣷⣿⣶⣶"
"⣿⣿⣿⣿⣿⣿⡿⠀⠀⠀⢠⡟⠁⠀⠀⠀⢰⣿⠇⠀⢰⣿⣿⡷⠀⣀⣜⣁⣻⣀⣀⣀⣸⢻⣿⡇⠀⠀⠀⠘⣿⣿⣷⠹⣿⣿⣿⣿⣿⣿"
"⣿⣿⣿⣿⣿⣿⠃⠀⠀⣠⣿⠀⠀⠀⠀⢠⣿⡏⠀⢀⣿⣿⡿⠛⣩⣿⠿⠛⢻⡏⠉⠉⢹⠉⢿⣿⡀⠀⠀⠀⠹⣿⣿⡆⠙⣿⣿⣿⣿⣿"
"⣿⣿⣿⣿⣿⡏⠀⠀⣰⣿⡟⠀⠀⠀⢀⣾⣿⠀⠀⣸⣿⡿⢥⣶⠝⠁⠀⠀⠀⡇⠀⠀⡜⠰⡀⢻⡇⠀⠀⠀⠀⢿⣿⣿⠀⠸⣿⣿⣿⡿"
"⣿⣿⢿⣿⣿⡃⠀⣼⣿⣿⡇⣀⣀⣤⣾⣿⡇⠀⠰⣼⡟⣠⠎⠁⠀⢀⣠⠔⠁⢹⣀⣠⣧⣶⣦⣤⣷⣤⣤⣠⣤⠼⣿⣿⡆⠀⢹⣿⣿⣿"
"⣿⣿⣿⣿⣿⠀⣼⣿⣿⣿⣏⣁⣼⣿⣿⣿⠀⢠⣾⣟⡔⠁⠀⠀⠀⢸⠁⠀⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠁⠀⣿⣿⣇⠀⠀⣿⣿⣿"
"⣿⣿⣿⣿⣿⣸⣿⣿⣿⣿⣟⣹⣿⣿⣿⡿⣴⣿⡿⠋⠀⠀⠀⠀⠀⠀⢰⣾⢟⣻⡿⠛⢻⢋⣻⣏⣱⠞⠙⣄⡀⠀⣿⡽⣿⠀⠀⢸⣿⣿"
"⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠉⢘⡅⠚⠋⠉⠁⠀⠀⠀⠀⣔⣾⢏⢦⢄⣿⣧⣿⡆⠀⠈⣿⣿"
"⣿⣿⣿⣿⣿⡿⢸⣿⣿⣿⡿⢻⣿⣿⡿⠋⠀⠀⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡾⠟⠉⠀⢂⢻⣿⣿⣿⡇⠀⠀⢽⣿"
"⣿⣿⣿⣿⣿⢃⣿⣿⣿⣿⣷⣿⣿⣿⣿⡷⠀⠀⡸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠉⠀⢀⣠⣾⣟⡖⢻⣿⣿⠃⠀⠀⣿⣿"
"⣿⣿⣿⣿⣟⣼⣿⣿⣿⣿⣿⣿⠟⣻⠿⠓⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡤⠾⠿⠛⠉⠁⢰⢸⣿⡿⠀⠀⠀⣿⣿"
"⣿⣿⣿⣿⣿⣿⣿⠋⠰⢟⣿⠌⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⠇⠀⠀⢠⡇⣿"
"⣿⣿⣿⣿⣿⣿⣏⠓⠓⠚⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⠿⠿⠿⢾⣿⡟⠀⠀⠀⣼⠃⣿"
"⣿⣿⣿⣿⣿⣿⣿⣷⢦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡤⠤⠤⠤⠤⠤⠄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⡿⠀⠀⠀⣰⠏⢰⣿"
"⣿⣿⣿⣿⣿⣿⣿⣿⡀⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⣠⢚⣡⣴⣾⣿⣿⣿⣿⡿⠿⢿⠀⠀⠀⠀⠀⠀⠀⠀⣼⡿⠁⠀⠀⣰⠏⣠⣿⣿"
"⣿⣿⣿⣿⣿⣿⣿⣿⣧⣤⣴⡾⠋⠀⠀⠀⠀⠀⠀⠀⣃⣿⣿⣿⣿⣿⣿⠟⠁⠀⠀⡸⠀⠀⠀⠀⠀⠀⠀⣼⣿⣃⠤⠚⠚⠉⠉⠉⠙⠛"
"⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⠉⠀⢀⡄⠀⠀⠀⠀⠀⠀⠙⢽⣿⠿⠋⠉⠁⠀⢠⡆⢰⠃⠀⠀⠀⠀⠀⠀⣼⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀"
"⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣴⡿⠁⠀⠀⠀⠀⠀⠀⠀⠈⢯⠀⠀⠀⠀⢀⡞⢠⠋⠀⠀⠀⠀⠀⢀⣾⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
"⣿⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣅⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡄⠀⠀⠀⣸⢠⠃⠀⠀⠀⠀⠀⢠⣾⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
"⣿⡆⢠⠉⢿⣿⣿⡟⣿⣿⣿⣿⣿⣷⣤⡀⠀⠀⠀⠀⠀⠀⠀⠳⡀⠀⠀⡇⠇⠀⠀⠀⠀⠀⣠⣿⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
"⣿⣿⣼⠀⠈⢿⣿⡇⢹⣿⣿⣿⣿⣿⣿⣿⡗⠤⣀⠀⠀⠀⠀⠀⠑⢄⣀⡞⠀⠀⠀⠀⢀⣴⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
"⣿⣿⣿⣷⠀⠀⠹⢇⠀⢻⣿⣿⣿⣿⣿⣿⣧⠀⠈⠻⣷⣦⣤⣀⡀⠀⠉⠀⠀⠀⣀⡴⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
"⣿⣿⣿⠟⠀⠀⠀⠈⠳⣄⢻⣿⣿⣿⣿⣿⣿⣆⠀⠀⠈⠻⢿⣿⣿⣿⣷⣶⣴⣾⣿⣿⣿⣿⡿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
"⣿⣿⣿⣄⠀⠀⠀⠀⠀⠈⠳⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⠀⠀⠉⡿⢿⣿⣿⣿⣿⣿⣿⣿⡿⢱⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"))
(longest-line (apply #'max (mapcar #'length banner))))
(put-text-property
(point)
(dolist (line banner (point))
(insert (+doom-dashboard--center
+doom-dashboard--width
(concat line (make-string (max 0 (- longest-line (length line))) 32)))
"\n"))
'face 'doom-dashboard-banner)))
(setq +doom-dashboard-ascii-banner-fn #'my-weebery-is-always-greater)
(set-frame-parameter nil 'alpha-background 90) ; For current frame
(add-to-list 'default-frame-alist '(alpha-background . 90)) ; For all new frames henceforth
(org-babel-do-load-languages (org-babel-do-load-languages
'org-babel-load-languages 'org-babel-load-languages
'((emacs-lisp . t) '((emacs-lisp . t)

View File

@@ -9,7 +9,7 @@
# #
exec-once=hyprctl setcursor Simp1e 16 exec-once=hyprctl setcursor Simp1e 16
exec-once=~/.config/script/theme-fix exec-once=~/.config/script/theme-fix
#exec-once=waybar exec-once=waybar
exec-once=systemctl --user restart xdg-desktop-portal exec-once=systemctl --user restart xdg-desktop-portal
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=~/.config/script/waylock.sh exec-once=~/.config/script/waylock.sh
@@ -30,6 +30,8 @@ misc:swallow_regex=kitty
input { input {
numlock_by_default=true numlock_by_default=true
follow_mouse=1 follow_mouse=1
repeat_delay=300
repeat_rate=50
touchpad { touchpad {
natural_scroll=no natural_scroll=no

View File

@@ -11,4 +11,4 @@ cd $DIR
NAME=$(rofi -dmenu -p "Name of the video") NAME=$(rofi -dmenu -p "Name of the video")
cd .. cd ..
# record the screen with wf-recorder # record the screen with wf-recorder
wf-recorder --device=/dev/dri/renderD128 --audio=alsa_output.pci-0000_05_00.6.analog-stereo.monitor --file=$DIR/$NAME wf-recorder --device=/dev/dri/renderD128 --audio=alsa_output.pci-0000_05_00.6.analog-stereo.monitor --file=$DIR/$NAME.mp4

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env sh
#run in the background
yes | cat >> test.txt &
sleep 10
killall yes
#show the size of test.txt in GB
du -b test.txt
rm test.txt

View File

@@ -77,6 +77,8 @@ window#waybar {
#clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode, #custom-wofi-power { #clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode, #custom-wofi-power {
padding: 0 10px; padding: 0 10px;
margin: 0 2px; margin: 0 2px;
color: #f8f8f2;
} }
#clock { #clock {

View File

@@ -411,6 +411,7 @@ _comps=(
'ggetopt' '_getopt' 'ggetopt' '_getopt'
'ggrep' '_grep' 'ggrep' '_grep'
'ggv' '_gnome-gv' 'ggv' '_gnome-gv'
'gh' '_gh'
'ghcup' '_ghcup' 'ghcup' '_ghcup'
'ghostscript' '_ghostscript' 'ghostscript' '_ghostscript'
'ghostview' '_pspdf' 'ghostview' '_pspdf'
@@ -696,7 +697,6 @@ _comps=(
'mencal' '_mencal' 'mencal' '_mencal'
'mere' '_mere' 'mere' '_mere'
'merge' '_rcs' 'merge' '_rcs'
'meson' '_meson'
'metaflac' '_flac' 'metaflac' '_flac'
'mformat' '_mtools' 'mformat' '_mtools'
'mgv' '_pspdf' 'mgv' '_pspdf'
@@ -789,7 +789,6 @@ _comps=(
'nginx' '_nginx' 'nginx' '_nginx'
'ngrep' '_ngrep' 'ngrep' '_ngrep'
'nice' '_nice' 'nice' '_nice'
'ninja' '_ninja'
'nkf' '_nkf' 'nkf' '_nkf'
'nl' '_nl' 'nl' '_nl'
'nm' '_nm' 'nm' '_nm'
@@ -814,6 +813,7 @@ _comps=(
'oggdec' '_vorbis' 'oggdec' '_vorbis'
'oggenc' '_vorbis' 'oggenc' '_vorbis'
'ogginfo' '_vorbis' 'ogginfo' '_vorbis'
'oi' '_oi'
'oksh' '_sh' 'oksh' '_sh'
'okular' '_okular' 'okular' '_okular'
'oomctl' '_oomctl' 'oomctl' '_oomctl'
@@ -1613,15 +1613,15 @@ autoload -Uz _alacritty _arch _base32 _base64 _basename \
_cut _date _dd _df _dir \ _cut _date _dd _df _dir \
_dircolors _dirname _du _echo _env \ _dircolors _dirname _du _echo _env \
_exa _expand _expr _factor _false \ _exa _expand _expr _factor _false \
_fd _fmt _fold _ghcup _groups \ _fd _fmt _fold _gh _ghcup \
_hashsum _head _hostid _hostname _hostnamectl \ _groups _hashsum _head _hostid _hostname \
_id _install _join _journalctl _kernel-install \ _hostnamectl _id _install _join _journalctl \
_kill _kitty _libinput _link _ln \ _kernel-install _kill _kitty _libinput _link \
_localectl _loginctl _logname _ls _machinectl \ _ln _localectl _loginctl _logname _ls \
_meson _mkdir _mkfifo _mkinitcpio _mknod \ _machinectl _mkdir _mkfifo _mkinitcpio _mknod \
_mktemp _more _mpv _mv _networkctl \ _mktemp _more _mpv _mv _networkctl \
_nice _ninja _nl _nohup _nproc \ _nice _nl _nohup _nproc _numfmt \
_numfmt _od _oomctl _pacman _paru \ _od _oi _oomctl _pacman _paru \
_paste _pathchk _pinky _playerctl _pr \ _paste _pathchk _pinky _playerctl _pr \
_printenv _printf _ptx _pulseaudio _pwd \ _printenv _printf _ptx _pulseaudio _pwd \
_qpdf _readlink _realpath _relpath _resolvectl \ _qpdf _readlink _realpath _relpath _resolvectl \