Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # i3 config file (v4)
- #
- # Please see http://i3wm.org/docs/userguide.html for a complete reference!
- set $mod Mod4
- font pango: System San Francisco Display 10
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # start a terminal
- bindsym $mod+Return exec gnome-terminal
- bindsym $mod+Shift+q kill
- bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 300 -opacity "80" -bw 0 -bc "white" -bg "#303641" -fg "#aab3c1" -font "System San Francisco Display 18"
- bindsym $mod+j focus down
- bindsym $mod+k focus up
- bindsym $mod+h focus left
- bindsym $mod+l focus right
- bindsym $mod+Shift+j move up
- bindsym $mod+Shift+k move down
- bindsym $mod+Shift+h move left
- bindsym $mod+Shift+l move right
- bindsym $mod+Shift+v split h
- bindsym $mod+v split v
- bindsym $mod+f fullscreen toggle
- bindsym $mod+s layout stacking
- bindsym $mod+w layout tabbed
- bindsym $mod+e layout toggle split
- bindsym $mod+Shift+space floating toggle
- bindsym $mod+space focus mode_toggle
- bindsym $mod+a focus parent
- set $workspace1 "1"
- set $workspace2 "2"
- set $workspace3 "3"
- set $workspace4 "4"
- set $workspace5 "5"
- set $workspace6 "6"
- set $workspace7 "7"
- set $workspace8 "8"
- set $workspace9 "9"
- set $workspace10 "10"
- # switch to workspace
- bindsym $mod+1 workspace $workspace1
- bindsym $mod+2 workspace $workspace2
- bindsym $mod+3 workspace $workspace3
- bindsym $mod+4 workspace $workspace4
- bindsym $mod+5 workspace $workspace5
- bindsym $mod+6 workspace $workspace6
- bindsym $mod+7 workspace $workspace7
- bindsym $mod+8 workspace $workspace8
- bindsym $mod+9 workspace $workspace9
- bindsym $mod+0 workspace $workspace10
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace $workspace1
- bindsym $mod+Shift+2 move container to workspace $workspace2
- bindsym $mod+Shift+3 move container to workspace $workspace3
- bindsym $mod+Shift+4 move container to workspace $workspace4
- bindsym $mod+Shift+5 move container to workspace $workspace5
- bindsym $mod+Shift+6 move container to workspace $workspace6
- bindsym $mod+Shift+7 move container to workspace $workspace7
- bindsym $mod+Shift+8 move container to workspace $workspace8
- bindsym $mod+Shift+9 move container to workspace $workspace9
- bindsym $mod+Shift+0 move container to workspace $workspace10
- assign [class="google-chrome"] $workspace1
- assign [class="Gnome-terminal"] $workspace2
- assign [class="Nautilus"] $workspace4
- assign [class="Thunderbird"] $workspace8
- assign [class="Skype"] $workspace9
- assign [class="Spotify"] $workspace10
- bindsym $mod+t exec nautilus
- bindsym $mod+Shift+c reload
- bindsym $mod+Shift+r restart
- bindsym $mod+m move workspace to output left
- set $control power
- bindsym $mod+Shift+e mode "$control"
- mode "$control" {
- bindsym p exec systemctl poweroff
- bindsym r exec systemctl reboot
- bindsym l exec i3-msg exit
- bindsym k exec i3lock
- bindsym s exec pm-suspend
- bindsym Escape mode "default"
- }
- mode "resize" {
- bindsym k resize shrink height 10 px or 10 ppt
- bindsym j resize grow height 10 px or 10 ppt
- bindsym l resize shrink width 10 px or 10 ppt
- bindsym h resize grow width 10 px or 10 ppt
- # same bindings, but for the arrow keys
- bindsym Right 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 Left 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"
- new_window none
- # Colors
- #set $yellow #E9CC24
- set $yellow #E9CC10
- set $black0 #2D2D2D
- set $black1 #3D3D3D
- set $black2 #535353
- set $black3 #DCDCDC
- set $black #292B24
- set $grey #30322A
- set $lightgrey #757965
- set $red #E93624
- set $border #002B36
- set $background $base03
- set $foreground $base02
- set $text #93a1a1
- # SET COLOR ALIASES
- set $bg.color #1d1d1d
- set $fg.color #d1d1d1
- set $bd.color #d1d1d1
- set $alt.color #585858
- set $alt.color2 #ae95c7
- set $warn.color #c795ae
- # window colors
- # border background text indicator
- client.focused $black1 $black1 $lightgrey #00ff00
- client.unfocused $black1 $black2 $lightgrey #00ff00
- client.focused_inactive $black1 $black2 $lightgrey #00ff00
- client.urgent $red $red $lightgrey #00ff00
- bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% #increase sound volume
- bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5% #decrease sound volume
- bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle # mute sound
- # Sreen brightness controls
- bindsym XF86MonBrightnessUp exec xbacklight -inc 10
- bindsym XF86MonBrightnessDown exec xbacklight -dec 5
- # Touchpad controls
- bindsym XF86TouchpadToggle exec ~/.config/i3/toggletouchpad.sh
- # Media player controls
- bindsym XF86AudioPlay exec playerctl play-pause
- bindsym XF86AudioStop exec playerctl stop
- bindsym XF86AudioNext exec playerctl next
- bindsym XF86AudioPrev exec playerctl previous
- smart_gaps on
- bar {
- status_command polybar Bar
- tray_output primary
- separator_symbol "//"
- strip_workspace_numbers yes
- position bottom
- mode invisible
- colors{
- background $bg.color
- statusline $fg.color
- separator $alt.color
- # class border background font
- focused_workspace #00FF00 $alt.color $fg.color
- inactive_workspace #0000FF $bg.color $fg.color
- active_workspace #00CCFF $alt.color $fg.color
- urgent_workspace $bg.color $warn.color #ffffff
- }
- }
- # lock
- bindsym $mod+Ctrl+l exec lock -f Source-Sans-Pro -- scrot -z
- #exec --no-startup-id nm-applet
- #exec --no-startup-id xflux -l 11 -g 55
- exec xinput --set-prop 12 "Synaptics Two-Finger Scrolling" 1 1
- exec --no-startup-id setxkbmap -option caps:swapescape
- exec_always --no-startup-id compton -f
- exec_always --no-startup-id feh --bg-scale /home/piero/Pictures/mountain-water.jpg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement