Added config

This commit is contained in:
Geoffrey Frogeye 2015-07-16 13:49:19 +02:00
parent 2f5d1df917
commit a02f2d418a
7 changed files with 420 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Settings]
gtk-theme-name=Menda
gtk-icon-theme-name=Menda-Square
gtk-font-name=Sans 10
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
gtk-cursor-theme-name=Menda-Cursor

294
config/i3/config Normal file
View file

@ -0,0 +1,294 @@
# 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 doesnt scale on retina/hidpi displays.
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
set $TERMINAL uxterm
# set TERMINAL=i3-sensible-terminal
bindsym $mod+Return exec $TERMINAL
bindsym $mod+p exec nemo --no-desktop ~
bindsym $mod+m exec exo-open --launch WebBrowser
# 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 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 windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows 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 [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 [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

65
config/i3status/config Normal file
View file

@ -0,0 +1,65 @@
general {
# output_format = "dzen2"
colors = true
interval = 5
}
order += "ipv6"
order += "disk /"
order += "run_watch DHCP"
order += "run_watch VPNC"
order += "path_exists VPN"
order += "wireless wlan0"
order += "ethernet eth0"
order += "battery 0"
order += "cpu_usage 0"
order += "load"
order += "tztime local"
wireless wlan0 {
format_up = "W: (%quality at %essid, %bitrate) %ip"
format_down = "W: down"
}
ethernet eth0 {
# if you use %speed, i3status requires the cap_net_admin capability
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery 0 {
format = "%status %percentage %remaining %emptytime"
format_down = "No battery"
status_chr = "⚇ CHR"
status_bat = "⚡ BAT"
status_full = "☻ FULL"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPNC {
# file containing the PID of a vpnc process
pidfile = "/var/run/vpnc/pid"
}
path_exists VPN {
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
path = "/proc/sys/net/ipv4/conf/tun0"
}
tztime local {
format = "%d/%m/%Y %H:%M:%S"
timezone = "Europe/Paris"
}
load {
format = "%5min"
}
disk "/" {
format = "%free"
}

26
config/j4status/config Normal file
View file

@ -0,0 +1,26 @@
[Plugins]
Output=i3bar
Input=nm;pulseaudio;upower;time
Order=nm;pulseaudio;upower;time
[Time]
Zones=Europe/Paris;
[PulseAudio]
#Actions=raise
[NetworkManager]
Interfaces=enp3s0;wlp2s0
HideUnavailable=true
[Override pulseaudio:auto_null]
Label=🔊
[Override nm-wifi:wlp2s0]
Label=📶
[Override time:Europe/Paris]
Label=🕗
[Override upower-battery:BAT0]
Label=🔋

15
config/user-dirs.dirs Normal file
View file

@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Bureau"
XDG_DOWNLOAD_DIR="$HOME/Téléchargements"
XDG_TEMPLATES_DIR="$HOME/Modèles"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Musique"
XDG_PICTURES_DIR="$HOME/Images"
XDG_VIDEOS_DIR="$HOME/Vidéos"

1
config/user-dirs.locale Executable file
View file

@ -0,0 +1 @@
fr_FR

3
mplayer/config Normal file
View file

@ -0,0 +1,3 @@
# Write your default config options here!