From 68c5567d561e31ad620053caa4f4dc50ecc23b9b Mon Sep 17 00:00:00 2001 From: Ian Adam Naval Date: Tue, 21 Apr 2015 09:37:11 -0400 Subject: [PATCH] Update i3 config Change floating windows to have titlebars Remove focused window title from status bar (too much CPU usage) --- i3/i3.dotfile/config | 2 +- i3/i3.dotfile/status.py | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/i3/i3.dotfile/config b/i3/i3.dotfile/config index ada213d..f15cbf6 100644 --- a/i3/i3.dotfile/config +++ b/i3/i3.dotfile/config @@ -199,7 +199,7 @@ bindsym $mod+Shift+e mode "$quit_msg" bindsym $mod+r mode "resize" new_window pixel 2 -new_float pixel 2 +new_float normal 2 smart_borders on # border background text indicator diff --git a/i3/i3.dotfile/status.py b/i3/i3.dotfile/status.py index c1ab69c..3f218b8 100644 --- a/i3/i3.dotfile/status.py +++ b/i3/i3.dotfile/status.py @@ -53,7 +53,7 @@ if os.path.exists("/sys/class/power_supply/BAT0"): status.register("battery", battery_ident="BAT0", format="{consumption:.1f}W {percentage_design:.1f}%{status} {remaining:%E%h:%M}", - alert=True, + alert=False, alert_percentage=20, charging_color=COLORS['Yellow'], full_color=COLORS['Green'], @@ -68,7 +68,7 @@ if os.path.exists("/sys/class/power_supply/BAT1"): status.register("battery", battery_ident="BAT1", format="{consumption:.1f}W {percentage_design:.1f}%{status} {remaining:%E%h:%M}", - alert=True, + alert=False, alert_percentage=20, charging_color=COLORS['Yellow'], full_color=COLORS['Green'], @@ -103,9 +103,5 @@ status.register("keyboard_locks", caps_on="[CapsLock]", caps_off="") -status.register("shell", - command="~/.i3/window.sh", - interval=0.1) - status.run()