Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
17c2675299 | |||
0ba0ccf9de | |||
e433bfd70a |
@ -5,7 +5,7 @@ style = "Block"
|
|||||||
unfocused_hollow = false
|
unfocused_hollow = false
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 11.0
|
size = 7.0
|
||||||
|
|
||||||
[font.bold]
|
[font.bold]
|
||||||
family = "JetBrainsMono Nerd Font"
|
family = "JetBrainsMono Nerd Font"
|
||||||
|
@ -1,4 +1,23 @@
|
|||||||
import = [
|
[colors.bright]
|
||||||
"~/.config/alacritty/catppucin-mocha.toml",
|
black = "0x747c84"
|
||||||
"~/.config/alacritty/config.toml"
|
blue = "0xae95c7"
|
||||||
]
|
cyan = "0x95aec7"
|
||||||
|
green = "0x95c7ae"
|
||||||
|
magenta = "0xc795ae"
|
||||||
|
red = "0xc7ae95"
|
||||||
|
white = "0xf3f4f5"
|
||||||
|
yellow = "0xaec795"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "0x1c2023"
|
||||||
|
blue = "0xae95c7"
|
||||||
|
cyan = "0x95aec7"
|
||||||
|
green = "0x95c7ae"
|
||||||
|
magenta = "0xc795ae"
|
||||||
|
red = "0xc7ae95"
|
||||||
|
white = "0xc7ccd1"
|
||||||
|
yellow = "0xaec795"
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
background = "0x141322"
|
||||||
|
foreground = "0xf09db9"
|
||||||
|
27
.config/alacritty/dark.yml
Normal file
27
.config/alacritty/dark.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
colors:
|
||||||
|
# Default colors
|
||||||
|
primary:
|
||||||
|
background: '0x1c2023'
|
||||||
|
foreground: '0xe07c9f'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
normal:
|
||||||
|
black: '0x1c2023'
|
||||||
|
red: '0xc7ae95'
|
||||||
|
green: '0x95c7ae'
|
||||||
|
yellow: '0xaec795'
|
||||||
|
blue: '0xae95c7'
|
||||||
|
magenta: '0xc795ae'
|
||||||
|
cyan: '0x95aec7'
|
||||||
|
white: '0xc7ccd1'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
bright:
|
||||||
|
black: '0x747c84'
|
||||||
|
red: '0xc7ae95'
|
||||||
|
green: '0x95c7ae'
|
||||||
|
yellow: '0xaec795'
|
||||||
|
blue: '0xae95c7'
|
||||||
|
magenta: '0xc795ae'
|
||||||
|
cyan: '0x95aec7'
|
||||||
|
white: '0xf3f4f5'
|
@ -1,17 +1,17 @@
|
|||||||
[global]
|
[global]
|
||||||
frame_color = "#89b4fa"
|
frame_color = "#f09db9"
|
||||||
separator_color= frame
|
separator_color= frame
|
||||||
|
|
||||||
[urgency_low]
|
[urgency_low]
|
||||||
background = "#1e1e2e"
|
background = "#141322"
|
||||||
foreground = "#cdd6f4"
|
foreground = "#f09db9"
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#1e1e2e"
|
background = "#141322"
|
||||||
foreground = "#cdd6f4"
|
foreground = "#f09db9"
|
||||||
|
|
||||||
[urgency_critical]
|
[urgency_critical]
|
||||||
background = "#1e1e2e"
|
background = "#141322"
|
||||||
foreground = "#cdd6f4"
|
foreground = "#f09db9"
|
||||||
frame_color = "#fab387"
|
frame_color = "#c7ae95"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ gtk-application-prefer-dark-theme=1
|
|||||||
gtk-cursor-theme-name=Oxygen 19 Pink Blossom
|
gtk-cursor-theme-name=Oxygen 19 Pink Blossom
|
||||||
gtk-key-theme-name=Emacs
|
gtk-key-theme-name=Emacs
|
||||||
|
|
||||||
gtk-theme-name=Adwaita
|
gtk-theme-name=Marwaita-s-Dark-Pink
|
||||||
gtk-icon-theme-name=Adwaita
|
gtk-icon-theme-name=Adwaita
|
||||||
gtk-font-name=Cantarell 11
|
gtk-font-name=Cantarell 11
|
||||||
gtk-cursor-theme-size=0
|
gtk-cursor-theme-size=0
|
||||||
@ -16,3 +16,4 @@ gtk-enable-input-feedback-sounds=1
|
|||||||
gtk-xft-antialias=1
|
gtk-xft-antialias=1
|
||||||
gtk-xft-hinting=1
|
gtk-xft-hinting=1
|
||||||
gtk-xft-hintstyle=hintfull
|
gtk-xft-hintstyle=hintfull
|
||||||
|
gtk-xft-rgba=rgb
|
||||||
|
@ -23,5 +23,6 @@
|
|||||||
"nvim-treesitter": { "branch": "master", "commit": "245da4eb2e52d14b034bbbedec9671e997ede764" },
|
"nvim-treesitter": { "branch": "master", "commit": "245da4eb2e52d14b034bbbedec9671e997ede764" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "b77921fdc44833c994fdb389d658ccbce5490c16" },
|
"nvim-web-devicons": { "branch": "master", "commit": "b77921fdc44833c994fdb389d658ccbce5490c16" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
|
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "349660c0d35da06459ee8589af77de2086b652ce" }
|
"telescope.nvim": { "branch": "master", "commit": "349660c0d35da06459ee8589af77de2086b652ce" },
|
||||||
|
"transparent.nvim": { "branch": "main", "commit": "8a2749a2fa74f97fe6557f61b89ac7fd873f3c21" }
|
||||||
}
|
}
|
||||||
|
@ -159,6 +159,14 @@ local plugins = {
|
|||||||
"rktjmp/fwatch.nvim",
|
"rktjmp/fwatch.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- transparent
|
||||||
|
{
|
||||||
|
"xiyaowong/transparent.nvim",
|
||||||
|
config = function()
|
||||||
|
vim.cmd("TransparentEnable")
|
||||||
|
end
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
require("lazy").setup(plugins, require "plugins.configs.lazy")
|
require("lazy").setup(plugins, require "plugins.configs.lazy")
|
||||||
|
@ -30,7 +30,8 @@
|
|||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
)
|
'(custom-safe-themes
|
||||||
|
'("bdbb37a5b43210930749d2bebe2ce092dd4abe0597249b883eef00a9814e0013" default)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
@ -63,20 +63,6 @@
|
|||||||
(do-frame-config)
|
(do-frame-config)
|
||||||
(add-hook 'after-make-frame-functions 'disable-scroll-bars))
|
(add-hook 'after-make-frame-functions 'disable-scroll-bars))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** submlimity
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package sublimity
|
|
||||||
:ensure t
|
|
||||||
:straight '(sublimity
|
|
||||||
:type git
|
|
||||||
:host github
|
|
||||||
:repo "zk-phi/sublimity"))
|
|
||||||
|
|
||||||
(require 'sublimity-scroll)
|
|
||||||
;;(require 'sublimity-map) ;; experimental
|
|
||||||
(require 'sublimity-attractive)
|
|
||||||
|
|
||||||
(sublimity-mode 1)
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** System path (macos)
|
** System path (macos)
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -98,38 +84,37 @@
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Font
|
** Font
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(let ((font "JetBrains Mono-12:style=Regular"))
|
(let ((font "JetBrains Mono-10:style=Regular"))
|
||||||
(set-face-attribute 'default nil :font font)
|
(set-face-attribute 'default nil :font font)
|
||||||
(set-frame-font font nil t))
|
(set-frame-font font nil t))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Catppuccin and theme notify watcher
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package catppuccin-theme
|
|
||||||
:ensure t)
|
|
||||||
(require 'filenotify)
|
|
||||||
|
|
||||||
(setq *theme-file* "~/theme")
|
** Doom-modeline && Doom-themes
|
||||||
(defun set-system-theme ()
|
|
||||||
(let ((theme
|
|
||||||
(with-temp-buffer
|
|
||||||
(insert-file-contents *theme-file*)
|
|
||||||
(buffer-string)))
|
|
||||||
(current-flavor catppuccin-flavor))
|
|
||||||
(setq catppuccin-flavor (if (string-prefix-p "dark" theme) 'mocha 'latte))
|
|
||||||
(if (not (eq catppuccin-flavor current-flavor))
|
|
||||||
(catppuccin-reload))))
|
|
||||||
|
|
||||||
(set-system-theme)
|
|
||||||
(file-notify-add-watch *theme-file* '(change)
|
|
||||||
#'(lambda (event) (set-system-theme)))
|
|
||||||
#+END_SRC
|
|
||||||
** Doom-modeline
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package doom-themes
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
;; Global settings (defaults)
|
||||||
|
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
||||||
|
doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
||||||
|
(load-theme 'doom-laserwave t)
|
||||||
|
|
||||||
|
;; Enable flashing mode-line on errors
|
||||||
|
(doom-themes-visual-bell-config)
|
||||||
|
;; Enable custom neotree theme (all-the-icons must be installed!)
|
||||||
|
(doom-themes-neotree-config)
|
||||||
|
;; or for treemacs users
|
||||||
|
(setq doom-themes-treemacs-theme "doom-atom") ; use "doom-colors" for less minimal icon theme
|
||||||
|
(doom-themes-treemacs-config)
|
||||||
|
;; Corrects (and improves) org-mode's native fontification.
|
||||||
|
(doom-themes-org-config))
|
||||||
|
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(doom-modeline-mode 1))
|
(doom-modeline-mode 1))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Icons
|
** Icons
|
||||||
must run ~(all-the-icons-install-fonts)~ and ~(nerd-fonts-install-fonts)~
|
must run ~(all-the-icons-install-fonts)~ and ~(nerd-fonts-install-fonts)~
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -248,18 +233,6 @@ must run ~(all-the-icons-install-fonts)~ and ~(nerd-fonts-install-fonts)~
|
|||||||
(use-package auto-complete :ensure t)
|
(use-package auto-complete :ensure t)
|
||||||
(ac-config-default)
|
(ac-config-default)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Copilot
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package copilot
|
|
||||||
:straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el"))
|
|
||||||
:ensure t
|
|
||||||
:config
|
|
||||||
(setq copilot-indent-offset-warning-disable t))
|
|
||||||
(define-key copilot-completion-map (kbd "C-c c") 'copilot-accept-completion)
|
|
||||||
(define-key copilot-completion-map (kbd "C-c c") 'copilot-accept-completion)
|
|
||||||
(add-hook 'prog-mode-hook 'copilot-mode)
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Company mode
|
** Company mode
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package company
|
(use-package company
|
||||||
@ -281,12 +254,12 @@ must run ~(all-the-icons-install-fonts)~ and ~(nerd-fonts-install-fonts)~
|
|||||||
:hook ((python-ts-mode . lsp) ;; pip install python-lsp-server pyls-black pyls-isort pyls-mypy
|
:hook ((python-ts-mode . lsp) ;; pip install python-lsp-server pyls-black pyls-isort pyls-mypy
|
||||||
(elixir-mode . lsp)
|
(elixir-mode . lsp)
|
||||||
(rust-mode . lsp)
|
(rust-mode . lsp)
|
||||||
(go-ts-mode . lsp)
|
(go-ts-mode . lsp)
|
||||||
(java-mode . lsp)
|
(java-mode . lsp)
|
||||||
(php-mode . lsp)
|
(php-mode . lsp)
|
||||||
(c-mode . lsp)
|
(c-ts-mode . lsp)
|
||||||
(typescript-ts-mode . lsp)
|
(typescript-ts-mode . lsp)
|
||||||
(tsx-ts-mode . lsp)
|
(tsx-ts-mode . lsp)
|
||||||
(lsp-mode . lsp-enable-which-key-integration))
|
(lsp-mode . lsp-enable-which-key-integration))
|
||||||
:config (progn
|
:config (progn
|
||||||
(lsp-register-custom-settings
|
(lsp-register-custom-settings
|
||||||
|
26
.xinitrc
26
.xinitrc
@ -1,27 +1,17 @@
|
|||||||
#!/bin/sh
|
exec ~/.screenlayout/screenlayout.sh &
|
||||||
|
exec ~/scripts/statusbar.sh &
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
|
||||||
export SBCL_HOME=/usr/lib/sbcl
|
|
||||||
export _QWT_TOOLKT=MToolkit
|
|
||||||
|
|
||||||
exec ~/.screenlayout/run.sh &
|
|
||||||
|
|
||||||
exec wmname compiz &
|
|
||||||
|
|
||||||
exec emacs-keys-everywhere &
|
|
||||||
exec picom -b --vsync --backend glx &
|
|
||||||
#exec xmodmap ~/.xmodmap &
|
|
||||||
exec xinput set-prop 10 "Coordinate Transformation Matrix" 1.2 0 0 0 1.2 0 0 0 1.8 &
|
|
||||||
|
|
||||||
exec xsetroot -cursor_name left_ptr &
|
exec xsetroot -cursor_name left_ptr &
|
||||||
exec xset s off &
|
exec xset s off &
|
||||||
exec xset b off &
|
exec xset b off &
|
||||||
exec xset -dpms &
|
exec xset -dpms &
|
||||||
|
|
||||||
exec feh --bg-fill --randomize ~/Wallpapers &
|
exec picom -b &
|
||||||
|
|
||||||
exec sleep 1s && dunst &
|
exec dunst &
|
||||||
|
|
||||||
exec systemd start --user display.target &
|
exec feh --bg-center --randomize ~/Wallpapers &
|
||||||
|
|
||||||
/usr/local/bin/stumpwm
|
while type dwm >/dev/null; do dwm 2>/tmp/dwm.log && continue || break ; done
|
||||||
|
BIN
Wallpapers/.DS_Store
vendored
BIN
Wallpapers/.DS_Store
vendored
Binary file not shown.
BIN
Wallpapers/Cute girly wallpapers.jpeg
Normal file
BIN
Wallpapers/Cute girly wallpapers.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 176 KiB |
BIN
Wallpapers/pink pfps.jpeg
Normal file
BIN
Wallpapers/pink pfps.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
16
scripts/machine-specific-zsh/sakomoto.zsh
Normal file
16
scripts/machine-specific-zsh/sakomoto.zsh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
export PATH=$PATH:/home/lizzy/.cargo/bin
|
||||||
|
|
||||||
|
eval "$(zoxide init --cmd z zsh)"
|
||||||
|
|
||||||
|
export GPG_TTY="$(tty)"
|
||||||
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
gpgconf --launch gpg-agent
|
||||||
|
gpg-connect-agent updatestartuptty /bye > /dev/null
|
||||||
|
|
||||||
|
. /opt/asdf-vm/asdf.sh
|
||||||
|
|
||||||
|
alias cd="z"
|
||||||
|
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init -)"
|
104
scripts/statusbar.sh
Executable file
104
scripts/statusbar.sh
Executable file
@ -0,0 +1,104 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
usbmon() {
|
||||||
|
usb1=$(lsblk -la | awk '/sdc1/ { print $1 }')
|
||||||
|
usb1mounted=$(lsblk -la | awk '/sdc1/ { print $7 }')
|
||||||
|
|
||||||
|
if [ "$usb1" ]; then
|
||||||
|
if [ -z "$usb1mounted" ]; then
|
||||||
|
echo " |"
|
||||||
|
else
|
||||||
|
echo " $usb1 |"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
battery() {
|
||||||
|
percentage=$(acpi -b | awk '{ print $4; }' | tr -d "%" | tr -d ",")
|
||||||
|
state=$(acpi -b | awk '{ print $3; }' | tr -d ",")
|
||||||
|
if [ $state = "Discharging" ]; then
|
||||||
|
if [ $percentage -gt 75 ]; then
|
||||||
|
state=""
|
||||||
|
elif [ $percentage -gt 50 ]; then
|
||||||
|
state=""
|
||||||
|
elif [ $percentage -gt 25 ]; then
|
||||||
|
state=""
|
||||||
|
else
|
||||||
|
state=""
|
||||||
|
fi
|
||||||
|
elif [ $state = "Full" ]; then
|
||||||
|
state=""
|
||||||
|
elif [ $state = "Charging" ]; then
|
||||||
|
state=""
|
||||||
|
fi
|
||||||
|
echo "$state $percentage %"
|
||||||
|
}
|
||||||
|
|
||||||
|
fsmon() {
|
||||||
|
ROOTPART=$(df -h | awk '/\/$/ { print $3}')
|
||||||
|
HOMEPART=$(df -h | awk '/\/home/ { print $3}')
|
||||||
|
SWAPPART=$(cat /proc/swaps | awk '/\// { print $4 }')
|
||||||
|
|
||||||
|
echo " $ROOTPART $HOMEPART $SWAPPART"
|
||||||
|
}
|
||||||
|
|
||||||
|
ram() {
|
||||||
|
mem=$(free -h | awk '/Mem:/ { print $3 }' | cut -f1 -d 'i')
|
||||||
|
echo "$mem"
|
||||||
|
}
|
||||||
|
|
||||||
|
cpu() {
|
||||||
|
read -r cpu a b c previdle rest < /proc/stat
|
||||||
|
prevtotal=$((a+b+c+previdle))
|
||||||
|
sleep 0.5
|
||||||
|
read -r cpu a b c idle rest < /proc/stat
|
||||||
|
total=$((a+b+c+idle))
|
||||||
|
cpu=$((100*( (total-prevtotal) - (idle-previdle) ) / (total-prevtotal) ))
|
||||||
|
echo "$cpu"%
|
||||||
|
}
|
||||||
|
|
||||||
|
network() {
|
||||||
|
conntype=$(ip route | awk '/default/ { print substr($5,1,1) }')
|
||||||
|
|
||||||
|
if [ -z "$conntype" ]; then
|
||||||
|
echo " down"
|
||||||
|
elif [ "$conntype" = "e" ]; then
|
||||||
|
echo " up"
|
||||||
|
elif [ "$conntype" = "w" ]; then
|
||||||
|
echo " up"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
volume_pa() {
|
||||||
|
muted=$(pactl list sinks | awk '/Mute:/ { print $2 }')
|
||||||
|
vol=$(pactl list sinks | grep Volume: | awk 'FNR == 1 { print $5 }' | cut -f1 -d '%')
|
||||||
|
|
||||||
|
if [ "$muted" = "yes" ]; then
|
||||||
|
echo " muted"
|
||||||
|
else
|
||||||
|
if [ "$vol" -ge 65 ]; then
|
||||||
|
echo " $vol%"
|
||||||
|
elif [ "$vol" -ge 40 ]; then
|
||||||
|
echo " $vol%"
|
||||||
|
elif [ "$vol" -ge 0 ]; then
|
||||||
|
echo " $vol%"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
clock() {
|
||||||
|
dte=$(date +"%D")
|
||||||
|
time=$(date +"%H:%M")
|
||||||
|
|
||||||
|
echo " $dte $time"
|
||||||
|
}
|
||||||
|
|
||||||
|
main() {
|
||||||
|
while true; do
|
||||||
|
dwm -s " $(usbmon) $(ram) | $(cpu) | $(battery) | $(network) | $(volume_pa) | $(clock)"
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
main
|
Loading…
Reference in New Issue
Block a user