aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-14 13:59:28 -0800
committerclarkzjw <[email protected]>2023-02-14 13:59:28 -0800
commitb61bb59da1bd2365ac2e4c6ff18def1b5c150b82 (patch)
treeb4e1a05812cd4eb1611a9ae41c0ffbbc81cb5f57 /dot_config/i3
parentff1cfcfe67ac03eb4fc5f4d252a18ce46644d5f3 (diff)
downloaddotfiles-b61bb59da1bd2365ac2e4c6ff18def1b5c150b82.tar.gz
i3: update config
Diffstat (limited to 'dot_config/i3')
-rw-r--r--dot_config/i3/config82
1 files changed, 24 insertions, 58 deletions
diff --git a/dot_config/i3/config b/dot_config/i3/config
index 998a8fd..a643548 100644
--- a/dot_config/i3/config
+++ b/dot_config/i3/config
@@ -43,8 +43,10 @@ workspace_layout tabbed
43#border indicator on windows: 43#border indicator on windows:
44#new_window pixel 1 44#new_window pixel 1
45 45
46default_border pixel 0
47
46# thin borders 48# thin borders
47# hide_edge_borders both 49hide_edge_borders both
48 50
49# Set inner/outer gaps 51# Set inner/outer gaps
50#gaps inner 0 52#gaps inner 0
@@ -185,8 +187,8 @@ bindsym $mod+Shift+c reload
185# restart i3 inplace (preserves your layout/session, can be used to update i3) 187# restart i3 inplace (preserves your layout/session, can be used to update i3)
186bindsym $mod+Shift+r restart 188bindsym $mod+Shift+r restart
187 189
188# keybinding in fancy rofi (automated): 190# list keybinding in fancy rofi (automated):
189bindsym F1 exec ~/.config/i3/scripts/keyhint-2 191# bindsym F1 exec ~/.config/i3/scripts/keyhint-2
190# alternative 192# alternative
191# keybinding list in editor: 193# keybinding list in editor:
192# bindsym $mod+F1 exec xed ~/.config/i3/keybindings 194# bindsym $mod+F1 exec xed ~/.config/i3/keybindings
@@ -211,10 +213,10 @@ bindsym $mod+Up focus up
211bindsym $mod+Right focus right 213bindsym $mod+Right focus right
212 214
213# move focused window 215# move focused window
214bindsym $mod+Shift+j move left 216#bindsym $mod+Shift+j move left
215bindsym $mod+Shift+k move down 217#bindsym $mod+Shift+k move down
216bindsym $mod+Shift+b move up 218#bindsym $mod+Shift+b move up
217bindsym $mod+Shift+o move right 219#bindsym $mod+Shift+o move right
218 220
219# alternatively, you can use the cursor keys: 221# alternatively, you can use the cursor keys:
220bindsym $mod+Shift+Left move left 222bindsym $mod+Shift+Left move left
@@ -246,7 +248,7 @@ bindsym $mod+Shift+space floating toggle
246bindsym $mod+a focus parent 248bindsym $mod+a focus parent
247 249
248# open new empty workspace 250# open new empty workspace
249bindsym $mod+Shift+n exec --no-startup-id ~/.config/i3/scripts/empty_workspace 251#bindsym $mod+Shift+n exec --no-startup-id ~/.config/i3/scripts/empty_workspace
250 252
251# Multimedia Keys 253# Multimedia Keys
252 254
@@ -304,12 +306,10 @@ set $ws8 "8"
304set $ws9 "9" 306set $ws9 "9"
305 307
306# bind program to workspace and focus to them on startup: 308# bind program to workspace and focus to them on startup:
307#assign [class="Xfce4-terminal"] $ws1
308assign [class="jetbrains-clion"] $ws1 309assign [class="jetbrains-clion"] $ws1
309assign [class="Thunar"] $ws3 310assign [class="Thunar"] $ws3
310assign [class="Logseq"] $ws3 311assign [class="Logseq"] $ws3
311assign [class="thunderbird"] $ws4 312assign [class="thunderbird"] $ws4
312#assign [class="TelegramDesktop"] $ws5
313assign [class="discord"] $ws5 313assign [class="discord"] $ws5
314assign [class="Microsoft Teams - Preview"] $ws5 314assign [class="Microsoft Teams - Preview"] $ws5
315assign [class="FLTK"] $ws9 315assign [class="FLTK"] $ws9
@@ -317,11 +317,14 @@ assign [class="FLTK"] $ws9
317# automatic set focus new window if it opens on another workspace then the current: 317# automatic set focus new window if it opens on another workspace then the current:
318for_window [class=Xfce4-terminal] focus 318for_window [class=Xfce4-terminal] focus
319for_window [class=(?i)firefox] focus 319for_window [class=(?i)firefox] focus
320for_window [class=Logseq] focus
320for_window [class=Thunar] focus 321for_window [class=Thunar] focus
321for_window [class=thunderbird] focus 322for_window [class=thunderbird] focus
322for_window [class=TelegramDesktop] focus 323for_window [class=TelegramDesktop] focus
323for_window [class="Microsoft Teams - Preview"] focus 324for_window [class="Microsoft Teams - Preview"] focus
324 325
326#for_window [class="^.*"] border pixel 1
327
325############## 328##############
326# compositor # 329# compositor #
327############## 330##############
@@ -401,9 +404,6 @@ exec --no-startup-id dunst --config ~/.config/dunst/dunstrc
401# `yay -S autotiling ;) (it is in AUR) 404# `yay -S autotiling ;) (it is in AUR)
402#exec_always --no-startup-id autotiling 405#exec_always --no-startup-id autotiling
403 406
404# Autostart apps as you like
405#exec --no-startup-id sleep 5 && thunderbird
406
407exec --no-startup-id xmodmap ~/.Xmodmap 407exec --no-startup-id xmodmap ~/.Xmodmap
408 408
409################## 409##################
@@ -428,10 +428,11 @@ for_window [class="Nm-connection-editor"] floating enable
428for_window [class="flameshot"] floating enable 428for_window [class="flameshot"] floating enable
429for_window [class="FLTK"] floating enable resize 700 700 429for_window [class="FLTK"] floating enable resize 700 700
430for_window [class="1Password"] floating enable resize 800 800 430for_window [class="1Password"] floating enable resize 800 800
431#for_window [class="TelegramDesktop"] floating enable resize set 800 800
432for_window [class="TelegramDesktop"] floating enable resize set 1300 1200 431for_window [class="TelegramDesktop"] floating enable resize set 1300 1200
433for_window [class="eudic"] floating enable resize set 800 800 432for_window [class="eudic"] floating enable resize set 800 800
434for_window [class="Nitrogen"] floating enable resize set 800 800 433for_window [class="Nitrogen"] floating enable resize set 800 800
434for_window [class="org.remmina.Remmina"] floating enable resize set 800 800
435
435 436
436# Make the currently focused window a scratchpad 437# Make the currently focused window a scratchpad
437bindsym $mod+Shift+m move scratchpad 438bindsym $mod+Shift+m move scratchpad
@@ -477,55 +478,20 @@ client.urgent $urgentred $urgentred $white $yellowbrown
477# (plus the system information i3status finds out, if available) 478# (plus the system information i3status finds out, if available)
478bar { 479bar {
479 font pango: Noto Sans Regular 16 480 font pango: Noto Sans Regular 16
480 status_command i3blocks -c ~/.config/i3/i3blocks.conf
481 position bottom
482 output eDP-1
483 i3bar_command i3bar 481 i3bar_command i3bar
484 tray_output primary 482 status_command i3blocks -c ~/.config/i3/i3blocks.conf
485 tray_padding 0
486 strip_workspace_numbers no
487
488 colors {
489 separator $purple
490 background $darkgrey
491 statusline $white
492 focused_workspace $mediumgrey $grey $darkgrey $purple
493 active_workspace $lightblue $mediumgrey $darkgrey $purple
494 inactive_workspace $darkgrey $darkgrey $grey $purple
495 urgent_workspace $urgentred $urgentred $white $purple
496 }
497}
498
499bar {
500 font pango: Noto Sans Regular 12
501 status_command i3blocks -c ~/.config/i3/i3blocks-extend.conf
502 position bottom 483 position bottom
484
485 output eDP-1
486 output DP-3
503 output DP-4 487 output DP-4
504 i3bar_command i3bar
505 tray_output primary
506 tray_padding 0
507 strip_workspace_numbers no
508 488
509 colors { 489 tray_output eDP-1
510 separator $purple 490 tray_output DP-3
511 background $darkgrey 491 tray_output DP-4
512 statusline $white 492 tray_padding 2
513 focused_workspace $mediumgrey $grey $darkgrey $purple
514 active_workspace $lightblue $mediumgrey $darkgrey $purple
515 inactive_workspace $darkgrey $darkgrey $grey $purple
516 urgent_workspace $urgentred $urgentred $white $purple
517 }
518}
519 493
520bar { 494 strip_workspace_numbers yes
521 font pango: Noto Sans Regular 12
522 status_command i3blocks -c ~/.config/i3/i3blocks-extend.conf
523 position bottom
524 output DP-3
525 i3bar_command i3bar
526 tray_output primary
527 tray_padding 0
528 strip_workspace_numbers no
529 495
530 colors { 496 colors {
531 separator $purple 497 separator $purple
Powered by cgit v1.2.3 (git 2.41.0)