summaryrefslogtreecommitdiffstatshomepage
path: root/i3/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-08-08 16:19:43 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-08-08 16:19:43 -0500
commit5448cfbeade55aff6edb655289ce9fdd3cadf749 (patch)
tree4f7b5274035c874761519b7126c3df101643fddb /i3/.config
parent9a4db7fbeee44afb0a70a1f0772a73ebe65d2eb1 (diff)
feat(i3): add i3 config
Diffstat (limited to 'i3/.config')
-rw-r--r--i3/.config/i3/config162
1 files changed, 162 insertions, 0 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
new file mode 100644
index 0000000..ded8a6f
--- /dev/null
+++ b/i3/.config/i3/config
@@ -0,0 +1,162 @@
+set $mod Mod4
+set $menu dmenu
+
+set $left h
+set $down j
+set $up k
+set $right l
+
+set $base00 #1d2021
+set $base01 #3c3836
+set $base02 #504945
+set $base03 #665c54
+set $base04 #bdae93
+set $base05 #d5c4a1
+set $base06 #ebdbb2
+set $base07 #fbf1c7
+set $base08 #fb4934
+set $base09 #fe8019
+set $base0A #fabd2f
+set $base0B #b8bb26
+set $base0C #8ec07c
+set $base0D #83a598
+set $base0E #d3869b
+set $base0F #d65d0e
+
+# Property Border BG Text Indicator Child Border
+client.focused $base05 $base0D $base00 $base0D $base0D
+client.focused_inactive $base01 $base01 $base05 $base03 $base01
+client.unfocused $base01 $base00 $base05 $base01 $base01
+client.urgent $base08 $base08 $base00 $base08 $base08
+client.placeholder $base00 $base00 $base05 $base00 $base00
+client.background $base07
+
+font pango:FiraCode Nerd Font 15
+focus_on_window_activation focus
+default_border pixel
+hide_edge_borders smart
+
+exec_always --no-startup-id feh --bg-fill ~/.local/share/gruvbox/arch_left.png ~/.local/share/gruvbox/i3wm_right.png
+
+# for_window [shell=".*"] inhibit_idle fullscreen
+for_window [class="Pavucontrol" title="^Volume Control$"] border none, floating enable
+for_window [class="streamlink-twitch-gui" title="^Streamlink Twitch GUI$"] border none, floating enable
+for_window [class="gnome-calculator" title="Calculator"] border none, floating enable
+for_window [class="Firefox" title="Firefox — Sharing Indicator"] kill
+
+bindsym $mod+q kill
+bindsym $mod+Shift+r restart
+bindsym $mod+Shift+c reload
+bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Do you really want to exit i3?' -B 'Yes, exit i3' 'i3-msg exit'"
+bindsym $mod+ctrl+q exec --no-startup-id loginctl lock-session
+bindsym $mod+Escape exec --no-startup-id powermenu list | $menu | powermenu
+bindsym $mod+space exec --no-startup-id j4-dmenu-desktop --no-generic --dmenu='$menu' --term="$TERMINAL"
+bindsym $mod+Shift+space exec --no-startup-id dmenu-run
+bindsym $mod+p exec --no-startup-id passmenu
+bindsym $mod+Shift+p exec --no-startup-id passmenu --type
+bindsym $mod+y exec --no-startup-id yubikey-oath-dmenu --notify --clipboard
+bindsym $mod+Shift+y exec --no-startup-id yubikey-oath-dmenu --notify --type
+bindsym $mod+Return exec $TERMINAL
+bindsym $mod+w exec $BROWSER
+# bindsym Print exec slurp | grim -g - - | wl-copy --type image/png
+# bindsym $mod+Print exec /usr/share/sway/scripts/grimshot --notify save area
+
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
+bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
+bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
+bindsym XF86AudioNext exec --no-startup-id playerctl next
+bindsym XF86AudioPrev exec --no-startup-id playerctl previous
+bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
+bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
+
+bindsym $mod+$left focus left
+bindsym $mod+$down focus down
+bindsym $mod+$up focus up
+bindsym $mod+$right focus right
+
+bindsym $mod+Left focus left
+bindsym $mod+Down focus down
+bindsym $mod+Up focus up
+bindsym $mod+Right focus right
+
+bindsym $mod+Shift+$left move left
+bindsym $mod+Shift+$down move down
+bindsym $mod+Shift+$up move up
+bindsym $mod+Shift+$right move right
+
+bindsym $mod+Shift+Left move left
+bindsym $mod+Shift+Down move down
+bindsym $mod+Shift+Up move up
+bindsym $mod+Shift+Right move right
+
+bindsym $mod+Ctrl+$left move workspace to output left
+bindsym $mod+Ctrl+$down move workspace to output down
+bindsym $mod+Ctrl+$up move workspace to output up
+bindsym $mod+Ctrl+$right move workspace to output right
+
+bindsym $mod+Ctrl+Left move workspace to output left
+bindsym $mod+Ctrl+Down move workspace to output down
+bindsym $mod+Ctrl+Up move workspace to output up
+bindsym $mod+Ctrl+Right move workspace to output right
+
+bindsym $mod+1 workspace number 1
+bindsym $mod+2 workspace number 2
+bindsym $mod+3 workspace number 3
+bindsym $mod+4 workspace number 4
+bindsym $mod+5 workspace number 5
+bindsym $mod+6 workspace number 6
+bindsym $mod+7 workspace number 7
+bindsym $mod+8 workspace number 8
+bindsym $mod+9 workspace number 9
+bindsym $mod+0 workspace number 10
+bindsym $mod+Ctrl+6 workspace back_and_forth
+
+bindsym $mod+Shift+1 move container to workspace number 1; workspace number 1
+bindsym $mod+Shift+2 move container to workspace number 2; workspace number 2
+bindsym $mod+Shift+3 move container to workspace number 3; workspace number 3
+bindsym $mod+Shift+4 move container to workspace number 4; workspace number 4
+bindsym $mod+Shift+5 move container to workspace number 5; workspace number 5
+bindsym $mod+Shift+6 move container to workspace number 6; workspace number 6
+bindsym $mod+Shift+7 move container to workspace number 7; workspace number 7
+bindsym $mod+Shift+8 move container to workspace number 8; workspace number 8
+bindsym $mod+Shift+9 move container to workspace number 9; workspace number 9
+bindsym $mod+Shift+0 move container to workspace number 10
+
+bindsym $mod+f fullscreen
+bindsym $mod+Shift+backslash split toggle
+bindsym $mod+minus splith
+bindsym $mod+backslash splitv
+bindsym $mod+r mode 'resize'
+mode 'resize' {
+ bindsym $left resize shrink width 10px
+ bindsym $down resize grow height 10px
+ bindsym $up resize shrink height 10px
+ bindsym $right resize grow width 10px
+
+ bindsym Escape mode 'default'
+}
+
+bar {
+ status_command i3status-rs
+ font pango:FiraCode Nerd Font 15
+ colors {
+ background $base00
+ separator $base01
+ statusline $base04
+
+ # State Border BG Text
+ focused_workspace $base05 $base0D $base00
+ active_workspace $base05 $base03 $base00
+ inactive_workspace $base03 $base01 $base05
+ urgent_workspace $base08 $base08 $base00
+ binding_mode $base00 $base0A $base00
+ }
+}
+
+
+include ~/.config/i3/config.d/*
+include /etc/i3/config.d/*
+
+# exec_always "systemctl --user import-environment DISPLAY i3SOCK; systemctl --user start sway-session.target"