Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f38a261
Showing
9 changed files
with
471 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
general { | ||
colors = true | ||
interval = 4 | ||
} | ||
|
||
order += "disk /home" | ||
order += "disk /" | ||
order += "run_watch VPN" | ||
order += "wireless wlan0" | ||
order += "ethernet em1" | ||
order += "battery 0" | ||
order += "volume master" | ||
order += "load" | ||
order += "time" | ||
|
||
wireless wlan0 { | ||
format_up = "W: (%quality at %essid) %ip" | ||
format_down = "W: down" | ||
} | ||
|
||
ethernet em1 { | ||
# sudo setcap cap_net_admin=ep $(which i3status) | ||
format_up = "E: %ip (%speed)" | ||
format_down = "E: down" | ||
} | ||
|
||
battery 0 { | ||
format = "%status %percentage %remaining" | ||
} | ||
|
||
run_watch VPN { | ||
pidfile = "/var/run/openvpn.pid" | ||
} | ||
|
||
time { | ||
format = "%d.%m.%Y %H:%M" | ||
} | ||
|
||
load { | ||
format = "%1min" | ||
} | ||
|
||
disk "/" { | ||
format = "%free" | ||
} | ||
|
||
disk "/home" { | ||
format = "%free" | ||
} | ||
|
||
volume master { | ||
format = "♪: %volume" | ||
device = "default" | ||
mixer = "Master" | ||
mixer_idx = 0 | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
ln -sf ~/.i3/.i3status.conf ~/.i3status.conf | ||
ln -sf ~/.i3/dunstrc ~/.config/dunst/dunstrc | ||
ln -sf ~/.i3/dock ~/bin/dock | ||
ln -sf ~/.i3/undock ~/bin/undock |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
My personal i3 window manager dot files | ||
--------------------------------------- | ||
|
||
Please note I use Czech layout, if you want to copy & paste, _read_ the article. | ||
|
||
Article: http://lukas.zapletalovi.com/2012/08/new-in-fedora-17-i3-42-tiling-wm.html |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/sh | ||
|
||
## Desktop background color | ||
xsetroot -solid '#101010' & | ||
|
||
## Set startup volume | ||
pactl set-sink-volume 0 '20%' & | ||
|
||
## Disable beeps | ||
xset -b & | ||
|
||
## Keybord layout setting | ||
setxkbmap -layout cz,us -option grp:shift_shift_toggle & | ||
|
||
## C-A-Backspace to kill X | ||
#setxkbmap -option terminate:ctrl_alt_bksp & | ||
|
||
## Turns on the numlock key in X11 | ||
#numlockx on & | ||
|
||
## DPMS monitor setting (standby -> suspend -> off) (seconds) | ||
xset dpms 300 600 900 & | ||
|
||
## Set LCD brightness | ||
xbacklight -set 90 & | ||
|
||
## Gamma correction through the X server | ||
#xgamma -gamma 1.1 & | ||
|
||
## Composite manager | ||
#xcompmgr -cf -r 0 -D 6 & | ||
|
||
## Clipboard manager | ||
LC_ALL=C parcellite & | ||
|
||
## OSD | ||
dunst & | ||
|
||
## Load "funny" sample | ||
pactl upload-sample ~/.i3/that_was_easy.wav that_was_easy & |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,226 @@ | ||
# i3 config file (v4) | ||
# | ||
# Please see http://i3wm.org/docs/userguide.html for a complete reference! | ||
# | ||
# To give a presentation do: | ||
# xrandr --output VGA1 --mode 1024x768 --same-as LVDS1 | ||
# xrandr --output VGA1 --mode 1024x768 --right-of LVDS1 | ||
|
||
set $mod Mod4 | ||
|
||
# font for window titles. ISO 10646 = Unicode | ||
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 | ||
#font xft:terminus:pixelsize=10 | ||
|
||
# Use Mouse+$mod to drag floating windows to their wanted position | ||
floating_modifier $mod | ||
|
||
# start a terminal | ||
bindsym $mod+Return exec i3-sensible-terminal | ||
|
||
# kill focused window | ||
bindsym $mod+Shift+Q kill | ||
|
||
# start dmenu (a program launcher) | ||
bindsym $mod+d exec dmenu_run | ||
|
||
# reload/restart/exit | ||
bindsym $mod+Shift+C reload | ||
bindsym $mod+Shift+R restart | ||
bindsym $mod+Shift+E exit | ||
|
||
# screen locker (first move to "safe" workspace without any chat app) | ||
bindsym Control+Mod1+l exec i3-msg workspace 1 && i3lock -c 111111 -d | ||
|
||
# change focus | ||
bindsym $mod+j focus left | ||
bindsym $mod+k focus down | ||
bindsym $mod+l focus up | ||
#bindsym $mod+semicolon focus right | ||
bindsym $mod+uring 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+J move left | ||
bindsym $mod+Shift+K move down | ||
bindsym $mod+Shift+L move up | ||
#bindsym $mod+Shift+colon move right | ||
bindsym $mod+Shift+quotedbl 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, default) | ||
bindsym $mod+s layout stacking | ||
bindsym $mod+w 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 | ||
|
||
# focus the parent container | ||
bindsym $mod+a focus parent | ||
|
||
# focus the child container | ||
#bindcode $mod+d focus child | ||
|
||
# next/previous workspace | ||
bindsym Mod1+Tab focus right | ||
bindsym Mod1+Shift+Tab focus left | ||
bindsym $mod+Tab workspace back_and_forth | ||
|
||
# switch to workspace | ||
#bindsym $mod+ampersand workspace 1 | ||
#bindsym $mod+eacute workspace 2 | ||
#bindsym $mod+quotedbl workspace 3 | ||
#bindsym $mod+apostrophe workspace 4 | ||
#bindsym $mod+parenleft workspace 5 | ||
#bindsym $mod+minus workspace 6 | ||
#bindsym $mod+egrave workspace 7 | ||
#bindsym $mod+underscore workspace 8 | ||
#bindsym $mod+ccedilla workspace 9 | ||
#bindsym $mod+agrave workspace 10 | ||
bindsym $mod+1 workspace 1 | ||
bindsym $mod+2 workspace 2 | ||
bindsym $mod+3 workspace 3 | ||
bindsym $mod+4 workspace 4 | ||
bindsym $mod+5 workspace 5 | ||
bindsym $mod+6 workspace 6 | ||
bindsym $mod+7 workspace 7 | ||
bindsym $mod+8 workspace 8 | ||
bindsym $mod+9 workspace 9 | ||
bindsym $mod+0 workspace 10 | ||
|
||
# switch to workspace (f1-f4) | ||
bindsym F1 workspace 1 | ||
bindsym F2 workspace 2 | ||
bindsym F3 workspace 3 | ||
bindsym F4 workspace 4 | ||
bindsym Mod1+F1 workspace 5 | ||
bindsym Mod1+F2 workspace 6 | ||
bindsym Mod1+F3 workspace 7 | ||
bindsym Mod1+F4 workspace 8 | ||
|
||
# move focused container to workspace | ||
bindsym $mod+Shift+1 move container to workspace 1 | ||
bindsym $mod+Shift+2 move container to workspace 2 | ||
bindsym $mod+Shift+3 move container to workspace 3 | ||
bindsym $mod+Shift+4 move container to workspace 4 | ||
bindsym $mod+Shift+5 move container to workspace 5 | ||
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+0 move container to workspace 10 | ||
|
||
# border changing | ||
bindsym $mod+b border toggle | ||
|
||
# scratchpad | ||
bindsym $mod+m move scratchpad | ||
bindsym $mod+o scratchpad show | ||
|
||
# resize window (you can also use the mouse for that) | ||
mode "resize" { | ||
# These bindings trigger as soon as you enter the resize mode | ||
|
||
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 | ||
bindsym uring resize grow width 10 px or 10 ppt | ||
|
||
# same bindings, but for the arrow keys | ||
bindsym 113 resize shrink width 10 px or 10 ppt | ||
bindsym 116 resize grow height 10 px or 10 ppt | ||
bindsym 111 resize shrink height 10 px or 10 ppt | ||
bindsym 114 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" | ||
|
||
# pulse audio volume control | ||
bindsym XF86AudioLowerVolume exec /usr/bin/pactl set-sink-volume 0 -- '-5%' | ||
bindsym XF86AudioRaiseVolume exec /usr/bin/pactl set-sink-volume 0 -- '+5%' | ||
bindsym XF86AudioMute exec /usr/bin/pactl set-sink-volume 0 0 | ||
bindsym XF86Launch1 exec /usr/bin/pactl play-sample that_was_easy | ||
bindsym XF86MonBrightnessUp exec /usr/bin/xbacklight -inc 10 | ||
bindsym XF86MonBrightnessDown exec /usr/bin/xbacklight -dec 5 | ||
|
||
# $mod+n reserved for close all notifications | ||
# see ~/.config/dunst/dunstrc for more | ||
|
||
# one bar on both screens | ||
bar { | ||
position top | ||
mode hide | ||
modifier $mod | ||
status_command i3status | ||
tray_output LVDS1 | ||
} | ||
|
||
# workspace screens | ||
workspace 1 output HDMI1 | ||
workspace 2 output HDMI1 | ||
workspace 3 output HDMI1 | ||
workspace 4 output HDMI1 | ||
workspace 5 output LVDS1 | ||
workspace 6 output LVDS1 | ||
workspace 7 output LVDS1 | ||
workspace 8 output LVDS1 | ||
|
||
# workspace assignment (use "xprop") | ||
assign [class="^Google-chrome$"] 3 | ||
assign [class="^URxvt$" instance="^mail$"] 4 | ||
assign [class="^Xchat$"] 5 | ||
assign [class="^Rednotebook$"] 6 | ||
assign [class="^Decibel-audio-player.py$"] 7 | ||
assign [title="Lingea Lexicon 5$"] 8 | ||
|
||
# custom window settings | ||
for_window [class="^URxvt$" instance="scratchpad"] border 1pixel; move scratchpad | ||
for_window [class="^Google-chrome$"] border none | ||
for_window [title="Lingea Lexicon 5$"] border none | ||
|
||
# get elluminate working | ||
for_window [title="^Elluminate Live!"] floating enable | ||
for_window [title="^Application Sharing"] floating enable | ||
for_window [class="^net-sourceforge-jnlp-runtime-Boot$" title="^Downloading"] floating enable | ||
|
||
# before autostart | ||
exec urxvt -name scratchpad -e bash | ||
exec ~/.i3/autostart | ||
|
||
# autostart | ||
exec google-chrome | ||
exec urxvt -name mail -e bash -c "mutt" | ||
exec xchat | ||
exec rednotebook | ||
exec decibel-audio-player | ||
exec lexicon | ||
|
||
# eof |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
i3-msg workspace 1 output HDMI1 | ||
i3-msg workspace 2 output HDMI1 | ||
i3-msg workspace 3 output HDMI1 | ||
i3-msg workspace 4 output HDMI1 |
Oops, something went wrong.