Last active
February 14, 2021 04:18
-
-
Save lvm/a9c77c57854c50182dbe to your computer and use it in GitHub Desktop.
~/.i3/config + ~/.i3status.conf
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
# font | |
font pango:Ubuntu Mono Regular 12 | |
# settings | |
set $mod Mod4 | |
set $ws workspace | |
set $laptop LVDS1 | |
set $launcher dmenu_run -i -nb '#393939' -nf '#48B685' -sb '#dfefe2' -sf '#393939' | |
# colors | |
set $bgcolor 393939 | |
set $fgcolor 48B685 | |
set $txtcolor DFEFE2 | |
set $urgent EF6155 | |
# workspace definitions | |
set $ws_uno term | |
set $ws_dos emacs | |
set $ws_tres audio | |
set $ws_cuatro files | |
set $ws_cinco random | |
set $ws_seis 666 | |
set $ws_siete steam | |
set $ws_ocho irc | |
set $ws_nueve www | |
set $ws_diez mail | |
workspace $ws_uno output $laptop | |
workspace $ws_dos output $laptop | |
workspace $ws_tres output $laptop | |
workspace $ws_cuatro output $laptop | |
workspace $ws_cinco output $laptop | |
workspace $ws_seis output $laptop | |
workspace $ws_siete output $laptop | |
workspace $ws_ocho output $laptop | |
workspace $ws_nueve output $laptop | |
workspace $ws_diez output $laptop | |
# switch to workspace | |
bindsym $mod+1 workspace $ws_uno | |
bindsym $mod+2 workspace $ws_dos | |
bindsym $mod+3 workspace $ws_tres | |
bindsym $mod+4 workspace $ws_cuatro | |
bindsym $mod+5 workspace $ws_cinco | |
bindsym $mod+6 workspace $ws_seis | |
bindsym $mod+7 workspace $ws_siete | |
bindsym $mod+8 workspace $ws_ocho | |
bindsym $mod+9 workspace $ws_nueve | |
bindsym $mod+0 workspace $ws_diez | |
# move focused container to workspace | |
bindsym $mod+shift+exclam move workspace $ws_uno | |
bindsym $mod+shift+at move workspace $ws_dos | |
bindsym $mod+shift+numbersign move workspace $ws_tres | |
bindsym $mod+shift+dollar move workspace $ws_cuatro | |
bindsym $mod+shift+percent move workspace $ws_cinco | |
bindsym $mod+shift+dead_circumflex move workspace $ws_seis | |
bindsym $mod+shift+ampersand move workspace $ws_siete | |
bindsym $mod+shift+asterisk move workspace $ws_ocho | |
bindsym $mod+shift+parenleft move workspace $ws_nueve | |
bindsym $mod+shift+equal move workspace $ws_diez | |
# ciclar entre workspaces | |
bindsym $mod+shift+n workspace next | |
bindsym $mod+shift+p workspace prev | |
# change focus | |
bindsym $mod+h focus left | |
bindsym $mod+j focus down | |
bindsym $mod+k focus up | |
bindsym $mod+l 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 | |
# split in horizontal orientation | |
bindsym $mod+o split h | |
# split in vertical orientation | |
bindsym $mod+p split v | |
# resize | |
bindsym $mod+shift+d resize shrink width 10 px or 10 ppt | |
bindsym $mod+shift+s resize grow height 10 px or 10 ppt | |
bindsym $mod+shift+a resize grow width 10 px or 10 ppt | |
bindsym $mod+shift+w resize shrink height 10 px or 10 ppt | |
# 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 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'" | |
# cerrar | |
bindsym $mod+shift+q kill | |
# enter fullscreen mode for the focused container | |
bindsym $mod+f fullscreen | |
# change container layout (stacked, tabbed, default) | |
bindsym $mod+s layout stacking | |
bindsym $mod+t layout tabbed | |
bindsym $mod+e layout default | |
# toggle tiling / floating | |
bindsym $mod+shift+space floating toggle | |
# change focus between tiling / floating windows | |
bindsym $mod+space focus mode_toggle | |
# screenshot | |
bindsym Print exec scrot ~/Pictures/Screenshots/screenshot_%Y_%m_%d_%H_%M_%S.png | |
# volume controls | |
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +10% | |
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -10% | |
bindsym XF86AudioMute exec pactl set-sink-volume 0 0% | |
# terminal | |
bindsym $mod+Return exec i3-sensible-terminal | |
# start program launcher | |
bindsym $mod+d exec $launcher | |
bindsym $mod+F2 exec $launcher | |
# lock screen | |
bindsym $mod+Control+l exec i3lock -i ~/.i3/bsod.png -c 0000AA | |
# ventanas | |
assign [window_role="^browser$"] $ws_nueve | |
assign [class="^emacs"] $ws_dos | |
for_window [window_role="pop-up"] floating enable | |
# init | |
exec --no-startup-id synclient TouchpadOff=1 | |
exec --no-startup-id nm-applet | |
exec --no-startup-id compton -CGb --vsync opengl | |
exec --no-startup-id python /home/mauro/bin/rw -b -s -d /home/mauro/fondos/ -ti 30m & | |
bar { | |
status_command i3status | |
position top | |
font xft:Ubuntu Mono Regular 12, FontAwesome 10 | |
colors { | |
background #$bgcolor | |
statusline #$txtcolor | |
separator #$txtcolor | |
focused_workspace #$fgcolor #$fgcolor #$bgcolor | |
inactive_workspace #$bgcolor #$bgcolor #$txtcolor | |
} | |
} | |
# borders | |
set $borders 0 | |
new_window pixel $borders | |
new_float pixel $borders | |
client.focused #$fgcolor #$fgcolor #$bgcolor | |
client.unfocused #$bgcolor #$bgcolor #$fgcolor | |
client.focused_inactive #$bgcolor #$bgcolor #$fgcolor | |
client.urgent #$bgcolor #$bgcolor #$urgent |
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
# i3status configuration file. | |
# see "man i3status" for documentation. | |
# It is important that this file is edited as UTF-8. | |
# The following line should contain a sharp s: | |
# ß | |
# If the above line is not correctly displayed, fix your editor first! | |
general { | |
colors = false | |
interval = 5 | |
} | |
order += "wireless wlp3s0" | |
order += "battery 0" | |
order += "volume master" | |
order += "cpu_temperature 0" | |
order += "tztime local" | |
wireless wlp3s0 { | |
format_up = " %essid (%quality)" | |
format_down = " NO CARRIER" | |
} | |
battery 0 { | |
format = " %percentage" | |
} | |
cpu_temperature 0 { | |
format = " %degrees°C" | |
} | |
volume master { | |
format = "🔊 %volume" | |
format_muted = "🔇 %volume" | |
device = "default" | |
mixer = "Master" | |
mixer_idx = 0 | |
} | |
tztime local { | |
format = " %Y-%m-%d %H:%M" | |
} |
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
Packages: | |
* i3 | |
* i3-wm | |
* i3lock | |
* i3status | |
* scrot | |
* feh | |
Apps: | |
* [rw](https://github.com/lvm/rw) | |
Fonts: | |
* [Envy Code R](https://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released) | |
* [Font Awesom](https://fortawesome.github.io/Font-Awesome/) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
COPANTE