From 0f776c0a265f7498792c3bb8634db5630bb16205 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Tue, 26 Apr 2022 02:19:01 -0700 Subject: [PATCH] changed up configuration for i3 status bar and dmenu --- i3/config | 44 ++++++++++++++++++++++++++++---------------- i3/i3status.conf | 21 +++++++++++++++------ 2 files changed, 43 insertions(+), 22 deletions(-) diff --git a/i3/config b/i3/config index 1d352a65..05974866 100644 --- a/i3/config +++ b/i3/config @@ -18,9 +18,9 @@ exec_always --no-startup-id autotiling # Increase Brightness # For at Home/Desktop: -exec xrandr --output Screen-0 --brightness 1.1 +# exec xrandr --output Screen-0 --brightness 1.1 # For at Work/Laptop: -# exec xbacklight -set 70 +exec xbacklight -set 70 # Enable pulseaudio exec pulseaudio --start @@ -106,14 +106,14 @@ for_window [instance="keepassxc"] floating enable for_window [instance="gtktranslate"] floating enable # For at Home/Desktop: -for_window [instance="galculator"] floating enable move right 1100px, move down 300px -for_window [instance="gcolor3"] floating enable move right 900px, move down 300px -for_window [instance="mousepad"] floating enable move right 1100px, move down 300px +# for_window [instance="galculator"] floating enable move right 1100px, move down 300px +# for_window [instance="gcolor3"] floating enable move right 900px, move down 300px +# for_window [instance="mousepad"] floating enable move right 1100px, move down 300px # For at Laptop: -# for_window [instance="galculator"] floating enable move right 725px, move down 310px -# for_window [instance="gcolor3"] floating enable move right 550px, move down 300px -# for_window [instance="mousepad"] floating enable move right 700px, move down 250px +for_window [instance="galculator"] floating enable move right 725px, move down 310px +for_window [instance="gcolor3"] floating enable move right 550px, move down 300px +for_window [instance="mousepad"] floating enable move right 700px, move down 250px # For testing of floating window python guis for_window [instance="app.py"] floating enable @@ -127,7 +127,8 @@ floating_maximum_size 600 x 630 bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run +bindsym $mod+d exec --no-startup-id dmenu_run -nb '#323b4d' -sf '#323b4d' -sb '#87afd7' -nf '#87afd7' + # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" # There also is i3-dmenu-desktop which only displays applications shipping a @@ -257,12 +258,23 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) -# bar { - # workspace_buttons no - # status_command i3status +bar { + mode hide + hidden_state hide + modifier Mod1 + workspace_buttons no + status_command i3status + separator_symbol " :: " + i3bar_command i3bar --transparency + font_size 20 + tray_padding 0 - # colors { - # background #323b4d - # } -# } + colors { + background #323b4d + statusline #87afd7 + separator #87afd7 + } + +} +# NotoSans-Bold diff --git a/i3/i3status.conf b/i3/i3status.conf index de3dbff2..8ccfdeec 100644 --- a/i3/i3status.conf +++ b/i3/i3status.conf @@ -7,22 +7,24 @@ # If the above line is not correctly displayed, fix your editor first! general { - colors = true + colors = false interval = 5 } #order += "ipv6" order += "wireless _first_" #order += "ethernet _first_" -#order += "battery all" +# Laptop Only +order += "battery all" #order += "disk /" #order += "load" #order += "memory" order += "tztime local" +#Laptop Only (reformat for Desktop) wireless _first_ { - format_up = "W: (%quality at %essid)" #%ip" - format_down = "W: down" + format_up = "[_^_] w: %quality" # at %essid)" #%ip" + format_down = "down" } ethernet _first_ { @@ -30,8 +32,14 @@ ethernet _first_ { format_down = "E: down" } +# Laptop Only battery all { - format = "%status %percentage %remaining" + format = "%status %percentage" #%remaining" + format_down = "No battery" + status_chr = "[^]" + # status_bat = "" + status_full = "[*]" + low_threshold = 15 } disk "/" { @@ -49,5 +57,6 @@ memory { } tztime local { - format = "%Y-%m-%d %H:%M:%S" + # format = "%Y-%m-%d %H:%M:%S" + format = "%H:%M " #:%S" }