1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | # 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 some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
font pango:awesome 8
new_window pixel 2
floating_modifier $mod
bindsym $mod+Shift+q kill
bindsym $mod+Return exec lxterminal
bindsym $mod+d exec dmenu_run -p slackware
bindsym $mod+i exec xterm -e ~/bin/i3-get-window
bindsym $mod+l exec --no-startup-id ~/.local/bin/lockscreen off
bindsym $mod+F1 exec firefox
bindsym $mod+F2 exec pcmanfm
bindsym $mod+F3 exec thunar
# Screenshot
bindsym Print exec scrot -s ~/Images/Screenshots/%Y-%m-%d-%T-screenshot.png
bindsym Ctrl+Print exec scrot ~/Images/Screenshots/%Y-%m-%d-%T-screenshot.png
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+j move up
bindsym $mod+Shift+l move right
bindsym $mod+h split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
bindsym $mod+Shift+x border toggle
# layout
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+t floating toggle
bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
# WORKSPACE {{{
set $WS1 1
set $WS2 2
set $WS3 3
set $WS4 4
set $WS5 5
set $WS6 6
set $WS7 7
set $WS8 8
set $WS9 9
set $WS10 10
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 $WS10
bindsym $mod+Shift+ampersand move container to workspace $WS1
bindsym $mod+Shift+eacute move container to workspace $WS2
bindsym $mod+Shift+quotedbl move container to workspace $WS3
bindsym $mod+Shift+apostrophe move container to workspace $WS4
bindsym $mod+Shift+5 move container to workspace $WS5
bindsym $mod+Shift+minus move container to workspace $WS6
bindsym $mod+Shift+egrave move container to workspace $WS7
bindsym $mod+Shift+underscore move container to workspace $WS8
bindsym $mod+Shift+ccedilla move container to workspace $WS9
bindsym $mod+Shift+agrave move container to workspace $WS10
# }}}
for_window [window_role="app"] floating enable
for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [title="Preferences$"] floating enable
for_window [class="Galculator" instance="galculator" title="galculator"] floating enable
for_window [class="Lxappearance"] floating enable
for_window [class="Menu"] floating enable
for_window [class="blueman"] floating enable
for_window [class="Python"] floating enable
for_window [class="Lxtask"] floating enable
for_window [class="tilda"] floating enable
for_window [class="Solaar"] floating enable
for_window [class="Yad"] floating enable
for_window [class="Firefox" instance="Browser" title="À propos de Mozilla Firefox"] floating enable
# reload / restart
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
set $mode_system Exit Exit | Suspend | Hibernate | Reboot | PowerOff
mode "$mode_system" {
bindsym h exec --no-startup-id sudo pm-hibernate, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym s exec --no-startup-id sudo pm-suspend, mode "default"
bindsym r exec --no-startup-id sudo reboot, mode "default"
bindsym p exec --no-startup-id sudo poweroff, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+e mode "$mode_system"
# volume
set $sigvol `/usr/lib/i3blocks/volume`
bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks
bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks
bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 i3blocks
# brightness
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
# Touchpad
bindsym XF86Tools exec ~/.config/i3/scripts/touchpad
mode "resize" {
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
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
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3blocks
bar {
status_command i3blocks -c ~/.config/i3/i3blocks.conf
font pango: xos4 Terminess Powerline, Awesome 8
bindsym button4 nop
bindsym button5 nop
colors {
#border #bckgd #foregd
focused_workspace #ffffff #ffffff #000000
}
}
exec --no-startup-id $XDG_CONFIG_HOME/i3/autostart
|
x
Notes
My i3 conf, with only i3blocks and my personal background
See the full conf ==> https://github.com/maravtdm/i3blocks-conf