Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file has been auto-generated by i3-config-wizard(1).
- # It will not be overwritten, so edit it as you like.
- #
- # Should you change your keyboard layout somewhen, delete
- # this file and re-run i3-config-wizard(1).
- #
- # i3 config file (v4)
- #
- # Please see http://i3wm.org/docs/userguide.html for a complete reference!
- set $mod Mod4
- # Font for window titles. Will also be used by the bar unless a different font
- # is used in the bar {} block below. ISO 10646 = Unicode
- # The font above is very space-efficient, that is, it looks good, sharp and
- # clear in small sizes. However, if you need a lot of unicode glyphs or
- # right-to-left text rendering, you should instead use pango for rendering and
- # chose a FreeType font, such as:
- font pango:liberation sans 10
- exec --no-startup-id nitrogen --restore
- exec --no-startup-id tree ~ > tree
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # start programs
- exec --no-startup-id compton
- exec --no-startup-id pnmixer
- exec --no-startup-id nm-applet
- exec --no-startup-id feh --bg-fill ~/Pictures/wallpaper.jpg
- bindsym $mod+z exec --no-startup-id i3-input -f dejavu sans mono -F 'exec "%s"' -P 'run> '
- bindsym $mod+Return exec --no-startup-id xfce4-terminal
- bindsym $mod+w exec --no-startup-id firefox
- bindsym $mod+p exec --no-startup-id pavucontrol
- bindsym $mod+f exec --no-startup-id thunar
- bindsym $mod+t exec --no-startup-id urxvt
- bindsym $mod+g exec --no-startup-id gimp
- bindsym $mod+l exec --no-startup-id deluge
- bindsym $mod+Shift+s exec --no-startup-id cd ~/Pictures/Screenshots && scrot -b
- bindsym $mod+space exec mpc toggle
- bindsym $mod+Shift+m exec mpc next
- bindsym $mod+Shift+n exec mpc prev
- #bindsym $mod+t exec java -jar ~/Downloads/Chatty/Chatty.jar
- # kill focused window
- bindsym $mod+q kill
- # start dmenu (a program launcher)
- bindsym $mod+d exec --no-startup-id dmenu_run -p "Menu" -nb "#1F1F1F" -nf "#775759" -sb "#BFB08A" -sf "#000000" -i -h 20 -fn "Terminus-10"
- # 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.
- # 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
- # enter fullscreen mode for the focused container
- bindsym $mod+x fullscreen
- # change container layout (stacked, tabbed, toggle split)
- #bindsym $mod+w layout tabbed
- #bindsym $mod+s layout stacking
- #bindsym $mod+e layout toggle split
- # toggle tiling / floating
- bindsym $mod+Shift+space floating toggle
- # focus the parent container
- bindsym $mod+a focus parent
- # focus the child container
- #bindsym $mod+d focus child
- # split in horizontal orientation
- bindsym $mod+h split h
- # split in vertical orientation
- bindsym $mod+v split v
- # customize workspace names
- # set $ws1 1: Web
- # set $ws2 2: Code
- # set $ws3 3: Terminal
- # set $ws4 4: Media
- # switch to workspace3
- bindsym $mod+1 workspace ⅰ
- bindsym $mod+2 workspace ⅱ
- bindsym $mod+3 workspace ⅲ
- bindsym $mod+4 workspace ⅳ
- bindsym $mod+5 workspace ⅴ
- bindsym $mod+6 workspace ⅵ
- bindsym $mod+7 workspace ⅶ
- bindsym $mod+8 workspace ⅷ
- bindsym $mod+9 workspace ⅸ
- bindsym $mod+0 workspace ⅹ
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace ⅰ
- bindsym $mod+Shift+2 move container to workspace ⅱ
- bindsym $mod+Shift+3 move container to workspace ⅲ
- bindsym $mod+Shift+4 move container to workspace ⅳ
- bindsym $mod+Shift+5 move container to workspace ⅴ
- bindsym $mod+Shift+6 move container to workspace ⅵ
- bindsym $mod+Shift+7 move container to workspace ⅶ
- bindsym $mod+Shift+8 move container to workspace ⅷ
- bindsym $mod+Shift+9 move container to workspace ⅸ
- bindsym $mod+Shift+0 move container to workspace ⅹ
- # colors
- client.focused #4a5252 #4a5252 #4a5252 #4a5252
- #client.unfocused #333333 #222222 #888888 #292d2e
- client.unfocused #333939 #333939 #333939 #333939
- client.focused_inactive #333939 #333939 #333939 #333939
- client.urgent #2f343a #900000 #ffffff #900000
- # fer / titlebar
- new_window normal
- #hide_edge_borders vertical
- bindsym Control+Shift+x [class="^.*"] border toggle
- for_window [class="^.*"] border pixel 2
- #for_window [class="URxvt"] border normal
- #for_window [class="[.]*"] 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
- # exit i3 (logs you out of your X session)
- 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'"
- # 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 5 px or 5 ppt
- bindsym k resize grow height 5 px or 5 ppt
- bindsym l resize shrink height 5 px or 5 ppt
- bindsym k resize grow width 5 px or 5 ppt
- # same bindings, but for the arrow keys
- bindsym Right resize shrink width 5 px or 5 ppt
- bindsym Down resize grow height 5 px or 5 ppt
- bindsym Up resize shrink height 5 px or 5 ppt
- bindsym Left resize grow width 5 px or 5 ppt
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- # resize with $mod+r
- bindsym $mod+r mode "resize"
- # Start i3bar to display a workspace bar (plus the system information i3status
- # finds out, if available)
- bar {
- mode hide
- hidden_state hide
- modifier Mod4
- status_command i3status
- position top
- colors {
- background #1F1F1F
- statusline #BFB08A
- separator #1F1F1F
- focused_workspace #1F1F1F #383838 #c0b18b
- active_workspace #1F1F1F #1F1F1F #c0b18b
- inactive_workspace #1F1F1F #1F1F1F #c0b18b
- urgent_workspace #3c4d43 #BFB08A #121838
- }
- }
- # xmodmap ~/.Xmodmap &
- #bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 -- +5%
- #bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -- -5%
- bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 -- +1%
- bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -- -1%
- bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
- ## bindsym $MOD+SHIFT+x exec i3lock -i /media/data/images/o1524830.png
- bindsym $MOD+SHIFT+x exec i3lock -c 000000
- # Touchpad controls
- #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
- for_window [class="mpv"] floating enable
- for_window [class="Pavucontrol"] floating enable
- for_window [class="feh"] floating enable
- #bindsym $mod+69 exec --no-startup-id pactl set-sink-volume 0 -- +5%
- #bindsym $mod+70 exec --no-startup-id pactl set-sink-volume 0 -- -5%
- bindsym 69 exec --no-startup-id pactl set-sink-volume 0 -- +1%
- bindsym 70 exec --no-startup-id pactl set-sink-volume 0 -- -1%
Advertisement
Add Comment
Please, Sign In to add comment