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!
- # Use Super as the modkey
- #set $mod Mod3
- set $mod Mod4
- # Mouse settings
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # Do not autofocus the window the mouse may be pointing at
- focus_follows_mouse yes
- # Gaps
- gaps inner 8
- gaps outer 10
- smart_gaps on
- # Behavioural keybindings
- # kill focused window
- bindsym $mod+Shift+q kill
- bindsym XF86AudioStop exec mpc -h /var/mpd.mpd/socket stop
- bindsym XF86AudioPlay exec mpc -h /var/mpd.mpd/socket toggle
- bindsym XF86AudioPrev exec mpc -h /var/mpd.mpd/socket prev
- bindsym XF86AudioNext exec mpc -h /var/mpd.mpd/socket next
- # change focus
- bindsym $mod+h focus left
- bindsym $mod+j focus down
- bindsym $mod+k focus up
- bindsym $mod+l 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+h move left
- bindsym $mod+Shift+j move down
- bindsym $mod+Shift+k move up
- bindsym $mod+Shift+l 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+backslash split h
- # split in vertical orientation
- bindsym $mod+minus split v
- # enter fullscreen mode for the focused container
- bindsym $mod+f fullscreen
- bindsym $mod+shift+f fullscreen toggle global
- # 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+p floating toggle
- # change focus between tiling / floating windows
- bindsym $mod+p focus mode_toggle
- # focus the parent container
- bindsym $mod+a focus parent
- # focus the child container
- #bindsym $mod+d focus child
- # switch to workspace
- bindsym $mod+1 workspace 1
- bindsym $mod+2 workspace 2
- bindsym $mod+3 workspace 3
- bindsym $mod+4 workspace 4
- bindsym $mod+5 workspace 5
- bindsym $mod+6 workspace 6
- bindsym $mod+7 workspace 7
- bindsym $mod+8 workspace 8
- bindsym $mod+9 workspace 9
- bindsym $mod+0 workspace 10
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace 1; workspace 1
- bindsym $mod+Shift+2 move container to workspace 2; workspace 2
- bindsym $mod+Shift+3 move container to workspace 3; workspace 3
- bindsym $mod+Shift+4 move container to workspace 4; workspace 4
- bindsym $mod+Shift+5 move container to workspace 5; workspace 5
- bindsym $mod+Shift+6 move container to workspace 6; workspace 6
- bindsym $mod+Shift+7 move container to workspace 7; workspace 7
- bindsym $mod+Shift+8 move container to workspace 8; workspace 8
- bindsym $mod+Shift+9 move container to workspace 9; workspace 9
- bindsym $mod+Shift+0 move container to workspace 10; workspace 10
- # 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
- # resize window (you can also use the mouse for that)
- bindsym $mod+r mode "resize"
- 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 h resize shrink width 10 px or 10 ppt
- bindsym j resize grow height 10 px or 10 ppt
- bindsym k resize shrink height 10 px or 10 ppt
- bindsym l 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"
- }
- set $bg-color #2f343f
- set $inactive-bg-color #2f343f
- set $text-color #f3f4f5
- set $inactive-text-color #676E7D
- set $urgent-bg-color #E53935
- # Executional keybindings
- # Starting applications
- #bindsym $mod+Return exec i3-sensible-terminal
- bindsym $mod+Return exec urxvtc
- #bindsym $mod+Return exec urxvt
- #bindsym $mod+d exec j4-dmenu-desktop --dmenu="dmenu.xft -i -fn 'DejaVu Sans Mono:size=10' -nb '#333333' -nf '#c7c7c7' -sb '#345fa8' -sf '#deebfe'"
- bindsym $mod+b exec x-www-browser
- bindsym $mod+Shift+semicolon exec i3-input -P "i3 command: " -f "pango:DejaVu Sans Mono 10"
- # Leaving the computer
- 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'"
- bindsym Control+Mod1+l exec "~/bin/lock.sh"
- # Volume management
- #bindsym XF86AudioLowerVolume exec "mixer vol -4"
- #bindsym XF86AudioRaiseVolume exec "mixer vol +4"
- #bindsym XF86AudioMute exec "mixer vol 0"
- set $pa-sink = "alsa_output.pci-0000_00_1f.3.analog-stereo"
- bindsym XF86AudioLowerVolume exec "pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo -5%"
- bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo +5%"
- bindsym XF86AudioMute exec "pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo toggle"
- # Backlight management
- bindsym XF86MonBrightnessDown exec "~/bin/brightness.sh down"
- bindsym XF86MonBrightnessUp exec "~/bin/brightness.sh up"
- bindsym --release $mod+Print exec --no-startup-id import /tmp/latest-screenshot.png
- # Look and feel
- #font pango:DejaVu Sans Mono 10
- #font pango:Humor Sans 10
- font pango: InputMono Nerd Font 10
- font pango:FontAwesome, DejaVu Sans Mono 10
- #font pango: M+ 1m, FontAwesome, Ionicons, 10
- #font pango:Iosevka 10
- client.focused #9e2185 #c01add #deebfe #8fbfdc
- #client.focused #457ee0 #345fa8 #deebfe #8fbfdc
- client.focused_inactive #444444 #333333 #c7c7c7 #333333
- client.unfocused #444444 #333333 #777777 #333333
- client.urgent #c02a2a #902020 #ffffff #902020
- # Start i3bar to display a workspace bar (plus the system information i3status
- # finds out, if available)
- bar {
- # First font is icon font, second is text font
- #font pango:Iosevka Term, Icons 10
- #font pango:DejaVu Sans Mono 10
- font pango: InputMono Nerd Font 10
- #font pango:FontAwesome, Input Mono 10
- #font pango:FontAwesome, DejaVu Sans Mono 10
- status_command ~/.i3/status_wrapper.sh
- colors {
- background #000000
- statusline #c7c7c7
- separator #777777
- focused_workspace #9e2185 #c01add #deebfe
- #focused_workspace #457ee0 #345fa8 #deebfe
- active_workspace #444444 #333333 #c7c7c7
- inactive_workspace #444444 #333333 #777777
- urgent_workspace #c02a2a #902020 #ffffff
- }
- }
- # Autostart
- # Quake-style terminal
- #exec yeahconsole
- # Rotating wallpaper
- exec --no-startup-id ~/.i3/wallpaper.sh
- # Hide unused mouse pointer
- exec --no-startup-id unclutter -idle 3 -root
- # Keyboard layouts
- # Handled by .profile
- #exec --no-startup-id setxkbmap -option ctrl:nocaps
- # Compositor :: transparency and pretty fading.
- exec --no-startup-id compton --config ~/.config/compton.conf -CGb
- # Redshift :: makes things more red as the sun sets.
- #exec --no-startup-id redshift -c ~/.config/redshift
- # Dunst :: Notification daemon.
- exec --no-startup-id dunst -conf '~/.config/dunst/dunstrc'
- # Floating windows
- for_window [class="Steam"] floating enable
- for_window [title="^FreeRDP"] floating disable
- for_window [title="^rdesktop"] floating disable
- for_window [title="QA1"] floating disable
- for_window [class="Google-chrome"] border none
- for_window [title=" - Pentadactyl$"] border none
- for_window [title="MPlayer$"] border none
- for_window [title="^Mozilla Firefox$"] border none
- for_window [class="^qutebrowser$"] border pixel 1
- for_window [class="urxvt"] border pixel 1
- for_window [class="URxvt"] border pixel 1
- # Local settings
- #bindsym $mod+d exec dmenu_run -p "> " -nb "#2C2C2C" -sb "#2C2C2C"
- #bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -fullscreen -padding 250 -opacity "65" -bw 0 -bc "$bg-color" -bg "$bg-color" -fg "$text-color" -hlbg "$bg-color" -hlfg "#9575cd" -font "System San Francisco Display 18" -fake-transparency -fake-background /home/dijit/Pictures/wallpapers/wire_frame_stag.png
- bindsym $mod+d exec rofi -show run
- #bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 450 -opacity "85" -bw 0 -bc "$bg-color" -bg "$bg-color" -fg "$text-color" -hlbg "$bg-color" -hlfg "#9575cd" -font "System San Francisco Display 18"
- #bindsym $mod+shift+s exec rofi -show ssh -lines 3 -eh 2 -fullscreen -padding 250 -opacity "65" -bw 0 -bc "#cccccc" -bg "$bg-color" -fg "$text-color" -hlbg "$bg-color" -hlfg "#9575cd" -font "System San Francisco Display 18" -fake-transparency -fake-background /home/dijit/Pictures/wallpapers/wire_frame_stag.png
- bindsym $mod+shift+s exec rofi -show ssh -lines 3 -eh 2
- exec xautolock -time 5 -locker '~/bin/lock.sh' &
- #
- ## Razer Naga Mouse Bindings:
- bindsym KP_End workspace 1
- bindsym KP_Down workspace 2
- bindsym KP_Next workspace 3
- bindsym KP_Left workspace 4
- bindsym KP_Begin workspace 5
- bindsym KP_Right workspace 6
- bindsym KP_Home workspace 7
- bindsym KP_Up workspace 8
- bindsym KP_Prior workspace 9
- bindsym KP_Insert workspace 10
- bindsym KP_Subtract workspace 11
- bindsym KP_Add workspace 12
- bindsym Shift+KP_End move container to workspace 1; workspace 1
- bindsym Shift+KP_Down move container to workspace 2; workspace 2
- bindsym Shift+KP_Next move container to workspace 3; workspace 3
- bindsym Shift+KP_Left move container to workspace 4; workspace 4
- bindsym Shift+KP_Begin move container to workspace 5; workspace 5
- bindsym Shift+KP_Right move container to workspace 6; workspace 6
- bindsym Shift+KP_Home move container to workspace 7; workspace 7
- bindsym Shift+KP_Up move container to workspace 8; workspace 8
- bindsym Shift+KP_Prior move container to workspace 9; workspace 9
- bindsym Shift+KP_Insert move container to workspace 10; workspace 10
- bindsym Shift+KP_Subtract move container to workspace 11; workspace 11
- bindsym Shift+KP_Add move container to workspace 12; workspace 12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement