Browse Source

Made i3 config a bit more flexible I guess

Also I swapped screens.
master
Geoffrey Frogeye 1 year ago
parent
commit
45160c4f37
Signed by: geoffrey GPG Key ID: C72403E7F82E6AD8
  1. 18
      config/i3/config.j2

18
config/i3/config.j2

@ -149,16 +149,10 @@ set $WS9 9
set $WS10 10
# Workspace output
workspace "$WS1" output eDP-1-1
workspace "$WS2" output HDMI-0
workspace "$WS3" output eDP-1-1
workspace "$WS4" output HDMI-0
workspace "$WS5" output eDP-1-1
workspace "$WS6" output HDMI-0
workspace "$WS7" output eDP-1-1
workspace "$WS8" output HDMI-0
workspace "$WS9" output eDP-1-1
workspace "$WS10" output HDMI-0
{% set screens = ["HDMI-0", "eDP-1-1"] %}
{% for i in range(1, 11) %}
workspace "$WS{{ i }}" output {{ screens[(i - 1) % (screens | length)] }}
{% endfor %}
# switch to workspace
bindsym $mod+1 workspace $WS1; exec ~/.config/i3/focus_windows
@ -373,14 +367,18 @@ bindsym $mod+F5 exec --no-startup-id xautolock -enable
#exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Password remembering
#exec --no-startup-id gnome-keyring-daemon # Password remembering
# exec --no-startup-id urxvtd -q -f # urxvt daemon
{% if auto_numlock %}
exec --no-startup-id numlockx on # Activate Num lock
{% endif %}
exec --no-startup-id unclutter -root # Hide mouse cursor after some time
#exec --no-startup-id dunst # Notifications (handled by systemd)
exec --no-startup-id keynav # Keyboard cursor controller
#exec --no-startup-id mpd # Music Player Daemon (handled by systemd)
# exec --no-startup-id ~/.config/i3/ashuffle # MPD Auto-refill
exec --no-startup-id autorandr --change --force # Screen configuration and everything that depends on it
{% if has_battery %}
exec --no-startup-id ~/.config/i3/batteryNotify -d # Battery state notification
{% endif %}
# exec --no-startup-id ~/.config/i3/aw_start # Activity tracker

Loading…
Cancel
Save