Last active
August 10, 2017 19:40
-
-
Save romulomourao/347aa7d8e6d0dc17236e54261d827705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
general { | |
colors = true | |
interval = 1 | |
color_good = "#50fa7b" | |
color_degraded = "#ffb86c" | |
color_bad = "#ff5555" | |
} | |
order += "ethernet _first_" | |
order += "cpu_usage" | |
order += "tztime local" | |
order += "volume master" | |
cpu_usage { | |
format = "CPU: %usage" | |
} | |
cpu_temperature 0 { | |
format = "%degrees °C" | |
} | |
tztime local { | |
format = "%d/%m/%Y %H:%M" | |
} | |
ethernet _first_ { | |
#if use %speed, need requires root privileges | |
format_up = "%ip (%speed)" | |
format_down = "Ethernet is down" | |
} | |
disk "/" { | |
format = "%avail" | |
} | |
load { | |
format = " %1min" | |
} | |
volume master { | |
format = " ♪ %volume " | |
device = "default" | |
mixer = "Master" | |
mixer_idx = 0 | |
#S termsyn font | |
#format = "À %volume " | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
# | |
# This config file uses keycodes (bindsym) and was written for the QWERTY | |
# layout. | |
# | |
# To get a config file with the same key positions, but for your current | |
# layout, use the i3-config-wizard | |
# | |
# Font for window titles. Will also be used by the bar unless a different font | |
# is used in the bar {} block below. ISO 10646 = Unicode | |
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 | |
font pango:Droid Sans Mono Bold 8 | |
# The font above is very space-efficient, that is, it looks good, sharp and | |
# clear in small sizes. However, if you need a lot of unicode glyphs or | |
# right-to-left text rendering, you should instead use pango for rendering and | |
# chose a FreeType font, such as: | |
# font pango:DejaVu Sans Mono 10 | |
# use Mouse+Mod4 to drag floating windows to their wanted position | |
floating_modifier Mod4 | |
# start a terminal | |
bindsym Mod4+Return exec i3-sensible-terminal | |
# kill focused window | |
bindsym Mod4+Shift+q kill | |
# start dmenu (a program launcher) | |
bindsym Mod4+d exec dmenu_run | |
# lockscreen | |
bindsym Mod4+Mod1+l exec i3lock -i ~/Pictures/ghost.png | |
#thunar | |
bindsym Mod4+q exec thunar | |
# shutdown | |
bindsym Mod4+Mod1+s exec shutdown -h now | |
# 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 Mod4+d exec --no-startup-id i3-dmenu-desktop | |
# change focus | |
bindsym Mod4+j focus left | |
bindsym Mod4+k focus down | |
bindsym Mod4+l focus up | |
bindsym Mod4+semicolon focus right | |
# alternatively, you can use the cursor keys: | |
bindsym Mod4+Left focus left | |
bindsym Mod4+Down focus down | |
bindsym Mod4+Up focus up | |
bindsym Mod4+Right focus right | |
# move focused window | |
bindsym Mod4+Shift+j move left | |
bindsym Mod4+Shift+k move down | |
bindsym Mod4+Shift+l move up | |
bindsym Mod4+Shift+semicolon move right | |
# alternatively, you can use the cursor keys: | |
bindsym Mod4+Shift+Left move left | |
bindsym Mod4+Shift+Down move down | |
bindsym Mod4+Shift+Up move up | |
bindsym Mod4+Shift+Right move right | |
# split in horizontal orientation | |
bindsym Mod4+h split h | |
# split in vertical orientation | |
bindsym Mod4+v split v | |
# enter fullscreen mode for the focused container | |
bindsym Mod4+f fullscreen | |
# change container layout (stacked, tabbed, toggle split) | |
bindsym Mod4+s layout stacking | |
bindsym Mod4+w layout tabbed | |
bindsym Mod4+e layout toggle split | |
# toggle tiling / floating | |
bindsym Mod4+Shift+space floating toggle | |
# change focus between tiling / floating windows | |
bindsym Mod4+space focus mode_toggle | |
# focus the parent container | |
bindsym Mod4+a focus parent | |
# focus the child container | |
#bindsym Mod4+d focus child | |
# move the currently focused window to the scratchpad | |
bindsym Mod4+Shift+minus move scratchpad | |
# Show the next scratchpad window or hide the focused scratchpad window. | |
# If there are multiple scratchpad windows, this command cycles through them. | |
bindsym Mod4+minus scratchpad show | |
# switch to workspace | |
bindsym Mod4+1 workspace 1 | |
bindsym Mod4+2 workspace 2 | |
bindsym Mod4+3 workspace 3 | |
bindsym Mod4+4 workspace 4 | |
bindsym Mod4+5 workspace 5 | |
bindsym Mod4+6 workspace 6 | |
bindsym Mod4+7 workspace 7 | |
bindsym Mod4+8 workspace 8 | |
bindsym Mod4+9 workspace 9 | |
bindsym Mod4+0 workspace 10 | |
# move focused container to workspace | |
bindsym Mod4+Shift+1 move container to workspace 1 | |
bindsym Mod4+Shift+2 move container to workspace 2 | |
bindsym Mod4+Shift+3 move container to workspace 3 | |
bindsym Mod4+Shift+4 move container to workspace 4 | |
bindsym Mod4+Shift+5 move container to workspace 5 | |
bindsym Mod4+Shift+6 move container to workspace 6 | |
bindsym Mod4+Shift+7 move container to workspace 7 | |
bindsym Mod4+Shift+8 move container to workspace 8 | |
bindsym Mod4+Shift+9 move container to workspace 9 | |
bindsym Mod4+Shift+0 move container to workspace 10 | |
# reload the configuration file | |
bindsym Mod4+Shift+c reload | |
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | |
bindsym Mod4+Shift+r restart | |
# exit i3 (logs you out of your X session) | |
bindsym Mod4+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 l resize shrink height 10 px or 10 ppt | |
bindsym semicolon 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 Mod4+r mode "resize" | |
# Start i3bar to display a workspace bar (plus the system information i3status | |
# finds out, if available) | |
# bar { | |
# status_command i3status | |
# position bottom | |
# colors { | |
# separator #dc322f | |
# background #282a36 | |
# statusline #50fa7b | |
# } | |
# } | |
# cores para i3wm | |
set $bg #4c7899 | |
set $fg #285577 | |
set $hi #ffffff | |
set $ac #333333 | |
set $tx #5f676a | |
set $ia #222222 | |
set $be #888888 | |
set $yw #2f343a | |
set $gn #5d5d5d | |
set $rd #900000 | |
set $sa #545454 | |
# set some nice colors border background text | |
client.focused $gn $ia $hi | |
client.unfocused $ac $sa $be | |
client.focused_inactive $ac $sa $be | |
client.urgent $yw $rd $hi | |
# set some nice colors border background text | |
# Start i3bar to display a workspace bar (plus the system information i3status | |
# finds out, if available) | |
bar { | |
position bottom | |
font pango:Droid Sans Mono Bold 8 | |
status_command i3status | |
colors { | |
background $ia | |
statusline $be | |
separator $gn | |
focused_workspace $gn $ia $hi | |
active_workspace $ac $sa $be | |
inactive_workspace $ac $sa $be | |
urgent_workspace $yw $rd $hi | |
} | |
} | |
####################################################################### | |
# automatically start i3-config-wizard to offer the user to create a | |
# keysym-based config which used his favorite modifier (alt or windows) | |
# | |
# i3-config-wizard will not launch if there already is a config file | |
# in ~/.i3/config. | |
# | |
# Please remove the following exec line: | |
####################################################################### | |
exec setxkbmap -model abnt2 -layout br -variant abnt2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment