diff options
| author | Marc Vertes <mvertes@free.fr> | 2020-10-02 12:57:47 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2020-10-02 12:57:47 +0200 |
| commit | 0d0b8b33a49f1775e8a2bd9b9bdbeb6fc63cc53b (patch) | |
| tree | 8d9abe6c889ed7c86e0e4314b270b3a95c891fc2 | |
| parent | 501178da855fc418055dbb951b9990e5025998c2 (diff) | |
update
| -rw-r--r-- | .Xresources | 5 | ||||
| -rw-r--r-- | .config/i3/config | 10 | ||||
| -rw-r--r-- | .i3status.conf | 24 |
3 files changed, 29 insertions, 10 deletions
diff --git a/.Xresources b/.Xresources index 0a54cfc..a653af4 100644 --- a/.Xresources +++ b/.Xresources @@ -21,6 +21,11 @@ xterm*VT100.Translations: #override \ Ctrl <Key> Next: smaller-vt-font() \n\ Ctrl <Key> Prior: larger-vt-font() \n ! xterm*font: 7x14 +! Allow sixel graphics. (Try: "convert -colors 16 foo.jpg sixel:-"). +xterm*decTerminalID: vt340 +! Allow xterm to read the terminal window size (op #14) +xterm*allowWindowOps : False +xterm*disallowedWindowOps : 1,2,3,4,5,6,7,8,9,11,13,18,19,20,21,GetSelection,SetSelection,SetWinLines,SetXprop ! Black + DarkGrey *color0: #000000 diff --git a/.config/i3/config b/.config/i3/config index bc65b99..d22c3be 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -14,7 +14,9 @@ set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. #font pango:monospace 8 -font fixed +#font fixed +# Same as above X11 fixed 6x13, but with icons +font pango:MiscFixedSC613 regular 9 #font pango:monospace 8, Noto sans 8 # This font is widely installed, provides lots of unicode glyphs, right-to-left @@ -99,7 +101,8 @@ bindsym --release button2 kill #bindsym $mod+d exec --no-startup-id i3-dmenu-desktop -dmenu="dmenu -i -fn 'Mono-9'" #bindsym F1 exec --no-startup-id i3-dmenu-desktop -dmenu="dmenu -i -fn 'Mono-9'" bindsym $mod+d exec --no-startup-id i3-dmenu-desktop -bindsym F1 exec --no-startup-id i3-dmenu-desktop -entry-type=command +#bindsym F1 exec --no-startup-id i3-dmenu-desktop -entry-type=command +bindsym F1 exec --no-startup-id i3-dmenu-desktop -dmenu="dmenu -i -fn 'Fixed-12'" # Use playerctl to control media player from keyboard bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause @@ -246,6 +249,7 @@ bindsym $mod+less move workspace to output left # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - status_command LANG=fr_FR.UTF-8 i3status +# status_command LANG=fr_FR.UTF-8 i3status + status_command i3status tray_output primary } diff --git a/.i3status.conf b/.i3status.conf index ebd8243..e60903b 100644 --- a/.i3status.conf +++ b/.i3status.conf @@ -29,10 +29,12 @@ read_file hostname { path = "/etc/hostname" } +# ☠ wireless _first_ { -# format_up = "W: %essid %quality %ip" - format_up = "W: %essid %quality" - format_down = "W: down" + #format_up = "🌐 %essid %quality" + #format_up = "📶 %essid %quality" + format_up = "📡 %essid %quality" + format_down = "📡 down" } ethernet _first_ { @@ -40,10 +42,15 @@ ethernet _first_ { format_down = "E: down" } +# battery all { last_full_capacity = true integer_battery_capacity = true format = "%status %percentage %remaining" + status_chr = "⚡🔋" + status_bat = "🔋" + status_unk = "? UNK" + status_full = "⚡🔋" threshold_type = "percentage" low_threshold = 10 } @@ -60,7 +67,9 @@ battery all { #} disk "/" { - format = "/ %avail" + #format = "📀 %avail" + #format = "💽 %avail" + format = "/ %avail av." } disk "/boot" { @@ -68,7 +77,7 @@ disk "/boot" { } cpu_usage { - format = "CPU: %usage" + format = "CPU %usage" } load { @@ -76,17 +85,18 @@ load { } memory { - format = "RAM: %available" + format = "Mem %available av." threshold_degraded = "1G" format_degraded = "MEMORY < %available" } cpu_temperature 0 { - format = "T: %degrees °C" + format = "🌡%degrees °C" path = "/sys/class/hwmon/hwmon0/temp1_input" } tztime local { #format = "%Y-%m-%d %H:%M:%S" format = "%a %d %b %H:%M:%S" + #format = "📅 %a %d %b ⌚ %H:%M:%S" } |
