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_file \
|
||||
"https://raw.githubusercontent.com/dracula/alacritty/master/dracula.yml" \
|
||||
"$HOME/.config/alacritty/dracula.yml"
|
||||
"https://raw.githubusercontent.com/dracula/alacritty/master/dracula.toml" \
|
||||
"$HOME/.config/alacritty/dracula.toml"
|
||||
|
||||
_autoinstall_file \
|
||||
"https://raw.githubusercontent.com/dracula/duckduckgo/master/monkeyscript.user.js" \
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
actions="backup-shutwdown
|
||||
actions="backup-shutdown
|
||||
shutdown
|
||||
reboot
|
||||
soft-reboot
|
||||
logout
|
||||
autostart"
|
||||
action=$(echo "$actions" | $DMENU)
|
||||
|
@ -18,9 +19,10 @@ fi
|
|||
notify-send "$(user-cleaner)"
|
||||
|
||||
case "$action" in
|
||||
backup-shutwdown) _menu_shutdown_backup && systemctl poweroff -i ;;
|
||||
shutdown) systemctl poweroff -i ;;
|
||||
reboot) systemctl reboot ;;
|
||||
logout) systemctl --user exit ;;
|
||||
autostart) autostart-manage run ;;
|
||||
*) ;; esac
|
||||
backup-shutdown) _menu_shutdown_backup && systemctl poweroff -i ;;
|
||||
shutdown) systemctl poweroff -i ;;
|
||||
reboot) systemctl reboot ;;
|
||||
soft-reboot) systemctl soft-reboot ;;
|
||||
logout) systemctl --user exit ;;
|
||||
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
|
||||
border_size = 1
|
||||
|
||||
cursor_inactive_timeout = 3
|
||||
cursor_inactive_timeout = 0
|
||||
no_cursor_warps = true
|
||||
|
||||
layout = dwindle
|
||||
|
|
Loading…
Reference in a new issue