From 3b1343004a725dc53cd301af4ecd1bde3d53503b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 7 Dec 2014 01:17:52 +0100 Subject: [PATCH] Remove "virtualarch" i3 configuration. --- i3/i3/config.d/notebook.config | 2 +- i3/i3/config.d/virtualarch.config | 48 ---------- .../{virtualarch.conkyrc => notebook.conkyrc} | 0 i3/i3/conky/virtualarch.conky.dzen | 94 ------------------- 4 files changed, 1 insertion(+), 143 deletions(-) delete mode 100644 i3/i3/config.d/virtualarch.config rename i3/i3/conky/{virtualarch.conkyrc => notebook.conkyrc} (100%) delete mode 100644 i3/i3/conky/virtualarch.conky.dzen diff --git a/i3/i3/config.d/notebook.config b/i3/i3/config.d/notebook.config index 5a76f56..318d005 100644 --- a/i3/i3/config.d/notebook.config +++ b/i3/i3/config.d/notebook.config @@ -46,5 +46,5 @@ bar { } i3bar_command i3bar - status_command bash ~/.i3/scripts/i3bar_wrapper.bash ~/.i3/conky/virtualarch.conkyrc + status_command bash ~/.i3/scripts/i3bar_wrapper.bash ~/.i3/conky/notebook.conkyrc } diff --git a/i3/i3/config.d/virtualarch.config b/i3/i3/config.d/virtualarch.config deleted file mode 100644 index 1039f6e..0000000 --- a/i3/i3/config.d/virtualarch.config +++ /dev/null @@ -1,48 +0,0 @@ -# bind some keys -bindsym XF86Sleep exec --no-startup-id $path_i3exit suspend -bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle -bindsym XF86AudioRaiseVolume exec --no-startup-id bash $HOME/.i3/scripts/pa-volume.bash set-vol +5 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash" -bindsym XF86AudioLowerVolume exec --no-startup-id bash $HOME/.i3/scripts/pa-volume.bash set-vol -5 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash" -# keys seemingly switched -bindsym XF86MonBrightnessUp exec --no-startup-id sudo /usr/local/bin/backlight.sh -10 -bindsym XF86MonBrightnessDown exec --no-startup-id sudo /usr/local/bin/backlight.sh +10 - -bindsym XF86AudioPlay exec --no-startup-id mpc toggle - -bindsym XF86AudioPrev exec --no-startup-id mpc prev -bindsym XF86AudioNext exec --no-startup-id mpc next - -# font for window titles. ISO 10646 = Unicode -font pango:DejaVu Sans Mono 9 - - -# start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -bar { - # always show at the top of the screen - mode dock - position top - - tray_output primary - - # show workspace buttons - workspace_buttons yes - - id bar-0 - - font pango:DejaVu Sans Mono, Icons 10 - - colors { - background #222222 - statusline #ffffff - separator #e16b40 - - focused_workspace #e16b40 #222222 #ffffff - active_workspace #222222 #5f676a #ffffff - inactive_workspace #222222 #222222 #bbbbbb - urgent_workspace #000000 #de1e15 #000000 - } - - i3bar_command i3bar - status_command bash ~/.i3/scripts/i3bar_wrapper.bash ~/.i3/conky/virtualarch.conkyrc -} diff --git a/i3/i3/conky/virtualarch.conkyrc b/i3/i3/conky/notebook.conkyrc similarity index 100% rename from i3/i3/conky/virtualarch.conkyrc rename to i3/i3/conky/notebook.conkyrc diff --git a/i3/i3/conky/virtualarch.conky.dzen b/i3/i3/conky/virtualarch.conky.dzen deleted file mode 100644 index c6bf091..0000000 --- a/i3/i3/conky/virtualarch.conky.dzen +++ /dev/null @@ -1,94 +0,0 @@ -# TODO: coloring of LOAD should depend on number of cpus, as it scales accordingly -out_to_console yes -out_to_ncurses no -out_to_stderr no -out_to_x no - -short_units yes - -update_interval 1.0 -update_interval_on_battery 1.0 - -# pad_percents is useless without use_spacer, but the latter leads to some ugly gaps -#pad_percents 2 -#use_spacer left - -TEXT - -${if_existing /sys/class/net/enp0s3}\ -${if_up enp0s3}\ -enp0s3: \ -${if_match "${addr enp0s3}" != "No Address"}^fg(\#00FF00)\ -${else}^fg(\#FFFF00)\ -${endif}\ -${addr enp0s3}\ -${else}^fg(\#FF0000)E: down -${endif}^fg() | \ -${endif}\ -\ -\ -${if_existing /proc/acpi/battery/BATO}BAT: ${battery_short} (${battery_time}) | ${endif}\ -\ -\ -${if_mounted /}\ -/: \ -${if_match ${fs_used_perc /} <= 70}^fg(\#00FF00)\ -${else}${if_match ${fs_used_perc /} <= 90}^fg(\#FFFF00)\ -${else}^fg(\#FF0000)\ -${endif}\ -${endif}\ -${fs_used /}/${fs_size /} (${fs_used_perc /}%)\ -^fg() | ${endif}\ -\ -\ -MEM: \ -${if_match ${memperc} <= 50}^fg(\#00FF00)\ -${else}${if_match ${memperc} <= 75}^fg(\#FFFF00)\ -${else}^fg(\#FF0000)\ -${endif}\ -${endif}\ -$mem/$memmax (${memperc}%)^fg() | \ -\ -\ -${if_match "${swapperc}" != "No swap"}\ -SWAP: \ -${if_match ${swapperc} <= 50}^fg(\#00FF00)\ -${else}${if_match ${swapperc} <= 75}^fg(\#FFFF00)\ -${else}^fg(\#FF0000)\ -${endif}\ -${endif}\ -${swap}/${swapmax} (${swapperc}%)\ -${else}\ -No swap\ -${endif}\ -^fg() | \ -\ -\ -CPU: \ -${if_match ${cpu cpu0} <= 25}^fg(\#00FF00)\ -${else}${if_match ${cpu cpu0} <= 75}fg(\#FFFF00)\ -${else}fg(\#FF0000)\ -${endif}\ -${endif}\ -${cpu cpu0}%^fg() | \ -\ -\ -LOAD: \ -${if_match ${loadavg 2} <= 0.7}^fg(\#00FF00)\ -${else}${if_match ${loadavg 2} <= 1}fg(\#FFFF00)\ -${else}fg(\#FF0000)\ -${endif}\ -${endif}\ -${loadavg 2}^fg() | \ -\ -\ -KERNEL: ${sysname} ${kernel} | \ -\ -\ -HOST: $nodename | \ -\ -\ -UP: $uptime_short | \ -\ -\ -${time %a %F %T} #