bersama catatan peribadi & teknikalnya.

#I3-Gaps

i3status-rust
~/.config/i3status-rust/config.toml

Tangkap layar i3bar menggunakan i3status-rust:- icons = "awesome6" [theme] name = "gruvbox-dark" [theme.overrides] alternating_tint_bg = "#11111100" alternating_tint_fg = "#ffffff00" [[block]] block = "custom" command = "echo ريحان " [block.theme_overrides] idle_bg = "#00E9FF" idle_fg = "#000000" [[block]] block = "custom" command = "uname -rs" interval = "once" [[block]] block = "custom" command = "node $HOME/.scripts/node/hijri.js" interval = 1 [block.theme_overrides] idle_bg = "#80FF00" idle_fg = "#000000" [[block]] block = "time" format = "%A | %d-%m-%y | %r" timezone = "Asia/Kuala_Lumpur" interval = 1 locale = "ms_MY" [[block]] block = "cpu" format = "{utilization}" [[block]] block = "memory" #format_mem = "{mem_used}/{mem_total}({mem_used_percents})" format_mem = "{mem_used}/{mem_total:4;1}" display_type = "memory" warning_mem = 80 critical_mem = 95 interval = 1 [[block]] block = "net" device = "wlan0" format = "{signal_strength} {speed_down;K*b} {speed_up;K*b}" [[block]] block = "disk_space" path = "/" format = "{icon} {available:4;1} free" alert_absolute = true unit = "GB" alert = 60 warning = 50 [block.

conkyrc
Conky di dalam i3bar

Bertukar daripada Font Awesome kepada Emoji Google Noto Fonts. conky.config = { out_to_x = false, own_window = false, out_to_console = true, background = false, max_text_width = 0, -- Update interval in seconds update_interval = 1.0, -- This is the number of times Conky will update before quitting. -- Set to zero to run forever. total_run_times = 0, -- Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.

conky-i3bar
~/.config/i3/conky-i3bar

#!/usr/bin/env zsh # Send the header so that i3bar knows we want to use JSON: echo '{"version":1}' # Begin the endless array. echo '[' # We send an empty first array of blocks to make the loop simpler: echo '[],' # Now send blocks with information forever: exec conky -c $HOME/conkyrc Rujukan: User-contributed article: Using conky with i3bar Lihat juga: config (i3) conkyrc

config (i3)
~/.config/i3/config

# This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # # Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # # i3 config file (v4) # # Please see https://i3wm.org/docs/userguide.html for a complete reference! #Needed for i3-gaps hide_edge_borders both for_window [class="^.*"] border pixel 3 gaps inner 10 gaps outer 5 bindsym $mod+g gaps inner current plus 5 bindsym $mod+Shift+g gaps inner current minus 5 bindsym $mod+p gaps outer current plus 5 bindsym $mod+Shift+p gaps outer current minus 5 set $mod Mod4 # Font for window titles.

Top