i3.config 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. set $mod Mod1
  2. set $ws1 "Ƹ̵̡Ӝ̵̨̄Ʒ"
  3. set $ws2 "一"
  4. set $ws3 "二"
  5. set $ws4 "三"
  6. set $ws5 "四"
  7. set $ws6 "五"
  8. font pango:monospace 0
  9. exec --no-startup-id xrandr -o right
  10. exec --no-startup-id xsetroot -cursor_name left_ptr
  11. exec --no-startup-id xinput set-prop 8 "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
  12. exec --no-startup-id xwallpaper --zoom ~/Pictures/(yourpicturehere).png
  13. exec --no-startup-id xautolock -time 5 -locker "i3lock -i ~/Pictures/(yourpicturehere).png -n" &
  14. exec --no-startup-id i3-msg 'workspace $ws1; exec urxvt'
  15. # border backgr. text indicator child_border
  16. client.focused #FF84B6 #000000 #ffffff #FF84B6 #FF84B6
  17. client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
  18. client.unfocused #BA1743 #222222 #888888 #BA1743 #BA1743
  19. client.urgent #2f343a #900000 #ffffff #900000 #900000
  20. client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
  21. client.background #460020
  22. set $refresh_i3status killall -SIGUSR1 i3status
  23. bindsym --release XF86_PowerOff exec --no-startup-id "sh /home/(yourusernamehere)/.config/i3/power.sh"
  24. bindsym $mod+Return exec urxvt
  25. bindsym $mod+x kill
  26. bindsym $mod+space exec "dmenu_run -p 'Run:'"
  27. bindsym $mod+1 workspace $ws1
  28. bindsym $mod+2 workspace $ws2
  29. bindsym $mod+3 workspace $ws3
  30. bindsym $mod+4 workspace $ws4
  31. bindsym $mod+5 workspace $ws5
  32. bindsym $mod+6 workspace $ws6
  33. bindsym $mod+Shift+1 move container to workspace $ws1
  34. bindsym $mod+Shift+2 move container to workspace $ws2
  35. bindsym $mod+Shift+3 move container to workspace $ws3
  36. bindsym $mod+Shift+4 move container to workspace $ws4
  37. bindsym $mod+Shift+5 move container to workspace $ws5
  38. bindsym $mod+Shift+6 move container to workspace $ws6
  39. bindsym $mod+Shift+c reload
  40. bindsym $mod+Shift+r restart
  41. bindsym $mod+Shift+e exit
  42. bar {
  43. #border #bg #text
  44. colors {
  45. background #000000 #000000 #ffffff
  46. focused_workspace #FF84B6 #FF84B6 #000000
  47. active_workspace #FF84B6 #FF84B6 #000000
  48. inactive_workspace #BA1743 #BA1743 #ffffff
  49. urgent_workspace #2F343A #900000 #000000
  50. binding_mode #2F343A #900000 #000000
  51. }
  52. position top
  53. font pango:Source Han Sans JP 38
  54. status_command /home/(yourusernamehere)/.config/i3/bat.sh
  55. }