Advertisement
Guest User

Untitled

a guest
Dec 1st, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. # Use Mouse+$mod to drag floating windows to their wanted position
  2. floating_modifier $mod
  3.  
  4. #########################
  5. # VARIABLES
  6. #########################
  7.  
  8. set $mod Mod4
  9. set $alt Mod1
  10.  
  11. #set $term --no-startup-id st
  12. set $term --no-startup-id alacritty
  13. set $dropdown_class term_dropdown
  14. set $ranger_class term_ranger
  15.  
  16. set $no_gasp gaps inner current set 0; gaps outer current set 0
  17.  
  18.  
  19. #########################
  20. # STARTUP
  21. #########################
  22.  
  23. #exec $term -c $dropdown_class -n dropdown -e tm st
  24. exec $term --class $dropdown_class --title dropdown_term --config-file "$HOME/.config/alacritty/custom/alacritty_dropdown.yml"
  25. exec $term --class $ranger_class --title dropdown_ranger --config-file "$HOME/.config/alacritty/custom/alacritty_ranger.yml"
  26.  
  27. # bg
  28. exec_always feh --bg-fill $HOME/Dropbox/pictures/wallpapers/new/dark-space-2560x1440-stars-4k-8k-7935.jpg
  29. # global vim navigation
  30. exec --no-startup-id autokey-gtk
  31. # notifications
  32. exec --no-startup-id dunst
  33. # composite manager
  34. exec --no-startup-id compton -bc
  35. #exec --no-startup-id compton -b
  36. # hides the mouse pointer
  37. #'-grab' fixes the problem with incorrect windows navigation
  38. exec --no-startup-id unclutter -grab -idle 30
  39. # dropbox
  40. exec --no-startup-id dropbox
  41.  
  42. # keyboard layout
  43. exec_always --no-startup-id setxkbmap -layout us,ru
  44. exec_always --no-startup-id setxkbmap -option grp:alt_caps_toggle
  45.  
  46.  
  47. #########################
  48. # UI
  49. #########################
  50.  
  51. # Font for window titles. Will also be used by the bar unless a different font
  52. # is used in the bar {} block below.
  53. font pango:monospace 9
  54.  
  55. focus_follows_mouse no
  56.  
  57. # Needed for i3-gaps
  58. for_window [class="^.*"] border pixel 2
  59. default_border pixel 2
  60. # hide borders for single windows
  61. hide_edge_borders smart
  62.  
  63. # set popups during fullscreen mode
  64. popup_during_fullscreen smart
  65.  
  66. # Floating windows
  67. floating_maximum_size 2560 x 1415
  68.  
  69. #gaps
  70. smart_gaps on
  71. gaps inner 21
  72. gaps outer 5
  73. # BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER
  74. client.focused $darkblack $white $darkblack $darkblack $light_text_active
  75. client.unfocused $darkblack $darkblack $white $darkblack $darkblack
  76. client.focused_inactive $darkblack #ffffff $white $darkblack $darkblack
  77. client.urgent $darkred $darkred $black $darkred $darkred
  78. client.background #ffffff
  79.  
  80.  
  81. bar {
  82. status_command i3blocks
  83. position top
  84. tray_output none
  85. separator_symbol "|"
  86. strip_workspace_numbers yes
  87. font pango: monospace 11
  88.  
  89. height 25
  90.  
  91. bindsym button4 nop
  92. bindsym button5 nop
  93.  
  94. colors {
  95. background $darkblack
  96. statusline $darkwhite
  97. separator #236295
  98.  
  99. # border bg text
  100. focused_workspace $light_text_active $blue_bg_dark $light_text_active
  101. inactive_workspace $blue_bg_dark $blue_bg_dark $blue_light
  102.  
  103. active_workspace $white $white $darkwhite
  104. urgent_workspace $darkblack $darkblack $white
  105. }
  106. }
  107.  
  108.  
  109. #########################
  110. # APP SPECIFIC UI
  111. #########################
  112.  
  113. for_window [class="^Firefox$"] $no_gasp
  114. for_window [class="^Google\\-chrome$"] $no_gasp
  115.  
  116. ### Floating
  117.  
  118. # feh
  119. for_window [class="^feh$"] floating enable
  120. for_window [class="^feh$"] move position center
  121.  
  122. # idea
  123. for_window [title="Default Changelist"] floating enable, move position center, resize set 1800 1100
  124. for_window [title="IntelliJ IDEA$"] floating enable, move position -2 25, resize set 2560 1415, border pixel 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement