[rc/sway] various tweaks
authorAmin Bandali <bandali@gnu.org>
Fri, 5 Apr 2019 23:02:10 +0000 (19:02 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 5 Apr 2019 23:24:37 +0000 (19:24 -0400)
change term to alacritty, tweak colors, set default_border

rc.org

diff --git a/rc.org b/rc.org
index f4b059e..098a073 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -2781,7 +2781,8 @@ set $left h
 set $down j
 set $up k
 set $right l
 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
 set $menu rofi -show run -display-run '> ' -display-window ' ðŸ—” '
 
 ### Output configuration
@@ -2811,9 +2812,8 @@ exec swayidle \
 # Basics:
 #
     # start a terminal
 # 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
 
     # kill focused window
     bindsym $mod+Shift+q kill
@@ -3038,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
 
 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:
 #
 #
 # Status Bar:
 #
@@ -3045,19 +3049,28 @@ for_window [app_id="nm-connection-editor"] floating enable
 bar {
     position bottom
     colors {
 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
 }
 
     }
     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
 
 # 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 \
 exec xrdb .Xresources
 # exec pgrep -x "systemd-inhibit" || \
 #      systemd-inhibit --what=handle-power-key --who=aminb \