muchos cambios
This commit is contained in:
parent
8a6ba8e5f8
commit
9c0071dcc7
75
i3/config
75
i3/config
|
@ -60,6 +60,7 @@ floating_modifier $mod
|
|||
|
||||
#Display
|
||||
set $display LVDS1
|
||||
set $display2 VGA1
|
||||
|
||||
#Multimedia
|
||||
bindsym XF86AudioLowerVolume exec amixer -c 0 set Master 2dB-
|
||||
|
@ -67,9 +68,8 @@ bindsym XF86AudioRaiseVolume exec amixer -c 0 set Master 2dB+
|
|||
bindsym XF86AudioMute exec amixer -c 0 set Master toggle
|
||||
bindsym $mod+U exec amixer set Master unmute
|
||||
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec xfce4-terminal
|
||||
bindsym $mod+Return exec urxvt
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+Q kill
|
||||
|
||||
|
@ -117,31 +117,39 @@ bindsym $mod+a focus parent
|
|||
#bindcode $mod+d focus child
|
||||
|
||||
# workspace names
|
||||
workspace "1:Mail" output $display
|
||||
workspace "1:Shell" output $display
|
||||
workspace "2:WWW" output $display
|
||||
workspace "3:Chat" output $display
|
||||
workspace "3:Shell" output $display
|
||||
workspace "4:Shell" output $display
|
||||
|
||||
workspace "5:Generic" output $display
|
||||
workspace "6" output $display
|
||||
workspace "7" output $display
|
||||
workspace "8: " output $display
|
||||
workspace "9: " output $display
|
||||
workspace "10" output $display2
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace 1:Mail
|
||||
bindsym $mod+1 workspace 1:Shell
|
||||
bindsym $mod+2 workspace 2:WWW
|
||||
bindsym $mod+3 workspace 3:Chat
|
||||
bindsym $mod+3 workspace 3:Shell
|
||||
bindsym $mod+4 workspace 4:Shell
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+5 workspace 5:Generic
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+Shift+1 move container to workspace 1:Mail
|
||||
bindsym $mod+8 workspace 8:
|
||||
bindsym $mod+9 workspace 9:
|
||||
bindsym $mod+0 workspace 10
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace 1:Shell
|
||||
bindsym $mod+Shift+2 move container to workspace 2:WWW
|
||||
bindsym $mod+Shift+3 move container to workspace 3:Chat
|
||||
bindsym $mod+Shift+3 move container to workspace 3:Shell
|
||||
bindsym $mod+Shift+4 move container to workspace 4:Shell
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+5 move container to workspace 5:Generic
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+8 move container to workspace 8:
|
||||
bindsym $mod+Shift+9 move container to workspace 9:
|
||||
bindsym $mod+Shift+0 move container to workspace 10
|
||||
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
|
@ -158,10 +166,10 @@ mode "resize" {
|
|||
bindsym ntilde 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
|
||||
bindsym Left resize shrink width 1 px or 1 ppt
|
||||
bindsym Down resize grow height 1 px or 1 ppt
|
||||
bindsym Up resize shrink height 1 px or 1 ppt
|
||||
bindsym Right resize grow width 1 px or 1 ppt
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
|
@ -173,12 +181,14 @@ bindsym $mod+r mode "resize"
|
|||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
font pango:Dyuthi3, Awesome, Icons 10
|
||||
font pango:Dyuthi3, Awesome, Icons 10
|
||||
status_command ~/.i3/h2status
|
||||
|
||||
position top
|
||||
colors {
|
||||
|
||||
colors {
|
||||
background #222222
|
||||
separator #444444
|
||||
separator #555555
|
||||
statusline $darkgrey
|
||||
###XXX: Details border backgr. text
|
||||
focused_workspace $lightblue $blue $white
|
||||
|
@ -210,22 +220,29 @@ bindsym $mod+Escape mode "$mode_system"
|
|||
#windows colors
|
||||
new_window pixel
|
||||
# class border backgr. text indicator
|
||||
client.focused $lightblue $blue $white $lightblue
|
||||
client.focused $darkblue $darkblue $white $blue
|
||||
client.focused_inactive $darkgrey $black $grey $darkgrey
|
||||
client.unfocused $black $darkblack $grey $darkgrey
|
||||
client.urgent $lightred $red $white $lightred
|
||||
client.urgent $lightred $red $white $lightred
|
||||
|
||||
#startup
|
||||
exec --no-startup-id feh /home/drymer/Imagenes/Fondos\ de\ pantalla/aYqTE6i.png --bg-scale
|
||||
#Wallpaper
|
||||
exec --no-startup-id feh --bg-scale ~/Imagenes/Fondos\ de\ Pantalla/hacking-matrix_azul.png
|
||||
|
||||
#Layout
|
||||
assign [class="(?i)thunderbird"] "1:Mail"
|
||||
assign [class="(?i)firefox"] "2:WWW"
|
||||
assign [title="(Acerca de Tor\ -\ Navegador\ Tor"] "2:WWW"
|
||||
assign [class="(?i)tor"] "2:WWW"
|
||||
assign [class="(?i)thunderbird"] "9: "
|
||||
assign [class="(?i)keepassx"] "5:Generic"
|
||||
assign [class="(?i)mumble"] "8: "
|
||||
assign [title="bittorrent"] "3:Chat"
|
||||
|
||||
for_window [window_role="Preferences"] floating enable
|
||||
for_window [window_role="help-browser"] floating enable
|
||||
for_window [class="(?i)xcalc"] floating enable
|
||||
for_window [class="Lxappearance"] floating enable
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [window_role="About"] floating enable
|
||||
for_window [class="(?i)wicd"] floating enable
|
||||
for_window [class="(?i)plasma-desktop"] floating enable
|
||||
for_window [class="(?i)klipper"] floating enable
|
||||
for_window [class="(?i)feh"] floating enable
|
||||
for_window [class="Progreso de operación de archivo"] floating enable
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit c18a59d802164175247a2fe74bed2fea7faad505
|
4
i3/exit
4
i3/exit
|
@ -5,13 +5,13 @@ lock() {
|
|||
|
||||
case "$1" in
|
||||
lock)
|
||||
lock
|
||||
slock
|
||||
;;
|
||||
logout)
|
||||
i3-msg exit
|
||||
;;
|
||||
suspend)
|
||||
lock && pm-suspend
|
||||
i3lock && pm-suspend
|
||||
;;
|
||||
hibernate)
|
||||
lock && dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
|
||||
|
|
|
@ -6,9 +6,10 @@ CITY="Barcelona, ES"
|
|||
UNITS=metric
|
||||
URL="http://api.openweathermap.org/data/2.5/weather"
|
||||
|
||||
wget -q "${URL}?q=${CITY}&mode=xml&units=${UNITS}" -O ${TMP}
|
||||
torify wget -q "${URL}?q=${CITY}&mode=xml&units=${UNITS}" -O ${TMP}
|
||||
|
||||
TEMPERATURE=$(xmllint --xpath "string(//temperature/@value)" ${TMP})
|
||||
HUMIDITY=$(xmllint --xpath "string(//humidity/@value)" ${TMP})
|
||||
WEATHER=$(xmllint --xpath "string(//weather/@icon)" ${TMP})
|
||||
if [[ $? -ne 0 ]]; then
|
||||
return
|
||||
|
@ -40,5 +41,5 @@ case ${WEATHER} in
|
|||
;;
|
||||
esac
|
||||
|
||||
TEMPERATURE=${TEMPERATURE%%.*}
|
||||
echo "${ICON}" "${TEMPERATURE}Cº"
|
||||
#LC_NUMERIC="C" printf '%s %0.0f°C %0.0f\n' "${ICON}" "${TEMPERATURE}" "${HUMIDITY}%"
|
||||
echo "$ICON $TEMPERATUREºC $HUMIDITY%"
|
||||
|
|
Loading…
Reference in New Issue