Browse Source

Back to the trad i3bar #i3wm

Colin Powell 5 years ago
parent
commit
9d4571f814
2 changed files with 21 additions and 19 deletions
  1. 20 16
      i3/.config/i3/config
  2. 1 3
      i3/.config/i3/status.toml

+ 20 - 16
i3/.config/i3/config

@@ -150,25 +150,25 @@ bindsym $mod+Shift+r restart
 # exit i3 (logs you out of your X session)
 bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
 
-#bar {
-#    position top
-#    status_command i3status
-#}
-
 bar {
-    font pango:Terminus, FontAwesome 10
     position top
-    status_command /usr/local/bin/i3status-rs ~/.config/i3/status.toml
-    colors {
-        separator #666666
-        background #222222
-        statusline #dddddd
-        focused_workspace #0088CC #0088CC #ffffff
-        active_workspace #333333 #333333 #ffffff
-        inactive_workspace #333333 #333333 #888888
-        urgent_workspace #2f343a #900000 #ffffff
-    }
+    status_command i3status
 }
+
+#bar {
+#    font pango:Terminus, FontAwesome 10
+#    position top
+#    status_command /usr/local/bin/i3status-rs ~/.config/i3/status.toml
+#    colors {
+#        separator #666666
+#        background #222222
+#        statusline #dddddd
+#        focused_workspace #0088CC #0088CC #ffffff
+#        active_workspace #333333 #333333 #ffffff
+#        inactive_workspace #333333 #333333 #888888
+#        urgent_workspace #2f343a #900000 #ffffff
+#    }
+#}
 # resize window (you can also use the mouse for that)
 mode "resize" {
         # These bindings trigger as soon as you enter the resize mode
@@ -194,6 +194,7 @@ mode "resize" {
         bindsym $mod+r mode "default"
 }
 
+
 bindsym $mod+r mode "resize"
 bindsym $mod+c exec compton --config ~/.config/compton/compton.conf
 bindsym $mod+x exec pkill compton
@@ -202,6 +203,9 @@ gaps inner 5 gaps outer 5
 for_window [class="^.*"] border pixel 1
 client.focused #4c7899 #285577 #ffffff #2e9ef4 #FF0000
 
+# Setup Russian layout siwtching with Alt+Shift
+exec --no-startup-id "setxkbmap -model pc105 -layout us,ru -option grp:alt_shift_toggle"
+
 exec --no-startup-id xrdb ~/.Xresources
 
 ## Volume control

+ 1 - 3
i3/.config/i3/status.toml

@@ -22,7 +22,7 @@ alert = 10.0
 
 [[block]]
 block = "net"
-device = "wlp3s0"
+device = "wlp2s0"
 ssid = true
 ip = true
 speed_up = false
@@ -50,8 +50,6 @@ format = "{percentage}%"
 
 [[block]]
 block = "sound"
-driver = "pulseaudio"
-step_width = 10
 
 [[block]]
 block = "time"