lul
This commit is contained in:
parent
603d1b687c
commit
35deaf85bb
|
@ -1,4 +1,3 @@
|
||||||
URxvt.font: 9x15
|
|
||||||
Xft.dpi: 96
|
Xft.dpi: 96
|
||||||
Xft.antialias: true
|
Xft.antialias: true
|
||||||
Xft.hinting: true
|
Xft.hinting: true
|
||||||
|
@ -71,5 +70,5 @@ Xcursor.size: 0
|
||||||
|
|
||||||
XTerm*faceSize: 12
|
XTerm*faceSize: 12
|
||||||
UXTerm*faceSize: 12
|
UXTerm*faceSize: 12
|
||||||
XTerm*faceName: "Source Code Pro for Powerline" monospace
|
XTerm*faceName: "Source Code Pro for Powerline" monospace "Icons"
|
||||||
UXTerm*faceName: "Source Code Pro for Powerline" monospace
|
UXTerm*faceName: "Source Code Pro for Powerline" monospace "Icons"
|
||||||
|
|
8
bashrc
8
bashrc
|
@ -1,7 +1,11 @@
|
||||||
# Custom scripts
|
# Custom scripts
|
||||||
|
|
||||||
source ~/.scripts/proxy.sh
|
find -type f ~/.scripts | while read script; do
|
||||||
source ~/.geoffrey.sh
|
source "$script"
|
||||||
|
done
|
||||||
|
find -type f ~/.gscripts | while read script; do
|
||||||
|
source "$script"
|
||||||
|
done
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
if [[ $USER == 'root' ]]; then
|
if [[ $USER == 'root' ]]; then
|
||||||
|
|
|
@ -49,12 +49,12 @@ set $up_bar killall -USR1 i3status
|
||||||
# Start Applications
|
# Start Applications
|
||||||
bindsym $mod+Return exec xterm
|
bindsym $mod+Return exec xterm
|
||||||
bindsym $mod+p exec thunar
|
bindsym $mod+p exec thunar
|
||||||
bindsym $mod+m exec firefox
|
bindsym $mod+m exec firefox --new-windows
|
||||||
|
|
||||||
# Volume control
|
# Volume control
|
||||||
bindsym XF86AudioRaiseVolume exec amixer -q set Master 5+ unmute; exec $up_bar
|
bindsym XF86AudioRaiseVolume exec amixer -q set Master 5+ unmute; exec $up_bar
|
||||||
bindsym XF86AudioLowerVolume exec amixer -q set Master 5- unmute; exec $up_bar
|
bindsym XF86AudioLowerVolume exec amixer -q set Master 5- unmute; exec $up_bar
|
||||||
bindsym XF86AudioMute exec amixer -q set Master toggle; $up_bar
|
bindsym XF86AudioMute exec amixer -q set Master toggle; exec $up_bar
|
||||||
bindsym $mod+F11 exec xterm -e 'alsamixer'
|
bindsym $mod+F11 exec xterm -e 'alsamixer'
|
||||||
bindsym $mod+F12 exec xterm -e 'alsamixer'
|
bindsym $mod+F12 exec xterm -e 'alsamixer'
|
||||||
|
|
||||||
|
@ -186,6 +186,7 @@ assign [class="Skype"] $WS7
|
||||||
assign [class="Pidgin"] $WS7
|
assign [class="Pidgin"] $WS7
|
||||||
assign [class="Evolution"] $WS7
|
assign [class="Evolution"] $WS7
|
||||||
assign [class="Clementine"] $WS10
|
assign [class="Clementine"] $WS10
|
||||||
|
assign [title="TweetDeck"] $WS8
|
||||||
|
|
||||||
# Open specific applications in floating mode
|
# Open specific applications in floating mode
|
||||||
for_window [title="alsamixer"] floating enable border pixel 2
|
for_window [title="alsamixer"] floating enable border pixel 2
|
||||||
|
@ -318,12 +319,20 @@ bindsym $mod+F5 exec --no-startup-id xautolock -enable
|
||||||
|
|
||||||
# Autostart applications
|
# Autostart applications
|
||||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
exec --no-startup-id gnome-keyring-daemon
|
||||||
exec --no-startup-id numlockx on
|
exec --no-startup-id numlockx on
|
||||||
exec --no-startup-id feh --bg-scale $HOME/.config/i3/bg.jpg
|
exec --no-startup-id feh --bg-scale $HOME/.config/i3/bg.jpg
|
||||||
exec --no-startup-id nm-applet
|
#exec --no-startup-id nm-applet
|
||||||
#exec --no-startup-id compton -b
|
#exec --no-startup-id compton -b
|
||||||
exec --no-startup-id conky -c $HOME/.conky/status
|
exec --no-startup-id conky -c $HOME/.conky/status
|
||||||
|
|
||||||
|
# Autostart programs
|
||||||
|
exec --no-startup-id i3-msg 'workspace $WS8; exec firefox --new-window tweetdeck.twitter.com'
|
||||||
|
exec --no-startup-id i3-msg 'workspace $WS9; exec firefox --new-window rss.frogeye.fr'
|
||||||
|
exec --no-startup-id clementine
|
||||||
|
exec --no-startup-id evolution
|
||||||
|
exec --no-startup-id pidgin
|
||||||
|
|
||||||
# Theme colors
|
# Theme colors
|
||||||
client.focused #4E9C00 #4E9C00 #FFFFFF #FFFFFF
|
client.focused #4E9C00 #4E9C00 #FFFFFF #FFFFFF
|
||||||
client.focused_inactive #1B3600 #1B3600 #888888 #FFFFFF
|
client.focused_inactive #1B3600 #1B3600 #888888 #FFFFFF
|
||||||
|
|
|
@ -1,294 +0,0 @@
|
||||||
# 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 http://i3wm.org/docs/userguide.html for a complete reference!
|
|
||||||
|
|
||||||
exec --no-startup-id xss-lock dm-tool lock
|
|
||||||
|
|
||||||
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.
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
|
||||||
font pango:DejaVu Sans Mono 8
|
|
||||||
font pango:Sans 8
|
|
||||||
# Before i3 v4.8, we used to recommend this one as the default:
|
|
||||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
|
||||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
|
||||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
|
||||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
|
||||||
# font, it doesn’t scale on retina/hidpi displays.
|
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
||||||
floating_modifier $mod
|
|
||||||
|
|
||||||
# start a terminal
|
|
||||||
# set TERMINAL=i3-sensible-terminal
|
|
||||||
bindsym $mod+Return exec xterm
|
|
||||||
bindsym $mod+p exec thunar
|
|
||||||
bindsym $mod+m exec firefox
|
|
||||||
|
|
||||||
# kill focused window
|
|
||||||
bindsym $mod+F4 kill
|
|
||||||
bindsym Mod1+F4 kill
|
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
|
||||||
bindsym $mod+F2 exec dmenu_run
|
|
||||||
bindsym Mod1+F2 exec dmenu_run
|
|
||||||
# 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 --no-startup-id i3-dmenu-desktop
|
|
||||||
#bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
|
|
||||||
bindsym $mod+Tab exec quickswitch.py
|
|
||||||
|
|
||||||
# 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+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+q focus parent
|
|
||||||
|
|
||||||
# focus the child container
|
|
||||||
#bindsym $mod+d focus child
|
|
||||||
|
|
||||||
# workspaces
|
|
||||||
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
|
|
||||||
|
|
||||||
# switch to workspace
|
|
||||||
bindsym $mod+ampersand workspace $WS1
|
|
||||||
bindsym $mod+eacute workspace $WS2
|
|
||||||
bindsym $mod+quotedbl workspace $WS3
|
|
||||||
bindsym $mod+apostrophe workspace $WS4
|
|
||||||
bindsym $mod+parenleft workspace $WS5
|
|
||||||
bindsym $mod+minus workspace $WS6
|
|
||||||
bindsym $mod+egrave workspace $WS7
|
|
||||||
bindsym $mod+underscore workspace $WS8
|
|
||||||
bindsym $mod+ccedilla workspace $WS9
|
|
||||||
bindsym $mod+agrave workspace $WS10
|
|
||||||
|
|
||||||
bindsym $mod+Ctrl+Left workspace prev_on_output
|
|
||||||
bindsym $mod+Ctrl+Down workspace prev
|
|
||||||
bindsym $mod+Ctrl+Right workspace next_on_output
|
|
||||||
bindsym $mod+Ctrl+Up workspace next
|
|
||||||
|
|
||||||
# move focused container to workspace
|
|
||||||
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
|
|
||||||
|
|
||||||
bindsym $mod+Ctrl+Shift+Left move container to workspace prev_on_output
|
|
||||||
bindsym $mod+Ctrl+Shift+Down move container to workspace prev
|
|
||||||
bindsym $mod+Ctrl+Shift+Right move container to workspace next_on_output
|
|
||||||
bindsym $mod+Ctrl+Shift+Up move container to workspace next
|
|
||||||
|
|
||||||
workspace_auto_back_and_forth yes
|
|
||||||
bindsym $mod+z workspace back_and_forth
|
|
||||||
bindsym $mod+Shift+z move container to workspace back_and_forth
|
|
||||||
|
|
||||||
|
|
||||||
# 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 exit
|
|
||||||
# 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 10 px or 10 ppt
|
|
||||||
bindsym k resize grow height 10 px or 10 ppt
|
|
||||||
bindsym i 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"
|
|
||||||
}
|
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
|
||||||
|
|
||||||
for_window [window_role="pop-up"] floating enable
|
|
||||||
for_window [window_role="task_dialog"] floating enable
|
|
||||||
|
|
||||||
# The middle button over a titlebar kills the window
|
|
||||||
bindsym button2 kill
|
|
||||||
|
|
||||||
# The middle button and a modifer over any part of the window kills the window
|
|
||||||
bindsym $mod+button2 kill
|
|
||||||
|
|
||||||
bindsym $mod+x [urgent=latest] focus
|
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
|
||||||
# finds out, if available)
|
|
||||||
bar {
|
|
||||||
status_command j4status
|
|
||||||
position bottom
|
|
||||||
colors {
|
|
||||||
separator #888888
|
|
||||||
background #333333
|
|
||||||
statusline #FFFFFF
|
|
||||||
focused_workspace #4E9C00 #4E9C00 #FFFFFF
|
|
||||||
active_workspace #333333 #333333 #FFFFFF
|
|
||||||
inactive_workspace #333333 #333333 #888888
|
|
||||||
urgent_workspace #C20000 #C20000 #FFFFFF
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
client.focused #4E9C00 #4E9C00 #FFFFFF #FFFFFF
|
|
||||||
client.focused_inactive #1B3600 #1B3600 #888888 #FFFFFF
|
|
||||||
client.unfocused #333333 #333333 #888888 #FFFFFF
|
|
||||||
client.urgent #C20000 #C20000 #FFFFFF #FFFFFF
|
|
||||||
|
|
||||||
bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+ unmute
|
|
||||||
bindsym XF86AudioLowerVolume exec amixer -q set Master 5%- unmute
|
|
||||||
bindsym XF86AudioMute exec amixer -q set Master toggle
|
|
||||||
|
|
||||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 20
|
|
||||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 20
|
|
||||||
|
|
||||||
set $mode_screen_select [V] VGA1 [H] HDMI1
|
|
||||||
mode "$mode_screen_select" {
|
|
||||||
bindsym v mode "$mode_screen_VGA1"
|
|
||||||
bindsym h mode "$mode_screen_HDMI1"
|
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
bindsym $mod+t mode "$mode_screen_select"
|
|
||||||
|
|
||||||
set $mode_screen_VGA1 VGA [R] Right [L] Left [U] Up [D] Down [C] Copy [O] Off
|
|
||||||
mode "$mode_screen_VGA1" {
|
|
||||||
bindsym r exec xrandr --output VGA1 --auto --right-of LVDS1
|
|
||||||
bindsym l exec xrandr --output VGA1 --auto --left-of LVDS1
|
|
||||||
bindsym u exec xrandr --output VGA1 --auto --above LVDS1
|
|
||||||
bindsym d exec xrandr --output VGA1 --auto --below LVDS1
|
|
||||||
bindsym c exec xrandr --output VGA1 --auto --same-as LVDS1
|
|
||||||
bindsym o exec xrandr --output VGA1 --auto --off
|
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Move workspaces to screen
|
|
||||||
bindsym $mod+Ctrl+Shift+r move workspace to output right
|
|
||||||
bindsym $mod+Ctrl+Shift+l move workspace to output left
|
|
||||||
bindsym $mod+Ctrl+Shift+u move workspace to output above
|
|
||||||
bindsym $mod+Ctrl+Shift+d move workspace to output below
|
|
||||||
|
|
||||||
set $mode_screen_HDMI1 HDMI [R] Right [L] Left [U] Up [D] Down [C] Copy [O] Off
|
|
||||||
mode "$mode_screen_HDMI1" {
|
|
||||||
bindsym r exec xrandr --output HDMI1 --auto --right-of LVDS1
|
|
||||||
bindsym l exec xrandr --output HDMI1 --auto --left-of LVDS1
|
|
||||||
bindsym u exec xrandr --output HDMI1 --auto --above LVDS1
|
|
||||||
bindsym d exec xrandr --output HDMI1 --auto --below LVDS1
|
|
||||||
bindsym c exec xrandr --output HDMI1 --auto --same-as LVDS1
|
|
||||||
bindsym o exec xrandr --output HDMI1 --auto --off
|
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set $mode_system [L] Vérouillage [E] Déconnexion [S] Veille [H] Hibernation [R] Redémarrage [P] Extinction
|
|
||||||
mode "$mode_system" {
|
|
||||||
bindsym l exec --no-startup-id xset s activate, mode "default"
|
|
||||||
bindsym e exit, mode "default"
|
|
||||||
bindsym s exec --no-startup-id systemctl suspend, mode "default"
|
|
||||||
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
|
||||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
|
||||||
bindsym p exec --no-startup-id systemctl poweroff -i, mode "default"
|
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
bindsym $mod+Escape mode "$mode_system"
|
|
||||||
|
|
||||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
||||||
exec --no-startup-id numlockx on
|
|
||||||
exec --no-startup-id feh --bg-scale /usr/share/backgrounds/Abstrait_vert.jpg
|
|
||||||
|
|
||||||
# Preload
|
|
||||||
exec --no-startup-id j4-dmenu-desktop --dmenu=echo
|
|
|
@ -7,9 +7,9 @@ general {
|
||||||
order += "disk /home"
|
order += "disk /home"
|
||||||
order += "disk /"
|
order += "disk /"
|
||||||
order += "path_exists VPN"
|
order += "path_exists VPN"
|
||||||
order += "ethernet enp0s20u1"
|
order += "ethernet usb0"
|
||||||
order += "wireless wlan0"
|
order += "wireless wlan0"
|
||||||
order += "ethernet enp3s0"
|
order += "ethernet eth0"
|
||||||
order += "cpu_usage"
|
order += "cpu_usage"
|
||||||
order += "battery 0"
|
order += "battery 0"
|
||||||
#order += "load"
|
#order += "load"
|
||||||
|
@ -21,13 +21,13 @@ wireless wlan0 {
|
||||||
format_down = ""
|
format_down = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
ethernet enp3s0 {
|
ethernet eth0 {
|
||||||
# if you use %speed, i3status requires the cap_net_admin capability
|
# if you use %speed, i3status requires the cap_net_admin capability
|
||||||
format_up = " %ip"
|
format_up = " %ip"
|
||||||
format_down = ""
|
format_down = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
ethernet enp0s20u1 {
|
ethernet usb0 {
|
||||||
# if you use %speed, i3status requires the cap_net_admin capability
|
# if you use %speed, i3status requires the cap_net_admin capability
|
||||||
format_up = " %ip"
|
format_up = " %ip"
|
||||||
format_down = ""
|
format_down = ""
|
||||||
|
|
Loading…
Reference in a new issue