adapt i3 config to work laptop

laptop_arbeit
Dario Ernst 8 years ago
parent 576124557d
commit 787bbb00d5

@ -22,8 +22,8 @@ workspace "6:l" output DP-1
workspace "7:r" output DP-2
workspace "8:r" output DP-2
workspace "9:r" output DP-2
workspace "0:r" output HDMI-0
workspace "ß:r" output HDMI-0
workspace "0:r" output HDMI-1
workspace "ß:r" output HDMI-1
# Font for window titles. Will also be used by the bar unless a different font
@ -56,17 +56,6 @@ bindsym $mod+Delete exec scrot -s
# kill focused window
bindsym $mod+Shift+x kill
bindsym Print exec pactl set-sink-volume 0 -5% ; exec pactl set-sink-volume 1 -5%
bindsym Scroll_Lock exec pactl set-sink-volume 0 +5% ; exec pactl set-sink-volume 1 +5%
bindsym Pause exec pactl set-sink-mute 0 toggle ; exec pactl set-sink-mute 1 toggle
# start dmenu (a program launcher)
#bindsym $mod+a exec dmenu_run
# 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 $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+n focus left
bindsym $mod+r focus down
@ -205,3 +194,10 @@ bar {
bindsym button5 workspace prev_on_output
}
# autostart
exec --no-startup-id pulseaudio --start
exec --no-startup-id xfce4-power-manager
exec --no-startup-id "nm-applet &"
exec --no-startup-id "pnmixer &"

@ -29,6 +29,7 @@ separator_block_width=15
markup=none
[volume-pulseaudio]
label=🎚️
command=~/.config/i3/scripts/volume-pulseaudio
interval=1
signal=1
@ -62,13 +63,23 @@ interval=30
# If the instance is not specified, use the interface used for default route.
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
[iface]
#instance=eth0
instance=enp0s31f6
color=#00FF00
interval=10
separator=false
[bandwidth]
#instance=eth0
instance=enp0s31f6
interval=5
[iface]
instance=wlp58s0
color=#00FF00
interval=10
separator=false
[bandwidth]
instance=wlp58s0
interval=5
# CPU usage
@ -129,7 +140,7 @@ interval=5
[keymap]
command=~/.config/i3/scripts/keymap
label=
label=⌨️
interval=1
# Date Time

@ -1,38 +0,0 @@
general {
}
order += "volume audio"
order += "ipv6"
order += "disk /"
order += "run_watch DHCP"
order += "ethernet eth0"
order += "battery 0"
order += "load"
order += "tztime local"
ethernet eth0 {
# if you use %speed, i3status requires the cap_net_admin capability
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
volume audio {
device = "pulse"
}
load {
format = "%5min"
}
disk "/" {
format = "%free"
}

@ -1,21 +1,21 @@
#!/bin/bash
# Displays the default device, volume, and mute status for i3blocks
AUDIO_HIGH_SYMBOL=''
AUDIO_HIGH_SYMBOL='🔊'
AUDIO_MED_THRESH=50
AUDIO_MED_SYMBOL=''
AUDIO_MED_SYMBOL='🔉'
AUDIO_LOW_THRESH=0
AUDIO_LOW_SYMBOL=''
AUDIO_LOW_SYMBOL='🔈'
AUDIO_MUTED_SYMBOL=''
AUDIO_MUTED_SYMBOL='🔇'
DEFAULT_COLOR="#ffffff"
MUTED_COLOR="#a0a0a0"
LONG_FORMAT=0
SHORT_FORMAT=2
LONG_FORMAT=3
SHORT_FORMAT=3
USE_PERCENT=1
USE_ALSA_NAME=0

Loading…
Cancel
Save