From e2e2441dbaa4aa3177df664c1d347cb115b18580 Mon Sep 17 00:00:00 2001 From: nnduc Date: Sun, 18 May 2025 13:00:56 +0700 Subject: [PATCH] new toml alacritty --- alacritty/alacritty.toml | 4 ++-- alacritty/alacritty.yml | 10 +++++----- i3/config | 6 ++---- i3/i3status.conf | 30 ++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 11 deletions(-) create mode 100644 i3/i3status.conf diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml index 9c5fc47..504f1b6 100644 --- a/alacritty/alacritty.toml +++ b/alacritty/alacritty.toml @@ -19,6 +19,6 @@ family = "MesloLGS NF" [keyboard] bindings = [ { key = "T", mods = "Control|Shift", action = "SpawnNewInstance" }, -{ key: PageUp, action: ScrollLineUp }, -{ key: PageDown, action: ScrollLineDown }, +{ key = "PageUp", action = "ScrollLineUp" }, +{ key = "PageDown", action = "ScrollLineDown" }, ] diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index 62631fb..d19fa0a 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -7,7 +7,7 @@ font: family: MesloLGS NF #style: Bold - # Italic font face + # Italic font face italic: # value specified for the normal font. family: MesloLGS NF @@ -16,13 +16,13 @@ font: bold_italic: family: MesloLGS NF #style: Bold Italic - # Point size + # Point size size: 13.0 window: startup_mode: Maximized key_bindings: - - {key: T, mods: Control|Shift, action: SpawnNewInstance} - - { key: PageUp, action: ScrollLineUp } - - { key: PageDown, action: ScrollLineDown } + - {key: T, mods: Control|Shift, action: SpawnNewInstance} + - { key: PageUp, action: ScrollLineUp } + - { key: PageDown, action: ScrollLineDown } diff --git a/i3/config b/i3/config index 16fb517..f3cf832 100644 --- a/i3/config +++ b/i3/config @@ -10,7 +10,7 @@ # Please see https://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod1 -set $wallpaper '/data/sync/images/wallpapers/suse.png' +set $wallpaper '/data/sync/Personal/images/wallpapers/suse.png' # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango:NotoSans 12 @@ -46,9 +46,7 @@ exec --no-startup-id owncloud exec --no-startup-id pasystray exec --no-startup-id polybar exec --no-startup-id xset m 1/1 0 - -bindsym $mod+t exec xinput --disable 10 -bindsym $mod+Shift+t exec xinput --enable 10 +exec gentoo-pipewire-launcher restart & set $refresh_i3status killall -SIGUSR1 i3status diff --git a/i3/i3status.conf b/i3/i3status.conf new file mode 100644 index 0000000..fe79440 --- /dev/null +++ b/i3/i3status.conf @@ -0,0 +1,30 @@ +general { + interval = 1 + colors = true + color_good = '#88b090' + color_degraded = '#ccdc90' + color_bad = '#e89393' +} + +#order += "battery 0" +order += "tztime local" + + +#battery 0 { +# format = "%status %percentage %remaining" +# format_down = "" +# last_full_capacity = true +# integer_battery_capacity = true +# low_threshold = 11 +# threshold_type = percentage +# hide_seconds = true +# status_chr = " " +# status_bat = " " +# status_unk = " " +# status_full = " " +#} + +tztime local { + format = "%A, %e %B | %H:%M:%S" +} +