X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/7069ec695b0b15c1ea56305223bdafe92c1b3beb..5c498315fdcad392c4d4326e7db33f21d51ba09b:/rc.org diff --git a/rc.org b/rc.org index 15ec884..098a073 100644 --- a/rc.org +++ b/rc.org @@ -713,7 +713,7 @@ order += "disk /data" order += "ethernet _first_" order += "battery 0" order += "volume master" -order += "load" +# order += "load" order += "tztime local" wireless _first_ { @@ -723,12 +723,13 @@ wireless _first_ { ethernet _first_ { # if you use %speed, i3status requires root privileges - format_up = "E: %ip (%speed)" + # format_up = "E: %ip (%speed)" + format_up = "E: %ip" format_down = "E: down" } battery 0 { - format = "%status %percentage %remaining (%consumption)" + format = "%status %percentage %remaining %consumption" path = "/sys/class/power_supply/BAT%d/uevent" low_threshold = "10" threshold_type = "percentage" @@ -738,7 +739,7 @@ battery 0 { } tztime local { - format = "%-I:%M%P %a %b %d" + format = "%A %Y-%m-%d %I:%M %p" } volume master { @@ -2780,7 +2781,8 @@ set $left h set $down j set $up k set $right l -set $term urxvt +set $term alacritty +set $term2 urxvt set $menu rofi -show run -display-run '> ' -display-window ' 🗔 ' ### Output configuration @@ -2794,6 +2796,10 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # # You can get the names of your outputs by running: swaymsg -t get_outputs +output DP-1 res 2560x1440 pos 0,0 +# 597 = (2560/2) - (1366/2) +output LVDS-1 pos 597,1440 + ### Idle configuration exec swayidle \ @@ -2806,9 +2812,8 @@ exec swayidle \ # Basics: # # start a terminal - bindsym $mod+Return exec $term -name floating - bindsym $mod+Shift+Return exec $term - for_window [class="URxvt" instance="floating"] floating enable + bindsym $mod+Return exec $term + bindsym $mod+Shift+Return exec $term2 # kill focused window bindsym $mod+Shift+q kill @@ -3033,6 +3038,10 @@ for_window [app_id="pavucontrol"] floating enable for_window [app_id="meld"] floating enable for_window [app_id="nm-connection-editor"] floating enable +set $blue #285577 +set $gray #1e1f21 +set $red #900000 + # # Status Bar: # @@ -3040,19 +3049,28 @@ for_window [app_id="nm-connection-editor"] floating enable bar { position bottom colors { - statusline #ffffff - background #212121 - inactive_workspace #21212100 #21212100 #5c5c5c + background $gray + inactive_workspace $gray $gray #888888 + active_workspace $gray $gray #ffffff + urgent_workspace $red $red #ffffff + focused_workspace $blue $blue #ffffff } status_command i3status | my-i3status.py } +client.focused $blue $blue #ffffff $blue $blue +client.unfocused $gray $gray #ffffff $gray $gray +client.focused_inactive $gray $gray #ffffff $gray $gray + # font pango: benis uushi 9 # font pango: Ubuntu Mono 11 # font pango: Inconsolata 11 font pango: DejaVu Sans Mono 9 # font pango: Liberation Mono 9 +# get rid of title bars +default_border pixel 4 + exec xrdb .Xresources # exec pgrep -x "systemd-inhibit" || \ # systemd-inhibit --what=handle-power-key --who=aminb \ @@ -3087,6 +3105,11 @@ input "1:1:AT_Translated_Set_2_keyboard" { xkb_layout us_ab,ir xkb_options ctrl:nocaps,altwin:swap_alt_win,grp:shifts_toggle } + +input "65261:24672:technomancy_Atreus" { + repeat_delay 200 + repeat_rate 45 +} #+end_src *** shemshak @@ -4631,7 +4654,7 @@ if __name__ == '__main__': if get_nosleep(): j = json.loads(line) # insert information into the start of the json, but could be anywhere - j.insert(0, {'full_text' : '🖵 ', 'name' : 'nosleep'}) + j.insert(0, {'full_text' : '•', 'name' : 'nosleep'}) # and echo back new encoded json print_line(prefix+json.dumps(j)) else: