aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2016-05-02 14:48:11 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2016-05-02 14:48:11 +0200
commit85b726dde03573385f8c0081a9705173b2322a08 (patch)
tree15399872228d29071454ff2ce9ed4f75ddd6a620
parentec893228f86e27b4695bb81cb0810f76660f0a82 (diff)
downloaddotfiles-85b726dde03573385f8c0081a9705173b2322a08.tar.gz
dotfiles-85b726dde03573385f8c0081a9705173b2322a08.zip
i3: added configuration for the laptop
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--i3/config23
-rw-r--r--i3status.conf9
-rwxr-xr-xinstall.sh2
3 files changed, 32 insertions, 2 deletions
diff --git a/i3/config b/i3/config
index 90ca016..9c6bed1 100644
--- a/i3/config
+++ b/i3/config
@@ -201,10 +201,29 @@ bar {
}
}
+# NOTE: If you are using a laptop, use this bar config.
+#bar {
+#position top
+#status_command i3status
+#workspace_buttons yes
+#tray_output eDP1
+#
+#colors {
+#separator #666666
+#background #333333
+#statusline #bbbbbb
+#focused_workspace #888888 #dddddd #222222
+#active_workspace #333333 #555555 #bbbbbb
+#inactive_workspace #333333 #555555 #bbbbbb
+#urgent_workspace #2f343a #900000 #ffffff
+#}
+#}
+
# Start dunst notification manager at boot
exec --no-startup-id dunst
# Proper configuration of multi monitor
+# NOTE: remove this if you are using a laptop.
exec --no-startup-id xrandr --output DP-1 --right-of DVI-I-1
# Disable system bell
@@ -214,5 +233,9 @@ exec --no-startup-id xset b off
exec --no-startup-id xset -dpms
exec --no-startup-id xset s off
+# Network manager
+# NOTE: uncomment this if you are in a laptop
+# exec --no-startup-id nm-applet
+
# Wallpaper
exec --no-startup-id nitrogen --restore
diff --git a/i3status.conf b/i3status.conf
index 8086fda..ac64d9a 100644
--- a/i3status.conf
+++ b/i3status.conf
@@ -17,17 +17,24 @@ general {
order += "disk /"
order += "disk /home"
order += "ethernet br0"
+# NOTE: uncomment this and remove the previous line if you are using a laptop.
+#order += "wireless wlp3s0"
order += "load"
order += "volume master"
order += "tztime local"
# Yes, I'm weird :P Use whatever ethernet interface you have here.
+# NOTE: remove this if you are using a laptop.
ethernet br0 {
format_up = "E: %ip"
format_down = "E: down"
}
-# TODO: have the same above but for wifi.
+# NOTE: use this if you are using a laptop.
+#wireless wlp3s0 {
+#format_up = "W: (%quality at %essid) %ip"
+#format_down = "W: down"
+#}
tztime local {
format = "%Y-%m-%d %H:%M"
diff --git a/install.sh b/install.sh
index b5e3704..0ad72a4 100755
--- a/install.sh
+++ b/install.sh
@@ -30,7 +30,7 @@ chmod +x $HOME/.rake_completion
# i3 and X stuff. An incomplete list of openSUSE packages that I need in order
# to have a good i3 environment is: i3 xlockmore dunst i3status nitrogen scrot
-# breeze-icons konsole gpicview (maybe gwenview? not sure) okular.
+# breeze-icons konsole gpicview (maybe gwenview? not sure) okular dmenu.
mkdir -p $HOME/.config/dunst $HOME/.i3
cp i3/config $HOME/.i3/config
cp i3status.conf $HOME/.i3status.conf