Migrate alacritty config from yaml to toml

Remove cursor hiding in hyprland
Add soft-reboot to shutdown menu
This commit is contained in:
Tobias Reisinger 2023-12-28 04:15:00 +01:00
parent 9344f7ec3b
commit 923bd6c08d
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 28 additions and 25 deletions

View file

@ -33,8 +33,8 @@ _autoinstall_base () {
_autoinstall_graphical () { _autoinstall_graphical () {
_autoinstall_file \ _autoinstall_file \
"https://raw.githubusercontent.com/dracula/alacritty/master/dracula.yml" \ "https://raw.githubusercontent.com/dracula/alacritty/master/dracula.toml" \
"$HOME/.config/alacritty/dracula.yml" "$HOME/.config/alacritty/dracula.toml"
_autoinstall_file \ _autoinstall_file \
"https://raw.githubusercontent.com/dracula/duckduckgo/master/monkeyscript.user.js" \ "https://raw.githubusercontent.com/dracula/duckduckgo/master/monkeyscript.user.js" \

View file

@ -1,8 +1,9 @@
#!/bin/sh #!/bin/sh
actions="backup-shutwdown actions="backup-shutdown
shutdown shutdown
reboot reboot
soft-reboot
logout logout
autostart" autostart"
action=$(echo "$actions" | $DMENU) action=$(echo "$actions" | $DMENU)
@ -18,9 +19,10 @@ fi
notify-send "$(user-cleaner)" notify-send "$(user-cleaner)"
case "$action" in case "$action" in
backup-shutwdown) _menu_shutdown_backup && systemctl poweroff -i ;; backup-shutdown) _menu_shutdown_backup && systemctl poweroff -i ;;
shutdown) systemctl poweroff -i ;; shutdown) systemctl poweroff -i ;;
reboot) systemctl reboot ;; reboot) systemctl reboot ;;
soft-reboot) systemctl soft-reboot ;;
logout) systemctl --user exit ;; logout) systemctl --user exit ;;
autostart) autostart-manage run ;; autostart) autostart-manage run ;;
*) ;; esac *) ;; esac

View file

@ -0,0 +1,16 @@
import = ["~/.config/alacritty/dracula.toml"]
[colors]
draw_bold_text_with_bright_colors = true
[env]
TERM = "xterm-256color"
[font]
size = 13.0
[font.normal]
family = "JetBrainsMono Nerd Font"
[window]
opacity = 0.9

View file

@ -1,15 +0,0 @@
import:
- '~/.config/alacritty/dracula.yml'
env:
TERM: xterm-256color
font:
normal:
family: JetBrainsMono Nerd Font
size: 13.0
window:
opacity: 0.9
draw_bold_text_with_bright_colors: true

View file

@ -25,7 +25,7 @@ general {
gaps_out = 6 gaps_out = 6
border_size = 1 border_size = 1
cursor_inactive_timeout = 3 cursor_inactive_timeout = 0
no_cursor_warps = true no_cursor_warps = true
layout = dwindle layout = dwindle