diff options
| author | Sergii Tykhomyrov <sergii@tykhomyrov.net> | 2026-08-03 21:25:51 +0200 |
|---|---|---|
| committer | Sergii Tykhomyrov <sergii@tykhomyrov.net> | 2026-08-03 21:25:51 +0200 |
| commit | f05d119985702138c23a7b3e0fc47f6ebcfa8eab (patch) | |
| tree | 06eb48da1f18d53ab8afcc6542a206bd6388a74a /i3/dot-config | |
| parent | 492ea6ba65acc9989474b8f3513c8c7e0d881a71 (diff) | |
| parent | 995e88c574ac01243327d53e2a1936301bc02f8e (diff) | |
| download | dotfiles-f05d119985702138c23a7b3e0fc47f6ebcfa8eab.tar.gz dotfiles-f05d119985702138c23a7b3e0fc47f6ebcfa8eab.zip | |
Merge existing dotfiles repo
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KYrzpJevCUUqP6pFyJHmB4
Diffstat (limited to 'i3/dot-config')
| -rw-r--r-- | i3/dot-config/i3/config | 113 | ||||
| -rw-r--r-- | i3/dot-config/i3status/config | 45 |
2 files changed, 158 insertions, 0 deletions
diff --git a/i3/dot-config/i3/config b/i3/dot-config/i3/config new file mode 100644 index 0000000..a5a50f3 --- /dev/null +++ b/i3/dot-config/i3/config @@ -0,0 +1,113 @@ +set $mod Mod4 + +font pango:DejaVu Sans Mono 7 + +exec --no-startup-id dex --autostart --environment i3 + +floating_modifier $mod +focus_follows_mouse no +workspace_auto_back_and_forth yes +tiling_drag modifier titlebar + +bindsym $mod+Shift+q kill + +set $up k +set $down j +set $left h +set $right l + +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+bar split h +bindsym $mod+minus split v + +bindsym $mod+f fullscreen toggle + +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +bindsym $mod+Shift+space floating toggle + +bindsym $mod+space focus mode_toggle +bindsym $mod+a focus parent +bindsym $mod+z focus child + +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +bindsym $mod+Shift+c reload +bindsym $mod+Shift+r restart +bindsym $mod+Shift+Escape exec "i3-msg exit" + +bindsym $mod+r mode "resize" +mode "resize" { + 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 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 Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +gaps inner 4 px +gaps outer 2 px + +new_window pixel 2 +new_float pixel 2 + +bar { + status_command i3status + position top +} diff --git a/i3/dot-config/i3status/config b/i3/dot-config/i3status/config new file mode 100644 index 0000000..6130b51 --- /dev/null +++ b/i3/dot-config/i3status/config @@ -0,0 +1,45 @@ +general { + colors = true + interval = 5 +} + +#order += "ipv6" +#order += "wireless _first_" +#order += "ethernet _first_" +order += "battery all" +#order += "disk /" +#order += "load" +#order += "memory" +order += "tztime local" + +wireless _first_ { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + +ethernet _first_ { + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery all { + format = "%status %percentage %remaining" +} + +disk "/" { + format = "%avail" +} + +load { + format = "%1min" +} + +memory { + format = "%used | %available" + threshold_degraded = "1G" + format_degraded = "MEMORY < %available" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} |
