Vous n'êtes pas identifié(e).
Et oui, après le topic "Parlons d'AwesomeWM", c'est au tour de WMFS !
Un autre Tiling-Manager, plus simple à configurer à mon goût. Après, les goûts et les couleurs
Je l'aime plus qu'Awesome, c'est un avis personnel, car Awesome n'a pas beaucoup de défaut, faut être hônnéte ! Et il existe un tas d'autres WM en Tiling, donc bon ...
* EDIT * Un wiki complet : WMFS est passé en V2 
https://github.com/xorg62/wmfs/wiki
* Quelques screenshots :
Bref, passons aux fichiers de configurations, voici les miens :
* wmfsrc (~/.config/wmfs/wmfsrc) :
#
# configuration file for WMFS
# ~/.config/wmfs/wmfsrc
#
# Include file to split configuration
# @include "~/.config/wmfs/menu-wmfsrc"
[misc]
font = "dejavu-8"
raisefocus = true
raiseswitch = false
focus_follow_mouse = true
focus_follow_movement = false
opacity = 255
# focus_pointer_click: click on unfocused client area:
# true -- default, set focus
# false -- click go to client; including dockapps
focus_pointer_click = true
status_timing = 1 #seconds
status_path = "~/.config/wmfs/status.sh"
[/misc]
[bar]
bg = "#191919"
fg = "#D4D4D4"
border = true
#height = "-1"
light_shade = 0.10
dark_shade = -0.10
[systray]
# Enable/disable systray
active = true
# Screen of systray
screen = 0
# Spacing between tray icons
spacing = 2
[/systray]
# Remove this section to disable the selbar.
[selbar]
bg = "#191919"
fg = "#B3B3B3"
# Cut title length
max_length = 30
[mouse] button = "3" func = "clientlist" [/mouse]
[mouse] button = "4" func = "client_next" [/mouse]
[mouse] button = "5" func = "client_prev" [/mouse]
[/selbar]
[/bar]
[layouts]
fg = "#D4D4D4"
bg = "#191919"
# Border around the layout button.
border = true
# Value menu or switch.
system = "menu"
# Value left or right.
placement = "right"
# Keep layout geo for free layout
keep_layout_geo = false
# Symbol displayed for the selected layout in the list
selected_layout_symbol = ">"
# Width of layout button
# layout_button_width = x
# Tiling layouts.
[layout] type = "tile_right" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/tr.png]\" [/layout]
[layout] type = "tile_left" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/tl.png]\" [/layout]
[layout] type = "tile_top" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/tt.png]\" [/layout]
[layout] type = "tile_bottom" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/tb.png]\" [/layout]
[layout] type = "tile_grid" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/tg.png]\" [/layout]
[layout] type = "mirror_vertical" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/mv.png]\" [/layout]
[layout] type = "mirror_horizontal" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/mh.png]\" [/layout]
# Other layouts.
[layout] type = "max" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/max.png]\"[/layout]
[layout] type = "free" symbol = " \i[2;2;15;13;/home/dimi/.config/wmfs/icons/fr.png]\" [/layout]
[/layouts]
[tags]
[default_tag]
name = "new tag"
mwfact = 0.6
nmaster = 1
layout = "tile_right"
resizehint = false
infobar_position = "top"
[/default_tag]
# whether client_next on the last tag will send you on the first
# and client_prev on the first tag will send you on the last one
tag_round = false
# Going twice on the same tag will bring you back on the previous one
tag_auto_prev = true
occupied_bg = "#323232"
occupied_fg = "#FFFFFF"
sel_fg = "#FFFFFF"
sel_bg = "#555555"
urgent_bg = "#CC0000"
urgent_fg = "#FFFFFF"
# If true, number of the tag will be used for name
name_count = false
#default_name = "new tag" # deprecated, use [default_tag] instead
#default_layout = "tile_right" # deprecated, use [default_tag] instead
expose_name = "EXPOSE"
expose_layout = "tile_left"
# Border around the tag buttons.
border = true
# Hide empty tags in tag list
autohide = false
# Mouse buttons action on tag.
mouse_button_tag_sel = "1" #selection du tag : clic gauche
mouse_button_tag_transfert = "2" #transfert client to tag : clic milieu
mouse_button_tag_add = "3" # Fusionner avec ce tag : bouton droit
mouse_button_tag_next = "4" # aller sur le prochain tag : roulette vers le haut
mouse_button_tag_prev = "5" # aller sur le précédent tag : roulette vers le bas
[tag]
name = "Web"
screen = 0
mwfact = 0.6
nmaster = 1
layout = "tile_right"
resizehint = false
infobar_position = "top"
above_fc = false
#[mouse] [/mouse] Possible multi mouse section
[/tag]
# clients option is *DEPRECATED* but works, see [rules] section
[tag] name = "Devel" layout = "tile_right" mwfact = 0.6 [/tag]
[tag] name = "Music" layout = "free" [/tag]
[tag] name = "Misc" layout = "free" [/tag]
[/tags]
[root]
# Command you can execute to set the background.
# background_command = "nitrogen --restore"
[mouse] button = "4" func = "tag_next" [/mouse]
[mouse] button = "5" func = "tag_prev" [/mouse]
[mouse] button = "3" func = "menu" cmd = "rootmenu" [/mouse]
[/root]
[client]
client_round = true
client_auto_center = false
border_height = 3
border_shadow = true
border_normal = "#323232"
border_focus = "#555555"
place_at_mouse = false
resize_corner_normal = "#333333"
resize_corner_focus = "#333333"
set_new_win_master = true
client_tile_raise = false
new_client_get_mouse = false
# send all client that have no tag rule in this default tag
#default_open_tag = 4
# same as above but for the screen
#default_open_screen = 1
# Space between tiled clients
padding = 1
# Modifier for mouse use
modifier = "Alt"
light_shade = 0.10
dark_shade = -0.10
# *DEPRECATED* but works, see [rules] section
# Set automatic free or max client
# autofree = "xterm|MPlayer"
# automax = "Navigator"
[mouse] button = "1" func = "client_raise" [/mouse]
[mouse] button = "1" func = "mouse_move" [/mouse]
[mouse] button = "3" func = "client_raise" [/mouse]
[mouse] button = "3" func = "mouse_resize" [/mouse]
# Remove this section to delete the titlebar.
[titlebar]
stipple = false
height = 12
fg_normal = "#191919"
fg_focus = "#A3A3A3"
[mouse] button = "1" func = "client_raise" [/mouse]
[mouse] button = "1" func = "mouse_move" [/mouse]
[mouse] button = "3" func = "client_raise" [/mouse]
[mouse] button = "3" func = "mouse_resize" [/mouse]
[button]
# Available "free", "max", "tile" flags or button.
flags = "free,max,tile"
[mouse] button = "1" func = "client_kill" [/mouse]
[mouse] button = "3" func = "menu" cmd = "clientmenu" [/mouse]
[line] coord = {1, 1, 4, 1} [/line]
[line] coord = {1, 1, 1, 4} [/line]
[line] coord = {1, 4, 4, 4} [/line]
[/button]
[/titlebar]
[/client]
[rules]
# Example of rule for MPlayer
[rule]
instance = "xv" # First part of WM_CLASS
class = "MPlayer" # Seconf part of WM_CLASS, not needed if first part is correct
# role = "" # WM_WINDOW_ROLE
screen = 0 # Screen to use
tag = 2 # Tag number of apps
free = true # Set automatic free client
max = false # Set automatic maximized client
follow_client = false # follow the client
ignore_tags = false # ignore tag (free mode)
[/rule]
[/rules]
[menu]
# Default menu, binded on the root window, button 3.
[set_menu]
name = "rootmenu"
# place_at_mouse = false
# x = 40 y = 50
# Available "center", "left", "right" menu align. Default: "center".
align = "left"
fg_focus = "#4D4D4D" bg_focus = "#191919"
fg_normal = "#FFFFFF" bg_normal = "#333333"
[item] name = "GmRun" func = "spawn" cmd = "gmrun" [/item]
[item] name = "Dmenu" func = "spawn" cmd = "dmenu_run" [/item]
[item] name = "Terminal" func = "spawn" cmd = "urxvt" [/item]
[item] name = "PCmanFM" func = "spawn" cmd = "pcmanfm" [/item]
[item] name = "Next tag" func = "tag_next" [/item]
[item] name = "Previous tag" func = "tag_prev" [/item]
[item] name = "Next layout" func = "layout_next" [/item]
[item] name = "Previous layout" func = "layout_prev" [/item]
[item] name = "Toggle infobar" func = "toggle_infobar_position" [/item]
[item] name = "Quit WMFS" func = "quit" [/item]
[/set_menu]
[set_menu]
name = "clientmenu"
fg_focus = "#D4D4D4" bg_focus = "#333333"
fg_normal = "#D4D4D4" bg_normal = "#191919"
# Check items: possible 'check_max' or 'check_free'.
[item] name = "Close" func = "client_kill" [/item]
[item] name = "Maximize" func = "toggle_max" check = "check_max" [/item]
[item] name = "Free" func = "toggle_free" check = "check_free" [/item]
[/set_menu]
[/menu]
[launcher]
[set_launcher]
# Limit size of the launcher window (px)
width_limit = 300
name = "launcher_exec"
prompt = "Exec: "
command = "exec"
[/set_launcher]
#ViWMFS : manage wmfs with vi-based command.
[set_launcher]
name = "viwmfs"
prompt = "> "
command = "wmfs -V"
[/set_launcher]
[/launcher]
[keys]
# Root-Menu (Alt+x).
[key] mod = {"Alt"} key = "x" func = "menu" cmd = "rootmenu" [/key]
# Reload the configuration of wmfs.
[key] mod = {"Alt", "Control"} key = "r" func = "reload" [/key]
# Open Terminal.
[key] mod = {"Control"} key = "Return" func = "spawn" cmd = "urxvt" [/key]
# Open Gmrun.
[key] mod = {"Control"} key = "g" func = "spawn" cmd = "gmrun" [/key]
# Open Dmenu.
[key] mod = {"Alt"} key = "g" func = "spawn" cmd = "dmenu_run" [/key]
# Kill the selected client.
[key] mod = {"Alt"} key = "q" func = "client_kill" [/key]
# Quit wmfs.
[key] mod = {"Control", "Alt", "Shift"} key = "q" func = "quit" [/key]
# Swap current client with the next.
[key] mod = {"Alt"} key = "t" func = "client_swap_next" [/key]
# Swap current client with the previous.
[key] mod = {"Alt", "Shift"} key = "t" func = "client_swap_prev" [/key]
# Set the selected client as Master
[key] mod = {"Control"} key = "m" func = "client_set_master" [/key]
# Toggle maximum the selected client
[key] mod = {"Alt"} key = "m" func = "toggle_max" [/key]
# Toggle free the selected client.
[key] mod = {"Alt"} key = "f" func = "toggle_free" [/key]
# Toggle the position of the infobar.
[key] mod = {"Alt"} key = "b" func = "toggle_infobar_position" [/key]
[key] mod = {"Alt", "Shift"} key = "b" func = "toggle_infobar_display" [/key]
# Toggle the resizehint of the current tag/screen
[key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key]
# Toggle the tag_autohide mode
[key] mod = {"Shift", "Control"} key = "t" func = "toggle_tagautohide" [/key]
# Select the next client.
[key] mod = {"Alt"} key = "Tab" func = "client_next" [/key]
# Select the previous client.
[key] mod = {"Alt","Shift"} key = "Tab" func = "client_prev" [/key]
# Select the next tag.
[key] mod = {"Control"} key = "Right" func = "tag_next" [/key]
# Select the previous tag.
[key] mod = {"Control"} key = "Left" func = "tag_prev" [/key]
# Select the next visible tag.
[key] mod = {"Control","Alt"} key = "Right" func = "tag_next_visible" [/key]
# Select the previous visible tag.
[key] mod = {"Control","Alt"} key = "Left" func = "tag_prev_visible" [/key]
# Set the next layout.
[key] mod = {"Alt"} key = "space" func = "layout_next" [/key]
# Set the previous layout.
[key] mod = {"Alt", "Shift"} key = "space" func = "layout_prev" [/key]
# Increase mwfact.
[key] mod = {"Alt"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key]
# Decrease mwfact.
[key] mod = {"Alt"} key = "h" func = "set_mwfact" cmd = "-0.025" [/key]
# Increase nmaster.
[key] mod = {"Alt"} key = "d" func = "set_nmaster" cmd = "+1" [/key]
# Decease nmaster.
[key] mod = {"Alt", "Shift"} key = "d" func = "set_nmaster" cmd = "-1" [/key]
#Launcher.
[key] mod = {"Alt"} key = "p" func = "launcher" cmd = "launcher_exec" [/key]
#ViWMFS
[key] mod = {"Alt"} key = "Escape" func = "launcher" cmd = "viwmfs" [/key]
# Set the tag x.
[key] mod = {"Alt"} key = "F1" func = "tag" cmd = "1" [/key]
[key] mod = {"Alt"} key = "F2" func = "tag" cmd = "2" [/key]
[key] mod = {"Alt"} key = "F3" func = "tag" cmd = "3" [/key]
[key] mod = {"Alt"} key = "F4" func = "tag" cmd = "4" [/key]
[key] mod = {"Alt"} key = "F5" func = "tag" cmd = "5" [/key]
[key] mod = {"Alt"} key = "F6" func = "tag" cmd = "6" [/key]
[key] mod = {"Alt"} key = "F7" func = "tag" cmd = "7" [/key]
[key] mod = {"Alt"} key = "F8" func = "tag" cmd = "8" [/key]
[key] mod = {"Alt"} key = "F9" func = "tag" cmd = "9" [/key]
# Transfert selected client to x.
[key] mod = {"Alt", "Shift"} key = "F1" func = "tag_transfert" cmd ="1" [/key]
[key] mod = {"Alt", "Shift"} key = "F2" func = "tag_transfert" cmd ="2" [/key]
[key] mod = {"Alt", "Shift"} key = "F3" func = "tag_transfert" cmd ="3" [/key]
[key] mod = {"Alt", "Shift"} key = "F4" func = "tag_transfert" cmd ="4" [/key]
[key] mod = {"Alt", "Shift"} key = "F5" func = "tag_transfert" cmd ="5" [/key]
[key] mod = {"Alt", "Shift"} key = "F6" func = "tag_transfert" cmd ="6" [/key]
[key] mod = {"Alt", "Shift"} key = "F7" func = "tag_transfert" cmd ="7" [/key]
[key] mod = {"Alt", "Shift"} key = "F8" func = "tag_transfert" cmd ="8" [/key]
[key] mod = {"Alt", "Shift"} key = "F9" func = "tag_transfert" cmd ="9" [/key]
# Toggle additional tags (x) on the current tag
[key] mod = {"Alt", "Super"} key = "F1" func = "tag_toggle_additional" cmd ="1" [/key]
[key] mod = {"Alt", "Super"} key = "F2" func = "tag_toggle_additional" cmd ="2" [/key]
[key] mod = {"Alt", "Super"} key = "F3" func = "tag_toggle_additional" cmd ="3" [/key]
[key] mod = {"Alt", "Super"} key = "F4" func = "tag_toggle_additional" cmd ="4" [/key]
[key] mod = {"Alt", "Super"} key = "F5" func = "tag_toggle_additional" cmd ="5" [/key]
[key] mod = {"Alt", "Super"} key = "F6" func = "tag_toggle_additional" cmd ="6" [/key]
[key] mod = {"Alt", "Super"} key = "F7" func = "tag_toggle_additional" cmd ="7" [/key]
[key] mod = {"Alt", "Super"} key = "F8" func = "tag_toggle_additional" cmd ="8" [/key]
[key] mod = {"Alt", "Super"} key = "F9" func = "tag_toggle_additional" cmd ="9" [/key]
# change screen
[key] mod = {"Super"} key = "Tab" func = "screen_next" [/key]
[key] mod = {"Super", "Shift"} key = "Tab" func = "screen_prev" [/key]
# swap client in the next/prev screen
[key] mod = {"Super", "Shift"} key = "a" func = "client_screen_next" [/key]
[key] mod = {"Super", "Shift"} key = "z" func = "client_screen_prev" [/key]
[key] mod = {"Alt"} key = "e" func = "toggle_tag_expose" [/key]
# unlisted fonctions that can be used in [key] func = ""
# client_focus_{right, left, top, bottom}
# client_ignore_tag # Toggle the client in ignore_tag (display the client on all tags)
# tag_prev_sel # go back to the previous selected tag
# tag_transfert_{next, prev}
# tag_urgent # go to the urgent tag
# tag_swap_{next, prev} # swap tag with the previous/next one
# tag_last # go to the last tag
# tag_stay_last # toggle the current tag as the last one
# toggle_abovefc
# screen_prev_sel # go to the previous screen selected
# set_layout # set layout. need to be called with cmd = "<layout_name>"
# ignore_next_client_rules # ignore the rule the next time a rule is called
[/keys]* status.sh (* wmfsrc (~/.config/wmfs/status.sh) :
#!/bin/bash
# Status script for wmfs
# ~/.config/wmfs/status.sh
#
# if you want to have "conky" in your statusbar, just had this in your status.sh :
# conky | while read -r; do wmfs -s -name "$REPLY"; done
#
RED="\\#BF4D80\\"
YEL="\\#C4A1E6\\"
GRN="\\#287373\\"
CYN="\\#6096BF\\"
MAG="\\#7E62B3\\"
GRY="\\#666666\\"
WHT="\\#C0C0C0\\"
GRE="\\#A3A3A3\\"
while true;
do
# Collect system information
BAT1=`acpi -V | awk '{ gsub(/,/, "");} NR==1 {print $4}'`
BAT2=`acpi -b | grep "Battery" | awk '{print $5}' | cut -c 1-2`
BAT3=`acpi -b | grep "Battery" | awk '{print $5}' | cut -c 4-5`
MEM1=`free -m | awk '/buffers\/cache/{print $3}'`
MEM2=20
MEM=`echo "$MEM1 / $MEM2" | bc`
CPU=`eval $(awk '/^cpu /{print "previdle=" $5 "; prevtotal=" $2+$3+$4+$5 }' /proc/stat); sleep 0.4; eval $(awk '/^cpu /{print "idle=" $5 "; total=" $2+$3+$4+$5 }' /proc/stat); intervaltotal=$((total-${prevtotal:-0})); echo "$((100*( (intervaltotal) - ($idle-${previdle:-0}) ) / (intervaltotal) ))"`
VOL=`aumix -v q|sed "s/,.*//g" | awk '/vol/ {print $2}'`
BRIT=`cat /sys/class/backlight/psblvds/actual_brightness`
WIFI1=`cat /sys/class/net/wlan0/wireless/link`
WIFI2=0.7
WIFI=`echo "$WIFI1 / $WIFI2" | bc`
DATE=`date "+%H:%M"`
top
# Pipe to status bar
wmfs -s 0 "$GRE• $GRY[CPU $GRE$CPU%$GRY] [RAM $GRE$MEM%$GRY] [VOL $GRE$VOL%$GRY] [BRIT $GRE$BRIT%$GRY] [WIFI $GRE$WIFI%$GRY] [BAT $GRE$BAT1 $BAT2:$BAT3$GRY]$GRE • $WHT$DATE •"
sleep 1
doneTout n'est pas de moi dans le status.sh, mais j'ai fait une partie du code (bat, vol, brit, wifi, ....) et j'en ai chié, grave 
Edit : pour qu'il fonctionne, faut installer le paquet "bc", qui permet de faire des calculs en console. Et là, c'est adapté à ma config (notamment pour le Wifi, la luminosité et la RAM totale, j'ai 2 Go ...), donc à modifier selon la votre !
A vous de partager vos screenshots, vos astuces utlies ou tutoriels ....
(Guantas, à toi de jouer
)
EDIT par arpinux : rectif des liens et ajout de l'info V2
Dernière modification par arpinux (2012-04-11 20:08:17)
Portable17p : CrunchBangLinux // EeePC : ArchLinux
Eeepad Transformer : Android Honeycomb 3.2 // GalaxyS : Android 2.2
Ma page DevArt : http://kookadimi.deviantart.com
Mes photos : http://www.fluidr.com/photos/kookadimi/sets
Hors ligne
cool ta config kooka, merci pour le partage 
ton menu dans le premier shot, il semble venir du sytray ... c'est un menu à toi ?
-
ah, je profite de ton post pour faire ma pub ...
un ptit pack graphique pour wmfs ?? http://arpinux.deviantart.com/gallery/24026718 
[arpinux.org][wmfs²][devart][livarp][FSF][distrozilla][partage]
Hors ligne
ton menu dans le premier shot, il semble venir du sytray ... c'est un menu à toi ?
c'est "menutray", dispo dans AUR pour les Archers .... 
Portable17p : CrunchBangLinux // EeePC : ArchLinux
Eeepad Transformer : Android Honeycomb 3.2 // GalaxyS : Android 2.2
Ma page DevArt : http://kookadimi.deviantart.com
Mes photos : http://www.fluidr.com/photos/kookadimi/sets
Hors ligne
Hors ligne
Quelques bidules glanés par çi par là....
Et je m'amuse bien avec WMFS!
wmfsrc:
#
# This is the default wmfs config file, copy it to
# ~/.config/wmfs/wmfsrc and edit it.
#
# Include file to split configuration
# @include "~/.config/wmfs/menu-wmfsrc"
[misc]
font = "ubuntu-10"
raisefocus = true
raiseswitch = false
focus_follow_mouse = true
focus_follow_movement = false
opacity = 255
# focus_pointer_click: click on unfocused client area:
# true -- default, set focus
# false -- click go to client; including dockapps
focus_pointer_click = true
status_timing = 1 #seconds
# status_path = "~/.config/wmfs/status.sh"
[/misc]
[bar]
bg = "#303030"
fg = "#D9D9D9"
border = true
#height = "-1"
light_shade = 0.10
dark_shade = -0.10
[systray]
# Enable/disable systray
active = true
# Screen of systray
screen = 0
# Spacing between tray icons
spacing = 2
[/systray]
# Remove this section to disable the selbar.
[selbar]
bg = "#303030"
fg = "#FF1875"
# Cut title length
# max_length = 30
[mouse] button = "3" func = "clientlist" [/mouse]
[mouse] button = "4" func = "client_next" [/mouse]
[mouse] button = "5" func = "client_prev" [/mouse]
[/selbar]
[/bar]
[layouts]
fg = "#D9D9D9"
bg = "#303030"
# Border around the layout button.
border = false
# Value menu or switch.
system = "menu"
# Value left or right.
placement = "right"
# Keep layout geo for free layout
keep_layout_geo = false
# Symbol displayed for the selected layout in the list
selected_layout_symbol = "*"
# Width of layout button
# layout_button_width = x
# Tiling layouts.
[layout] type = "tile_right" symbol = "DROITE" [/layout]
[layout] type = "tile_left" symbol = "GAUCHE" [/layout]
[layout] type = "tile_top" symbol = "HAUT" [/layout]
[layout] type = "tile_bottom" symbol = "BAS" [/layout]
[layout] type = "tile_grid" symbol = "GRID_H" [/layout]
[layout] type = "tile_grid_vertical" symbol = "GRID_V" [/layout]
[layout] type = "mirror_vertical" symbol = "MIRROIR_V" [/layout]
[layout] type = "mirror_horizontal" symbol = "MIRROIR_H" [/layout]
# Other layouts.
[layout] type = "max" symbol = "MAX" [/layout]
[layout] type = "free" symbol = "LIBRE" [/layout]
[/layouts]
[tags]
[default_tag]
name = "new tag"
mwfact = 0.5
nmaster = 1
layout = "tile_right"
resizehint = false
infobar_position = "top"
[/default_tag]
# whether client_next on the last tag will send you on the first
# and client_prev on the first tag will send you on the last one
tag_round = false
# Going twice on the same tag will bring you back on the previous one
tag_auto_prev = true
occupied_bg = "#303030"
occupied_fg = "#FF1875"
sel_fg = "#303030"
sel_bg = "#FF1875"
urgent_bg = "#FF1875"
urgent_fg = "#303030"
# If true, number of the tag will be used for name
name_count = false
#default_name = "new tag" # deprecated, use [default_tag] instead
#default_layout = "tile_right" # deprecated, use [default_tag] instead
# Border around the tag buttons.
border = false
# Hide empty tags in tag list
autohide = false
# Mouse buttons action on tag.
mouse_button_tag_sel = "1"
mouse_button_tag_transfert = "2"
mouse_button_tag_add = "3"
mouse_button_tag_next = "4"
mouse_button_tag_prev = "5"
[tag]
name = "1"
screen = 0
mwfact = 0.65
nmaster = 1
layout = "tile_right"
resizehint = false
infobar_position = "top"
above_fc = false
#[mouse] [/mouse] Possible multi mouse section
[/tag]
# clients option is *DEPRECATED* but works, see [rules] section
[tag] name = "2" clients = {"Browser"} [/tag]
[tag] name = "3" [/tag]
[tag] name = "4" [/tag]
[tag] name = "5" [/tag]
[tag] name = "6" [/tag]
[tag] name = "7" [/tag]
[/tags]
[root]
# Command you can execute to set the background.
background_command = "nitrogen --restore"
[mouse] button = "4" func = "tag_next" [/mouse]
[mouse] button = "5" func = "tag_prev" [/mouse]
[mouse] button = "3" func = "menu" cmd = "rootmenu" [/mouse]
[/root]
[client]
client_round = true
client_auto_center = false
border_height = 3
border_shadow = true
border_normal = "#303030"
border_focus = "#FF1875"
place_at_mouse = false
resize_corner_normal = "#303030"
resize_corner_focus = "#FF1875"
set_new_win_master = true
client_tile_raise = false
new_client_get_mouse = false
# send all client that have no tag rule in this default tag
#default_open_tag = 4
# same as above but for the screen
#default_open_screen = 1
# Space between tiled clients
padding = 0
# Modifier for mouse use
modifier = "Alt"
light_shade = 0.10
dark_shade = -0.10
# *DEPRECATED* but works, see [rules] section
# Set automatic free or max client
# autofree = "xterm|MPlayer"
# automax = "Navigator"
[mouse] button = "1" func = "client_raise" [/mouse]
[mouse] button = "1" func = "mouse_move" [/mouse]
[mouse] button = "3" func = "client_raise" [/mouse]
[mouse] button = "3" func = "mouse_resize" [/mouse]
# Remove this section to delete the titlebar.
[/client]
[rules]
# Example of rule for MPlayer
[rule]
instance = "xv" # First part of WM_CLASS
class = "MPlayer" # Seconf part of WM_CLASS, not needed if first part is correct
# role = "" # WM_WINDOW_ROLE
screen = 0 # Screen to use
tag = 2 # Tag number of apps
free = true # Set automatic free client
max = false # Set automatic maximized client
follow_client = false # follow the client
ignore_tags = false # ignore tag (free mode)
follow_client = false # if the client open in an other tag/screen, follow it.
[/rule]
[/rules]
[menu]
# Default menu, binded on the root window, button 3.
[set_menu]
name = "rootmenu"
# place_at_mouse = false
# x = 40 y = 50
# Available "center", "left", "right" menu align. Default: "center".
align = "left"
fg_focus = "#303030" bg_focus = "#FF1875"
fg_normal = "#FF1875" bg_normal = "#303030"
[item] name = "Firefox" func = "spawn" cmd = "firefox" [/item]
[item] name = "Terminal" func = "spawn" cmd = "terminator || xterm || gnome-terminal" [/item]
[item] name = "Volume" func = "spawn" cmd = "aumix" [/item]
[item] name = "Thunar" func = "spawn" cmd = "thunar" [/item]
[item] name = "GmRun" func = "spawn" cmd = "gmrun" [/item]
[item] name = "Dmenu" func = "spawn" cmd = "dmenu_run" [/item]
[item] name = "Applications" submenu = "appmenu" [/item]
[item] name = "Next tag" func = "tag_next" [/item]
[item] name = "Previous tag" func = "tag_prev" [/item]
[item] name = "Next layout" func = "layout_next" [/item]
[item] name = "Previous layout" func = "layout_prev" [/item]
[item] name = "Toggle infobar" func = "toggle_infobar_position" [/item]
[item] name = "Quitter WMFS" func = "quit" [/item]
[/set_menu]
[set_menu]
name = "appmenu"
align = "left"
fg_focus = "#303030" bg_focus = "#FF1875"
fg_normal = "#FF1875" bg_normal = "#303030"
[item] name = "Thunar" func = "spawn" cmd = "thunar" [/item]
[item] name = "Gcolor2" func = "spawn" cmd = "gcolor2" [/item]
[item] name = "Gimp" func = "spawn" cmd = "gimp" [/item]
[item] name = "Bleachbit" func = "spawn" cmd = "bleachbit" [/item]
[item] name = "Mirage" func = "spawn" cmd = "mirage" [/item]
[item] name = "Lxappearance" func = "spawn" cmd = "lxappearance"[/item]
[item] name = "Nitrogen" func = "spawn" cmd = "nitrogen" [/item]
[item] name = "Shutter" func = "spawn" cmd = "shutter" [/item]
[item] name = "Calculator" func = "spawn" cmd = "xcalc" [/item]
[/set_menu]
[set_menu]
name = "clientmenu"
fg_focus = "#D4D4D4" bg_focus = "#FF1875"
fg_normal = "#D4D4D4" bg_normal = "#000000"
# Check items: possible 'check_max' or 'check_free'.
[item] name = "Close" func = "client_kill" [/item]
[item] name = "Maximize" func = "toggle_max" check = "check_max" [/item]
[item] name = "Free" func = "toggle_free" check = "check_free" [/item]
[/set_menu]
[/menu]
[launcher]
[set_launcher]
# Limit size of the launcher window (px)
width_limit = 300
name = "launcher_exec"
prompt = "Exec: "
command = "exec"
[/set_launcher]
#ViWMFS : manage wmfs with vi-based command.
[set_launcher]
name = "viwmfs"
prompt = "> "
command = "wmfs -V"
[/set_launcher]
[/launcher]
[keys]
# Recharger configuration de wmfs.
[key] mod = {"Alt", "Control"} key = "r" func = "reload" [/key]
# Appel du menu "Rootmenu" avec la combinaison [Alt + x]
[key] mod = {"Alt"} key = "x" func = "menu" cmd = "rootmenu" [/key]
# Ouvrir réglage volume [Ctrl+v]
[key] mod = {"Control"} key = "v" func = "spawn" cmd = "aumix" [/key]
# Ouvrir un terminal.(Ctrl + Entrée)
[key] mod = {"Control"} key = "Return" func = "spawn" cmd = "terminator" [/key]
# Ouvrir Gmrun.
[key] mod = {"Control"} key = "g" func = "spawn" cmd = "gmrun" [/key]
# Kill the selected client.
[key] mod = {"Alt"} key = "q" func = "client_kill" [/key]
# Quitter wmfs.
[key] mod = {"Control", "Alt", "Shift"} key = "q" func = "quit" [/key]
# Swap current client with the next.
[key] mod = {"Alt"} key = "t" func = "client_swap_next" [/key]
# Swap current client with the previous.
[key] mod = {"Alt", "Shift"} key = "t" func = "client_swap_prev" [/key]
# Toggle maximum the selected client
[key] mod = {"Alt"} key = "m" func = "toggle_max" [/key]
# Toggle free the selected client.
[key] mod = {"Alt"} key = "f" func = "toggle_free" [/key]
# Toggle the position of the infobar.
[key] mod = {"Alt"} key = "b" func = "toggle_infobar_position" [/key]
[key] mod = {"Alt", "Shift"} key = "b" func = "toggle_infobar_display" [/key]
# Toggle the resizehint of the current tag/screen
[key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key]
# Toggle the tag_autohide mode
[key] mod = {"Shift", "Control"} key = "t" func = "toggle_tagautohide" [/key]
# Select the next client.
[key] mod = {"Alt"} key = "Tab" func = "client_next" [/key]
# Select the previous client.
[key] mod = {"Alt","Shift"} key = "Tab" func = "client_prev" [/key]
# Select the next tag.
[key] mod = {"Control"} key = "Right" func = "tag_next" [/key]
# Select the previous tag.
[key] mod = {"Control"} key = "Left" func = "tag_prev" [/key]
# Select the next visible tag.
[key] mod = {"Control","Alt"} key = "Right" func = "tag_next_visible" [/key]
# Select the previous visible tag.
[key] mod = {"Control","Alt"} key = "Left" func = "tag_prev_visible" [/key]
# Set the next layout.
[key] mod = {"Alt"} key = "space" func = "layout_next" [/key]
# Set the previous layout.
[key] mod = {"Alt", "Shift"} key = "space" func = "layout_prev" [/key]
# Increase mwfact.
[key] mod = {"Alt"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key]
# Decrease mwfact.
[key] mod = {"Alt"} key = "h" func = "set_mwfact" cmd = "-0.025" [/key]
# Increase nmaster.
[key] mod = {"Alt"} key = "d" func = "set_nmaster" cmd = "+1" [/key]
# Decease nmaster.
[key] mod = {"Alt", "Shift"} key = "d" func = "set_nmaster" cmd = "-1" [/key]
#Lanceur d'applications.
[key] mod = {"Alt"} key = "p" func = "launcher" cmd = "launcher_exec" [/key]
#ViWMFS
[key] mod = {"Alt"} key = "Escape" func = "launcher" cmd = "viwmfs" [/key]
# Set the tag x.
[key] mod = {"Alt"} key = "F1" func = "tag" cmd = "1" [/key]
[key] mod = {"Alt"} key = "F2" func = "tag" cmd = "2" [/key]
[key] mod = {"Alt"} key = "F3" func = "tag" cmd = "3" [/key]
[key] mod = {"Alt"} key = "F4" func = "tag" cmd = "4" [/key]
[key] mod = {"Alt"} key = "F5" func = "tag" cmd = "5" [/key]
[key] mod = {"Alt"} key = "F6" func = "tag" cmd = "6" [/key]
[key] mod = {"Alt"} key = "F7" func = "tag" cmd = "7" [/key]
[key] mod = {"Alt"} key = "F8" func = "tag" cmd = "8" [/key]
[key] mod = {"Alt"} key = "F9" func = "tag" cmd = "9" [/key]
# Transfert selected client to x.
[key] mod = {"Alt", "Shift"} key = "F1" func = "tag_transfert" cmd ="1" [/key]
[key] mod = {"Alt", "Shift"} key = "F2" func = "tag_transfert" cmd ="2" [/key]
[key] mod = {"Alt", "Shift"} key = "F3" func = "tag_transfert" cmd ="3" [/key]
[key] mod = {"Alt", "Shift"} key = "F4" func = "tag_transfert" cmd ="4" [/key]
[key] mod = {"Alt", "Shift"} key = "F5" func = "tag_transfert" cmd ="5" [/key]
[key] mod = {"Alt", "Shift"} key = "F6" func = "tag_transfert" cmd ="6" [/key]
[key] mod = {"Alt", "Shift"} key = "F7" func = "tag_transfert" cmd ="7" [/key]
[key] mod = {"Alt", "Shift"} key = "F8" func = "tag_transfert" cmd ="8" [/key]
[key] mod = {"Alt", "Shift"} key = "F9" func = "tag_transfert" cmd ="9" [/key]
# Toggle additional tags (x) on the current tag
[key] mod = {"Alt", "Super"} key = "F1" func = "tag_toggle_additional" cmd ="1" [/key]
[key] mod = {"Alt", "Super"} key = "F2" func = "tag_toggle_additional" cmd ="2" [/key]
[key] mod = {"Alt", "Super"} key = "F3" func = "tag_toggle_additional" cmd ="3" [/key]
[key] mod = {"Alt", "Super"} key = "F4" func = "tag_toggle_additional" cmd ="4" [/key]
[key] mod = {"Alt", "Super"} key = "F5" func = "tag_toggle_additional" cmd ="5" [/key]
[key] mod = {"Alt", "Super"} key = "F6" func = "tag_toggle_additional" cmd ="6" [/key]
[key] mod = {"Alt", "Super"} key = "F7" func = "tag_toggle_additional" cmd ="7" [/key]
[key] mod = {"Alt", "Super"} key = "F8" func = "tag_toggle_additional" cmd ="8" [/key]
[key] mod = {"Alt", "Super"} key = "F9" func = "tag_toggle_additional" cmd ="9" [/key]
# change screen
[key] mod = {"Super"} key = "Tab" func = "screen_next" [/key]
[key] mod = {"Super", "Shift"} key = "Tab" func = "screen_prev" [/key]
# swap client in the next/prev screen
[key] mod = {"Super", "Shift"} key = "a" func = "client_screen_next" [/key]
[key] mod = {"Super", "Shift"} key = "z" func = "client_screen_prev" [/key]
# unlisted fonctions that can be used in [key] func = ""
# client_focus_{right, left, top, bottom}
# client_ignore_tag # Toggle the client in ignore_tag (display the client on all tags)
# tag_prev_sel # go back to the previous selected tag
# tag_transfert_{next, prev}
# tag_urgent # go to the urgent tag
# tag_swap_{next, prev} # swap tag with the previous/next one
# tag_last # go to the last tag
# tag_stay_last # toggle the current tag as the last one
# toggle_abovefc
# screen_prev_sel # go to the previous screen selected
# set_layout # set layout. need to be called with cmd = "<layout_name>"
# ignore_next_client_rules # ignore the rule the next time a rule is called
[/keys] status.sh:
#!/bin/sh
#
#
## Couleurs ##
rouge="\\#FF000B\\"
vert="\\#1CB500\\"
jaune="\\#FFF23D\\"
bleu="\\#4599F8\\"
orange="\\#FF6600\\"
rose="\\#FF53B5\\"
camel="\\#FFA500\\"
cyan="\\#00F3FF\\"
normal="\\#D9D9D9\\"
#
#
## Heure ##
_hour () {
hour=$(date '+%Hh %Mm')
hour="$vert [ H : $normal$hour$vert ]"
}
#
#
## Date ##
_dat () {
dat_s=$(date '+%a %d/%m/%y')
dat_l=$(date '+%A %d %b %Y')
dat="$orange [ D : $normal$dat_s$orange ]"
}
#
#
## Uptime ##
_uptim () {
uptim=$(cut -d'.' -f1 /proc/uptime)
mins=$((${uptim}/60%60))
hours=$((${uptim}/3600%24))
days=$((${uptim}/86400))
uptim="${mins}m"
if [ "${hours}" -ne "0" ]; then
uptim="${hours}h ${uptim}"
fi
if [ "${days}" -ne "0" ]; then
uptim="${days}d ${uptim}"
fi
uptim="$jaune [ U : $normal$uptim$jaune ]"
}
#
#
## Ram ##
_ram () {
mem_u=$(free -mto | grep Mem | awk '{ print $3 }')
mem_t=$(free -mto | grep Mem | awk '{ print $2 }')
ram="$bleu [ R : $normal$mem_u M / $mem_t M$bleu ]"
}
#
#
## Hdd ##
_hdd () {
hdd_f=$(df -h / | grep "/dev/" | awk '{print $3}')
hdd_t=$(df -h / | grep "/dev/" | awk '{print $2}')
hdd="$camel [ H : $normal$hdd_f / $hdd_t$camel ]"
}
#
#
## Températures ##
_temp () {
cpu_t=$(sensors | grep "CPU T" | awk {'print $3'})
mb_t=$(sensors | grep "MB T" | awk {'print $3'})
gpu_t=$(nvidia-settings -t -q GPUCoreTemp)
temp="$vert [ T : $normal$cpu_t $mb_t +$gpu_t°C$vert ]"
}
#
#
## Status ##
status () {
for arg in $@; do
_${arg}
args="${args} `eval echo '$'$arg`"
done
wmfs -s 0 "$args"
echo "$args"
}
#
#
## Variables ##
## dat hour uptim ram hdd ram hdd ip mail mcp vol bat quod temp
status dat hour uptim ram hdd vol
#
#Dernière modification par guantas (2011-04-23 01:13:42)
Hors ligne
WoW ^^
superbe guantas !! on dirait un dessin de Manara , un lien vers le wall ?
en tout cas, moi qui suis pas fan des couleurs (sur le desktop) je suis bluffé là !!
quelle évolution guantas !! 
[arpinux.org][wmfs²][devart][livarp][FSF][distrozilla][partage]
Hors ligne
Hors ligne
Super sympa vos configs !! 
Je pense que je vais tomber dans le tiling d'ici peu... 
En plus, wmfs à l'air simple à configurer (par rapport à awesome !)
Quelques conseils pour bien commencer ?
Edit :
Quelqu'un l'a installé sous #! ? Je n'y arrive pas... 
J'ai un message d'erreur me disant que la session ne peut pas prendre en compte 2 arguments...
Gnééé ?! 
Dernière modification par Fenouille84 (2011-04-23 19:13:24)
Conky est ton ami ^^ : Ma galerie
Ma page Deviant Art : conky inside 
-- Dropbox (online backup) : 2Go + 250 Mo pour vous et moi par parrainage --
Hors ligne
Kookaburra : Pour ta statusbar tu t'es vraiment embété, car tu peux mettre une sortie de conky dedans, c'est se que je fais c'est beaucoup moins chiant
status.sh
#!/bin/bash
conky | while read -r; do wmfs -s "$REPLY"; donePuis tu n'as plus qu'a modifier les infos du conkyrc
Hors ligne
Kookaburra : Pour ta statusbar tu t'es vraiment embété, car tu peux mettre une sortie de conky dedans, c'est se que je fais c'est beaucoup moins chiant
C'est ce que je faisais au départ, mais j'ai eu envie d'utiliser WMFS comme le voulait le dév ... et puis, ça m'a amusé de me faire chier pour remplir mon statusbar 
Le plaisir de geeker, que veux-tu 
Portable17p : CrunchBangLinux // EeePC : ArchLinux
Eeepad Transformer : Android Honeycomb 3.2 // GalaxyS : Android 2.2
Ma page DevArt : http://kookadimi.deviantart.com
Mes photos : http://www.fluidr.com/photos/kookadimi/sets
Hors ligne
Je l'ai fais aussi au début que j'utilisais WMFS, mais c'est tellement plus simple conky ^^
Comment ça Xorg62 veut qu'on l'utilise comme ça ? je comprends pas là
Hors ligne
^^ Xorg62 n'utilise pas conky et prefere le C ou bash(zsh) . il a dev une petite appli aussi pour la statusbar: memcpu : http://wmfs.info/projects/wmfs/wiki/Memcpu 
[arpinux.org][wmfs²][devart][livarp][FSF][distrozilla][partage]
Hors ligne
Ah d'accord 
Hors ligne
Comment ça Xorg62 veut qu'on l'utilise comme ça ? je comprends pas là
Non, pas de méprise ! Il n'oblige personne à rien.
Je voulais dire que si créateur de WMFS a fait une statusbar qui fonctionne avec un script.sh donc en Bash, vu que j'aime bien le Bash autant y aller à fond et respecter le truc au max ...
Mais s'il a aussi fait l'implémentation de Conky, tu as raison de ne pas te priver, effectivement c'est plus simple (seul défaut : monochrome, pas de couleurs, dommage
)
Portable17p : CrunchBangLinux // EeePC : ArchLinux
Eeepad Transformer : Android Honeycomb 3.2 // GalaxyS : Android 2.2
Ma page DevArt : http://kookadimi.deviantart.com
Mes photos : http://www.fluidr.com/photos/kookadimi/sets
Hors ligne
S'adapte aux couleurs de mon colorscheme alors perso je m'en fou, juste faut que je mette des petites icones à la place du texte et ça j'ai peur que sa soit chaud
Edit : Mon wmfsrc en se moment comme demandé : http://pastebin.com/eThDaG3K
Dernière modification par SkyZ (2011-05-04 18:06:05)
Hors ligne
Screenshot !!!!!! 
Portable17p : CrunchBangLinux // EeePC : ArchLinux
Eeepad Transformer : Android Honeycomb 3.2 // GalaxyS : Android 2.2
Ma page DevArt : http://kookadimi.deviantart.com
Mes photos : http://www.fluidr.com/photos/kookadimi/sets
Hors ligne
soon, soon ... 
Hors ligne
J'ai un message d'erreur me disant que la session ne peut pas prendre en compte 2 arguments...
Je l'ai eu aussi.
Il faut que tu édites /usr/share/xsessions/wmfs.desktop
Puis modifies la ligne
Exec=ck-launch-session wmfspour
Exec=wmfsJe ne sais pas si c'est « propre » comme méthode mais dans mon cas, ça a résolu le problème.
Configs (WMFS,Openbox,Vim,Conky) ici : https://github.com/tviblindi/Configs
Hors ligne
Il faut que tu édites /usr/share/xsessions/wmfs.desktop
Ah merci pour cette piste Argos !! Je teste ça dès que possible !!
Conky est ton ami ^^ : Ma galerie
Ma page Deviant Art : conky inside 
-- Dropbox (online backup) : 2Go + 250 Mo pour vous et moi par parrainage --
Hors ligne
Toi aussi t'es passé a wmfs?
Y'a plus que Aphelion, wlourf, et moi, si je compte bien 
Bouuuh !
Hors ligne
je testerai pitetre tester awesome tiens .. après la rc
... et le wiki .... et les enfants (pas dans l'ordre
) ...
Dernière modification par arpinux (2011-05-06 02:36:25)
[arpinux.org][wmfs²][devart][livarp][FSF][distrozilla][partage]
Hors ligne
Toi aussi t'es passé a wmfs?
Y'a plus que Aphelion, wlourf, et moi, si je compte bien
Bouuuh !
Je suis en test pour l'instant.
Mais pour dire vrai, le Lua d'awesome est un peu hard pour moi :s
Edit :
Merci Argos, ta solution fonctionne nickel !! 
Dernière modification par Fenouille84 (2011-05-06 08:43:01)
Conky est ton ami ^^ : Ma galerie
Ma page Deviant Art : conky inside 
-- Dropbox (online backup) : 2Go + 250 Mo pour vous et moi par parrainage --
Hors ligne
Exec=wmfsJe ne sais pas si c'est « propre » comme méthode mais dans mon cas, ça a résolu le problème.
Non, ce n'est pas propre ... 
https://wiki.archlinux.org/index.php/Xinitrc
Policykit
Various Gnome(*) applications expect policykit to be active, and will produce errors if absent. Login managers such as Gdm will start PolicyKit automatically, but when using .xinitrc only, you should make it run like so:
exec ck-launch-session gnome-session
(*) I specifically recall Rhythmbox/Gstreamer, but there are probably many more examples. <Expand and improve this section plz!>C'est utlise pour certains programmes cette option 
Portable17p : CrunchBangLinux // EeePC : ArchLinux
Eeepad Transformer : Android Honeycomb 3.2 // GalaxyS : Android 2.2
Ma page DevArt : http://kookadimi.deviantart.com
Mes photos : http://www.fluidr.com/photos/kookadimi/sets
Hors ligne
exec ck-launch-session gnome-session
Oui mais justement j'avais cette commande, mais GDM refusait de me lancer WMFS
(problème des 2 arguments...).
Avec la méthode d'Argos, je n'ai aucun soucis pour l'instant. Tu penses que je peux en avoir ?
Conky est ton ami ^^ : Ma galerie
Ma page Deviant Art : conky inside 
-- Dropbox (online backup) : 2Go + 250 Mo pour vous et moi par parrainage --
Hors ligne