diff --git a/.config/i3/config b/.config/i3/config index 53139e5..bce32ef 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -12,12 +12,18 @@ floating_modifier $mod # ========== # fonts -font pango:DejaVu Sans Mono 8 +font pango:Liberation Mono 8 # gaps for_window [class="^.*"] border pixel 0 gaps inner 12 +# bar +bar { + status_command i3blocks + font pango:Liberation Mono 10 + tray_output none +} # behavior # ======== @@ -128,7 +134,7 @@ exec --no-startup-id ~/.local/bin/i3/autostart # automount exec --no-startup-id udiskie & -# bar and notifications +# notifications exec --no-startup-id twmnd & # appearance diff --git a/.config/i3blocks/config b/.config/i3blocks/config new file mode 100644 index 0000000..43784d1 --- /dev/null +++ b/.config/i3blocks/config @@ -0,0 +1,39 @@ +# +# ~/.config/i3blocks/.config +# author: adam gausmann +# + +[volume] +label=vol +command=~/.local/lib/i3blocks/volume +interval=once +signal=1 # use `pkill -RTMIN+1 i3blocks` to update + +[iface] +label=lan +command=~/.local/lib/i3blocks/iface +interval=5 + +[battery] +label=bat +command=~/.local/lib/i3blocks/battery +interval=60 + +[cpu] +label=cpu +command=~/.local/lib/i3blocks/cpu_usage +interval=5 + +[memory] +label=mem +command=~/.local/lib/i3blocks/memory +interval=5 + +[disk] +label=sda +command=~/.local/lib/i3blocks/disk +interval=300 + +[time] +command=date '+%Y-%m-%d %H:%M' +interval=10 diff --git a/.config/twmn/twmn.conf b/.config/twmn/twmn.conf index c55b8c3..0bd79d4 100644 --- a/.config/twmn/twmn.conf +++ b/.config/twmn/twmn.conf @@ -15,7 +15,7 @@ background_color=darkred ; RBG hex and keywords (eg. lightgray) are supported. icon= ; Path to image file. Optional. ; Font family. -font=Sans +font=Liberation Mono ; Font size. font_size=13 ; In pixel. @@ -30,7 +30,7 @@ font_variant=medium foreground_color=lightgray ; RBG hex and keywords (eg. lightgray) are supported. ; Height of the slide bar. Useful to match your tiling window manager's bar. -height=32 ; In pixel. +height=22 ; In pixel. ; Position of the notification slide. position=bottom_center diff --git a/.vimrc b/.vimrc index 6f72bc2..adc820b 100644 --- a/.vimrc +++ b/.vimrc @@ -30,3 +30,4 @@ set tabstop=4 set softtabstop=4 set expandtab filetype indent on +set shiftwidth=4