commit bfb691822b51ad473f9bc889799a6ae1c5400a4a
parent 28704fcc2b35e984619436ed0ae2e217126229fc
Author: Ryan Jeffrey <pwishie@gmail.com>
Date: Sun, 19 Apr 2020 16:48:21 -0700
back to i3
Diffstat:
1 file changed, 34 insertions(+), 27 deletions(-)
diff --git a/.config/i3/config b/.config/i3/config
@@ -19,11 +19,9 @@ bindsym $mod+Return exec st
bindsym $mod+m exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
bindsym $mod+t exec emacsclient -c
-workspace_layout tabbed
-
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
-font pango:Ubuntu-M:style=regular
+font pango:Hack:style=regular
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@@ -54,7 +52,7 @@ bindsym $mod+d exec dmenu_run
# change focus
# for window, order sometimes matters
-for_window [class="^.*"] border pixel 1
+for_window [class="^.*"] border pixel 0
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
@@ -82,14 +80,14 @@ bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
-bindsym $mod+e exec --no-startup-id thunar
+bindsym $mod+e exec --no-startup-id st -e ranger
# change container layout (stacked, tabbed, toggle split)
-#bindsym $mod+s layout stacking
-bindsym $mod+w layout tabbed
-bindsym $mod+semicolon layout toggle split
-#bindsym $mod+semicolon layout toggle stack
+#bindsym $mod+o layout stacking
+bindsym $mod+w layout toggle split
+#bindsym $mod+s layout toggle split
+#bindsym $mod+o layout toggle stack
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
@@ -99,7 +97,7 @@ bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
-
+new_window 1pixel
# focus the child container
#bindsym $mod+d focus child
@@ -111,8 +109,8 @@ set $ws2 "2:Web"
set $ws3 "3:Misc"
set $ws4 "4:Misc"
set $ws5 "5:Discord"
-set $ws6 "5:Misc"
-set $ws7 "6:Emacs"
+set $ws6 "6:Misc"
+set $ws7 "7:Emacs"
set $ws8 "8:Misc"
set $ws9 "9:Godot"
set $ws10 "10:Steam"
@@ -170,6 +168,17 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
bindsym $mod+shift+s exec --no-startup-id "scr=$(ls -d --color=never /home/ryan/src/scripts/ui/* | dmenu -l 20); exec $scr"
+set_from_resource $fg i3wm.color7 #f0f0f0
+set_from_resource $bg i3wm.color2 #f0f0f0
+
+client.focused $bg $bg $fg $bg $bg
+client.focused_inactive $bg $bg $fg $bg $bg
+client.unfocused $bg $bg $fg $bg $bg
+client.urgent $bg $bg $fg $bg $bg
+client.placeholder $bg $bg $fg $bg $bg
+
+client.background $bg
+
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
@@ -179,10 +188,10 @@ mode "resize" {
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
# same bindings, but for the arrow keys
- bindsym Left resize shrink width 10 px or 10 ppt
- bindsym Down resize grow height 10 px or 10 ppt
- bindsym Up resize shrink height 10 px or 10 ppt
- bindsym Right resize grow width 10 px or 10 ppt
+ bindsym Left resize shrink width 15 px or 10 ppt
+ bindsym Down resize grow height 15 px or 10 ppt
+ bindsym Up resize shrink height 15 px or 10 ppt
+ bindsym Right resize grow width 15 px or 10 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
@@ -194,13 +203,17 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
-# bar {
-# status_command i3status
-# strip_workspace_numbers yes
-# }
+bar {
+ colors {
+ statusline #35803d
+ }
+
+ position top
+ status_command i3status
+ }
-exec --no-startup-id compton -b
+exec --no-startup-id picom -b
assign [class="firefox"] $ws1
assign [class="emacs"] $ws7
@@ -213,7 +226,6 @@ exec --no-startup-id discord
exec --no-startup-id steam
-exec --no-startup-id 'i3-msg workspace $ws6; i3-msg layout tabbed'
exec --no-startup-id 'i3-msg workspace $ws9; i3-msg layout tabbed'
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 5 +5% # increase sound volume
@@ -224,13 +236,8 @@ bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 5 toggle #
bindsym $mod+p exec --no-startup-id mpc toggle
bindsym $mod+n exec --no-startup-id mpc next
bindsym $mod+l exec --no-startup-id mpc prev
-bindsym $mod+o exec --no-startup-id mpc shuffle
bindsym $mod+y exec --no-startup-id st -e ncmpcpp
-exec --no-startup-id xscreensaver
-
exec --no-startup-id /home/ryan/src/scripts/monset.zsh
-exec --no-startup-id /home/ryan/src/scripts/init-polybar.sh
-
# exec --no-startup-id feh --bg-fill --no-xinerama /home/ryan/Pictures/Gnu_wallpaper.png
\ No newline at end of file