Migrate alacritty config from yaml to toml
Remove cursor hiding in hyprland Add soft-reboot to shutdown menu
This commit is contained in:
parent
9344f7ec3b
commit
923bd6c08d
5 changed files with 28 additions and 25 deletions
|
@ -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" \
|
||||||
|
|
|
@ -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 ;;
|
||||||
logout) systemctl --user exit ;;
|
soft-reboot) systemctl soft-reboot ;;
|
||||||
autostart) autostart-manage run ;;
|
logout) systemctl --user exit ;;
|
||||||
*) ;; esac
|
autostart) autostart-manage run ;;
|
||||||
|
*) ;; esac
|
||||||
|
|
16
.config/alacritty/alacritty.toml
Normal file
16
.config/alacritty/alacritty.toml
Normal 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
|
|
@ -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
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue