✨ add ashell
This commit is contained in:
103
.config/ashell/config.toml
Normal file
103
.config/ashell/config.toml
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
log_level = "warn"
|
||||||
|
|
||||||
|
outputs = "All"
|
||||||
|
position = "Top"
|
||||||
|
|
||||||
|
app_launcher_cmd = "killall tofi-drun || tofi-drun"
|
||||||
|
clipboard_cmd = "grim -g "$(slurp)" - | wl-copy --type image/png"
|
||||||
|
|
||||||
|
# - AppLauncher, Updates, Clipboard, Workspaces, WindowTitle
|
||||||
|
# - SystemInfo, KeyboardLayout, KeyboardSubmap, Tray, Clock
|
||||||
|
# - Privacy, MediaPlayer, Settings
|
||||||
|
[modules]
|
||||||
|
left = [ "Workspaces", "SystemInfo" ]
|
||||||
|
center = [ "WindowTitle" ]
|
||||||
|
right = [ "Tray", [ "Clock", "Settings" ], "CustomNotifications" ]
|
||||||
|
|
||||||
|
[updates]
|
||||||
|
check_cmd = ""
|
||||||
|
update_cmd = ""
|
||||||
|
|
||||||
|
[workspaces]
|
||||||
|
visibility_mode = "All"
|
||||||
|
enable_workspace_filling = false
|
||||||
|
|
||||||
|
[window_title]
|
||||||
|
mode = "Title"
|
||||||
|
truncate_title_after_length = 150
|
||||||
|
|
||||||
|
[keyboard_layout.labels]
|
||||||
|
"English (US)" = ""
|
||||||
|
|
||||||
|
[system]
|
||||||
|
# - Cpu, Memory, MemorySwap, Temperature, { disk = "path" }, IpAddress, DownloadSpeed, UploadSpeed
|
||||||
|
systemInfo = [ { disk = "/" }, { disk = "/home" } ]
|
||||||
|
indicators = [ "Cpu", "Memory", "DownloadSpeed", "UploadSpeed" ]
|
||||||
|
|
||||||
|
[system.cpu]
|
||||||
|
warn_threshold = 80
|
||||||
|
alert_threshold = 100
|
||||||
|
|
||||||
|
[system.memory]
|
||||||
|
warn_threshold = 80
|
||||||
|
alert_threshold = 90
|
||||||
|
|
||||||
|
[system.temperature]
|
||||||
|
warn_threshold = 70
|
||||||
|
alert_threshold = 85
|
||||||
|
|
||||||
|
[system.disk]
|
||||||
|
warn_threshold = 90
|
||||||
|
alert_threshold = 100
|
||||||
|
|
||||||
|
[clock]
|
||||||
|
# https://docs.rs/chrono/latest/chrono/format/strftime/index.html
|
||||||
|
format = "%FTT%T%::z:"
|
||||||
|
|
||||||
|
# Media player module configuration
|
||||||
|
[media_player]
|
||||||
|
max_title_length = 100
|
||||||
|
|
||||||
|
[[CustomModule]]
|
||||||
|
name = "CustomNotifications"
|
||||||
|
icon = ""
|
||||||
|
command = "swaync-client -t -sw"
|
||||||
|
listen_cmd = "swaync-client -swb"
|
||||||
|
icons.'dnd.*' = ""
|
||||||
|
alert = ".*notification"
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
lock_cmd = "hyprlock &"
|
||||||
|
shutdown_cmd = "systemctl poweroff"
|
||||||
|
suspend_cmd = "systemctl suspend"
|
||||||
|
reboot_cmd = "systemctl reboot"
|
||||||
|
logout_cmd = "loginctl kill-user $(whoami)"
|
||||||
|
audio_sinks_more_cmd = "pavucontrol -t 3"
|
||||||
|
audio_sources_more_cmd = "pavucontrol -t 4"
|
||||||
|
# wifi_more_cmd = "nm-connection-editor"
|
||||||
|
# vpn_more_cmd = "nm-connection-editor"
|
||||||
|
# bluetooth_more_cmd = "blueman-manager"
|
||||||
|
remove_airplane_btn = true
|
||||||
|
|
||||||
|
# [appearance.background_color]
|
||||||
|
# base = "#448877"
|
||||||
|
# strong = "#448888" # optional default autogenerated from base color
|
||||||
|
# weak = "#448855" # optional default autogenarated from base color
|
||||||
|
# text = "#ffffff" # optional default base text color
|
||||||
|
[appearance]
|
||||||
|
font_name = "FreeMono"
|
||||||
|
# Islands|Solid|Gradient
|
||||||
|
style = "Gradient"
|
||||||
|
opacity = 0.69
|
||||||
|
background_color = "#00000035"
|
||||||
|
primary_color = "#FAB387"
|
||||||
|
secondary_color = "#00000055"
|
||||||
|
success_color = "#A6E3A1"
|
||||||
|
danger_color = "#F38BA8"
|
||||||
|
text_color = "#FFFFFF"
|
||||||
|
workspace_colors = [ #5BCEFAFF, #F5A9B8FF, #FFFFFFFF, #FFF430FF, #FFFFFFFF, #9C59D1FF ]
|
||||||
|
special_workspace_colors = [ "#9C59D1FF", "#F5A9B8FF" ]
|
||||||
|
|
||||||
|
[appearance.menu]
|
||||||
|
opacity = 0.7
|
||||||
|
backdrop = 0.3
|
||||||
Reference in New Issue
Block a user