Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##======================================================================================
- ##======================================================================================
- set $mod Mod4
- ##======================================================================================
- ##======================================================================================
- #Font
- font pango: Liberation Sans Bold 8
- ##======================================================================================
- ##======================================================================================
- ### Theme ###
- # class border backgr. text indicator
- client.focused #DDDDDD #D42725 #000000 #ffffff
- client.focused_inactive #333333 #222222 #ffffff #888888
- client.unfocused #333333 #222222 #888888 #888888
- client.urgent #222222 #e86700 #ffffff #e86700
- ### Borders ###
- new_window pixel 5
- new_float normal 5
- focus_follows_mouse no
- ##======================================================================================
- ##======================================================================================
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- ##======================================================================================
- ##======================================================================================
- #i3 Shortcut
- #Termite
- bindsym $mod+Return exec urxvt
- bindsym $mod+b exec --no-startup-id thunar
- exec --no-startup-id xfce4-power-manager
- exec --no-startup-id nitrogen --restore
- exec --no-startup-id compton
- exec --no-startup-id which connman-notify && connman-notify &
- exec --no-startup-id spotify
- exec --no-startup-id dunst
- exec --no-startup-id megasync
- exec --no-startup-id telegram-desktop
- exec --no-startup-id notify-desktop
- exec --no-startup-id notify-send
- exec --no-startup-id xscreensaver --nosplash
- #exec_always ~/.config/i3/i3-autoname-workspaces.py
- #wallpaper
- exec --no-startup-id feh --bg-scale /home/sombra/Imagens/wallhaven-241495.png
- #Oblogout
- bindsym --release Menu exec --no-startup-id oblogout
- # ncm
- bindsym XF86AudioPlay exec ncmpcpp toggle
- bindsym XF86AudioStop exec ncmpcpp stop
- bindsym XF86AudioPrev exec ncmpcpp prev
- bindsym XF86AudioNext exec ncmpcpp next
- #volume
- bindsym XF86AudioRaiseVolume exec amixer -q sset Master 5%+ unmute
- bindsym XF86AudioLowerVolume exec amixer -q sset Master 5%- unmute
- bindsym XF86AudioMute exec amixer -q sset Master toggle
- # Sreen brightness controls
- bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
- bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
- #Print
- bindsym --release Print exec --no-startup-id scrot %Y-%m-%d-%T.png -e 'mv $f ~/Imagens/screenshot'
- bindsym --release Shift+Print exec "scrot -s '/home/sombra/Imagens/screenshot/%s_%H%M_%d%m%Y_$wx$h.png'"
- bindsym --release $mod+Shift+Print exec "scrot -u -d 4 '/home/sombra/Imagens/screenshot/%s_%H%M_%d%m%Y_$wx$h.png'"
- ##======================================================================================
- ##======================================================================================
- # kill focused window
- bindsym $mod+Shift+q kill
- ##======================================================================================
- ##======================================================================================
- bindsym $mod+d exec rofi -show run -font "snap 10" -fg "#505050" -bg "#ff0000" -hlfg "#ffb964" -hlbg "#ff0000" -o 85
- # There also is the (new) i3-dmenu-desktop which only displays applications
- # shipping a .desktop file. It is a wrapper around dmenu, so you need that
- # installed.
- # bindsym $mod+d exec i3-dmenu-desktop --dmenu="/usr/bin/dmenu -b -i -l 0 -o 0.8 -fn 'xft:FontAwesome:pixelsize=10' -nb '#191919' -nf '#9ac0cd' -sb '#191919' -sf '#bf3f34' -p 'Menu'"
- ##======================================================================================
- ##======================================================================================
- # Floating window size
- floating_minimum_size 100 x 100
- floating_maximum_size 1020 x 880
- ##======================================================================================
- ##======================================================================================
- # untitled windows
- new_window 1pixel
- new_float 1pixel
- for_window [class="^.*"] border pixel 1
- # remove border for notification
- for_window [class="notify"] border none
- ##======================================================================================
- ##======================================================================================
- # Change focus
- bindsym $mod+j focus left
- bindsym $mod+k focus down
- bindsym $mod+l focus up
- bindsym $mod+semicolon focus right
- ##======================================================================================
- ##======================================================================================
- # alternatively, you can use the cursor keys:
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
- ##======================================================================================
- ##======================================================================================
- # move focused window
- bindsym $mod+Shift+j move left
- bindsym $mod+Shift+k move down
- bindsym $mod+Shift+l move up
- bindsym $mod+Shift+semicolon move right
- ##======================================================================================
- ##======================================================================================
- # alternatively, you can use the cursor keys:
- bindsym $mod+Shift+Left move left
- bindsym $mod+Shift+Down move down
- bindsym $mod+Shift+Up move up
- bindsym $mod+Shift+Right move right
- ##======================================================================================
- ##======================================================================================
- # split in horizontal orientation
- bindsym $mod+h split h
- ##======================================================================================
- ##======================================================================================
- # split in vertical orientation
- bindsym $mod+v split v
- ##======================================================================================
- ##======================================================================================
- # enter fullscreen mode for the focused container
- bindsym $mod+f fullscreen
- ##======================================================================================
- ##======================================================================================
- # change container layout (stacked, tabbed, toggle split)
- bindsym $mod+s layout stacking
- bindsym $mod+w layout tabbed
- bindsym $mod+e layout toggle split
- ##======================================================================================
- ##======================================================================================
- # toggle tiling / floating
- bindsym $mod+Shift+space floating toggle
- ##======================================================================================
- ##======================================================================================
- # change focus between tiling / floating windows
- bindsym $mod+space focus mode_toggle
- ##======================================================================================
- ##======================================================================================
- # focus the parent container
- bindsym $mod+a focus parent
- ##======================================================================================
- ##======================================================================================
- ### Cycle Through Workspaces ### {{{
- ## Added for touchegg
- bindsym $mod+u workspace prev
- bindsym $mod+o workspace next
- ### End Cycle Through Workspaces ### }}}
- ##======================================================================================
- ##======================================================================================
- # switch to workspace
- bindsym $mod+1 workspace $WS1
- bindsym $mod+2 workspace $WS2
- bindsym $mod+3 workspace $WS3
- bindsym $mod+4 workspace $WS4
- bindsym $mod+5 workspace $WS5
- bindsym $mod+6 workspace $WS6
- bindsym $mod+7 workspace $WS7
- bindsym $mod+8 workspace $WS8
- bindsym $mod+9 workspace $WS9
- bindsym $mod+0 workspace $WS0
- ##======================================================================================
- ##======================================================================================
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace $WS1
- bindsym $mod+Shift+2 move container to workspace $WS2
- bindsym $mod+Shift+3 move container to workspace $WS3
- bindsym $mod+Shift+4 move container to workspace $WS4
- bindsym $mod+Shift+5 move container to workspace $WS5
- bindsym $mod+Shift+6 move container to workspace $WS6
- bindsym $mod+Shift+7 move container to workspace $WS7
- bindsym $mod+Shift+8 move container to workspace $WS8
- bindsym $mod+Shift+9 move container to workspace $WS9
- bindsym $mod+Shift+0 move container to workspace $WS0
- ##======================================================================================
- ##======================================================================================
- # Assign workspace names and order
- set $WS1 -
- set $WS2 - Console
- set $WS3 -
- set $WS4 -
- set $WS5 Virutalbox
- set $WS6 Editor
- set $WS7 7❼ ☘
- set $WS8 8❽
- set $WS9 9❾
- set $WS0 0:
- ##======================================================================================
- ##======================================================================================
- # Assign applications to specific WS
- assign [class="Firefox"] $WS3 Firefox
- assign [class="Thunar"] $WS4 Thunar
- assign [class="google-chrome"] $WS1 Chrome
- #fluante
- for_window [class="(?i)Virtualbox"] floating enable
- for_window [class="(?i)Google-chrome"] floating enable
- for_window [class="(?i)mplayer2"] floating enable
- for_window [class="(?i)feh"] floating enable
- for_window [class="Lxappearance"] floating enable sticky enable border normal
- for_window [class="(?i)nitrogen"] floating enable
- ##======================================================================================
- ##======================================================================================
- # reload the configuration file
- bindsym $mod+Shift+c reload
- ##======================================================================================
- ##======================================================================================
- # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+r restart
- ##======================================================================================
- ##======================================================================================
- # power #
- set $mode_system State (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
- mode "$mode_system" {
- bindsym l exec --no-startup-id /home/sombra/.config/i3/i3exit lock, mode "default"
- bindsym e exec --no-startup-id /home/sombra/.config/i3/i3exit logout, mode "default"
- bindsym s exec --no-startup-id /home/sombra/.config/i3/i3exit suspend, mode "default"
- bindsym h exec --no-startup-id /home/sombra/.config/i3/i3exit hibernate, mode "default"
- bindsym r exec --no-startup-id /home/sombra/.config/i3/i3exit reboot, mode "default"
- bindsym Shift+s exec --no-startup-id /home/sombra/.config/i3/i3exit shutdown, mode "default"
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- bindsym $mod+m mode "$mode_system"
- ##======================================================================================
- ##======================================================================================
- # resize window (you can also use the mouse for that)
- mode "resize" {
- # These bindings trigger as soon as you enter the resize mode
- # Pressing left will shrink the window’s width.
- # Pressing right will grow the window’s width.
- # Pressing up will shrink the window’s height.
- # Pressing down will grow the window’s height.
- bindsym j resize shrink width 10 px or 10 ppt
- bindsym k resize grow height 10 px or 10 ppt
- bindsym l resize shrink height 10 px or 10 ppt
- bindsym semicolon resize grow width 10 px or 10 ppt
- # same bindings, but for the arrow keys
- 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
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- bindsym $mod+r mode "resize"
- # Gaps between windows
- gaps inner 5
- gaps outer 0
- smart_gaps on
- smart_borders on
- ##======================================================================================
- ##======================================================================================
- bar {
- status_command i3status
- #mode hide
- hidden_state hide
- position top
- colors {
- background #E7E8EB
- statusline #353945
- separator #656565
- # Class Border BG Text
- focused_workspace #E7E8EB #E7E8EB #B52126
- active_workspace #E7E8EB #5f676a #ffffff
- inactive_workspace #E7E8EB #E7E8EB #353945
- urgent_workspace #2f343a #e86700 #ffffff
- }
- }
- ##======================================================================================
- ##======================================================================================
Advertisement
Add Comment
Please, Sign In to add comment