From: Christian Heller Date: Fri, 24 Feb 2023 00:51:37 +0000 (+0100) Subject: x220 optimizations. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/add_task?a=commitdiff_plain;h=1cf98e5cd217fc772ad940af1f1625bc67d696e8;p=config x220 optimizations. --- diff --git a/bullseye/home_files/minimal/.bashrc b/bullseye/home_files/minimal/.bashrc index 5ee9ad8..e1d41d8 100644 --- a/bullseye/home_files/minimal/.bashrc +++ b/bullseye/home_files/minimal/.bashrc @@ -3,6 +3,10 @@ # Fancy colors for ls. alias ls="ls --color=auto" +# Other helpful aliases +alias sshauth='eval $(ssh-agent) && ssh-add' +alias xrandrbig='xrandr --output LVDS-1 --off' + # Use vim as default editor for anything. export VISUAL=vim export EDITOR=$VISUAL diff --git a/bullseye/home_files/user/.config/i3/config b/bullseye/home_files/user/.config/i3/config index 19c654e..07332f3 100644 --- a/bullseye/home_files/user/.config/i3/config +++ b/bullseye/home_files/user/.config/i3/config @@ -77,7 +77,8 @@ bindsym $mod+Shift+C reload bindsym $mod+Shift+R restart bindsym $mod+Shift+P exit -# Select "i3status" as i3 status bar. +# Select "i3status" as i3 status bar, hide systray icons. bar { + tray_output none status_command i3status } diff --git a/bullseye/home_files/x220/.config/i3status/config b/bullseye/home_files/x220/.config/i3status/config new file mode 100644 index 0000000..a81a117 --- /dev/null +++ b/bullseye/home_files/x220/.config/i3status/config @@ -0,0 +1,79 @@ +# plomlompom's i3 status bar configuration + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß + +# Activate colors; set update interval of one second. +general { + colors = true + interval = 1 +} + +# Selection / order of status elements. +order += "disk /" +order += "wireless _first_" +order += "ethernet _first_" +order += "battery all" +order += "cpu_usage" +order += "load" +order += "cpu_temperature all" +order += "time" +order += "volume master" + +# How much space is left in / ? +disk "/" { + format = "/: %avail available of %total" + separator_block_width = 25 +} + +# WLAN status: show IP and connection quality or "down". +wireless _first_ { + format_up = "w: (%quality at %essid) %ip" + format_down = "w: down" + separator_block_width = 10 +} + +# Ethernet status: show IP or "down". +ethernet _first_ { + format_up = "e: %ip" + format_down = "e: down" + separator_block_width = 25 +} + +# Battery status: show FULL/CHARGING/BATTERY, storage, time left. +battery all { + format = "b: %status %percentage %remaining" + separator_block_width = 25 +} + +# Show CPU usage. +cpu_usage { + format = "cpu: %usage" + separator_block_width = 10 +} + +# Show system load during last 1/5/15 minutes. +load { + format = "%1min %5min %15min" + separator_block_width = 25 +} + +# Show CPU temperature in degrees of celsius. +cpu_temperature all { + format = "%degrees °C" + separator_block_width = 25 +} + +# Show date/time/timezone as "year-month-day hour:minute:second +# timezone_numeric/timezone_alphabetic". +time { + format = "%Y-%m-%d %H:%M:%S %z/%Z" + separator_block_width = 25 +} + +volume master { + format = "♪: %volume" + format_muted = "♪: muted (%volume)" + separator_block_width = 25 +}