lmariscal icon

i3

lmariscal | PRO | 02/08/17 10:22:30 PM UTC | 0 ⭐ | 852 👁️ | Never ⏰ | []
Bash |

4.12 KB

|

None

|

0 👍

/

0 👎

# Execs
exec --no-startup-id /usr/bin/compton --config /home/cavariux/.compton.conf -f
exec --no-startup-id feh --bg-fill /home/cavariux/Pictures/back.png
exec --no-startup-id sh /home/cavariux/mouse.sh
exec --no-startup-id xmodmap /home/cavariux/.Xmodmap
exec --no-startup-id unclutter -idle 2 -grab
# Sets and Font
set $mod Mod1
set $TERMINAL termite
set $bg #78a090
set $ubg #608073
set $fg #f0f0f0
font pango:Hack 9
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +2% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -2% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
bindsym Print exec scrot ~/Pictures/screenshots/%Y-%m-%d%H:%M:%S.png | notify-send Screenshot!
bindsym $mod+Tab workspace back_and_forth
workspace_auto_back_and_forth no<Paste>
floating_modifier $mod
bindsym $mod+Return exec termite
bindsym $mod+q kill
bindsym $mod+space exec sh ~/.i3/rofi.sh
bindsym $mod+Shift+space floating toggle
bindsym $mod+m bar mode toggle
# Media player controls
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# borders and stuff
for_window [tiling] border pixel 0
for_window [class=".*"] title_format " > %title"
# class                 border  backgr. text indicator child_border
client.focused          $bg     $bg     $fg  $bg       $bg
client.focused_inactive $bg     $bg     $fg  $bg       $bg
client.unfocused        $ubg    $ubg    $fg  $ubg      $ubg
client.urgent           $bg     $bg     $fg  $bg       $bg
client.placeholder      $bg     $bg     $fg  $bg       $bg
 
client.background       $bg
# ---
bindsym $mod+Shift+h move left
mouse_warping none
focus_follows_mouse no
bindsym $mod+s floating toggle; [floating] border normal 0; [tiling] border pixel 0
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
bindsym $mod+p exec i3lock-fancy
bindsym $mod+b split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+a focus parent
bindsym $mod+c move position center
set $w1 "0:"
set $w2 "1:"
set $w3 "2:"
set $w4 "3:"
set $w5 "4:V"
set $w6 "5:VI"
set $w7 "6:"
set $w8 "7:"
set $w9 "8:IX"
set $w0 "9:X"
bindsym $mod+1 workspace $w1
bindsym $mod+2 workspace $w2
bindsym $mod+3 workspace $w3
bindsym $mod+4 workspace $w4
bindsym $mod+5 workspace $w5
bindsym $mod+6 workspace $w6
bindsym $mod+7 workspace $w7
bindsym $mod+8 workspace $w8
bindsym $mod+9 workspace $w9
bindsym $mod+0 workspace $w0
assign [class="Vivaldi-stable"] $w2
assign [class="Spotify"] $w4
bindsym $mod+Shift+1 move container to workspace $w1
bindsym $mod+Shift+2 move container to workspace $w2
bindsym $mod+Shift+3 move container to workspace $w3
bindsym $mod+Shift+4 move container to workspace $w4
bindsym $mod+Shift+5 move container to workspace $w5
bindsym $mod+Shift+6 move container to workspace $w6
bindsym $mod+Shift+7 move container to workspace $w7
bindsym $mod+Shift+8 move container to workspace $w8
bindsym $mod+Shift+9 move container to workspace $w9
bindsym $mod+Shift+0 move container to workspace $w0
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
mode "resize" {
  bindsym k resize grow height 10 px or 10 ppt
  bindsym j resize shrink height 10 px or 10 ppt
  bindsym h resize shrink width 10 px or 10 ppt
  bindsym l resize grow width 10 px or 10 ppt
  bindsym Return mode "default"
  bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
bar {
  font pango:Hack 10
  position top
  i3bar_command ~/.i3/polybar.sh
  colors{
    background #232323
    statusline #DCDCDC
  }
}
# i3-gaps
gaps inner 5
gaps outer 0
smart_gaps on

Comments