From aa706ca78b1ccc1cbebc3a5be5f13dd3e93e2ac8 Mon Sep 17 00:00:00 2001 From: Hactarus <859868+Hactarus@users.noreply.github.com> Date: Wed, 3 Jan 2024 11:47:06 +0100 Subject: [PATCH] add dracula theme --- dracula/.dir_colors | 609 +++++++++++++++++++++++++++++++++++++ i3/.config/i3/config | 43 +-- i3/.config/i3status/config | 91 ++++++ setup.sh | 1 + 4 files changed, 726 insertions(+), 18 deletions(-) create mode 100644 dracula/.dir_colors create mode 100644 i3/.config/i3status/config diff --git a/dracula/.dir_colors b/dracula/.dir_colors new file mode 100644 index 0000000..1ce9538 --- /dev/null +++ b/dracula/.dir_colors @@ -0,0 +1,609 @@ +# Configuration file for dircolors, a utility to help you set the +# LS_COLORS environment variable used by GNU ls with the --color option. + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copying and distribution of this file, with or without modification, +# are permitted provided the copyright notice and this notice are preserved. + +# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the +# slackware version of dircolors) are recognized but ignored. + +# You can copy this file to .dir_colors in your $HOME directory to override +# the system defaults. + +# Below, there should be one TERM entry for each termtype that is colorizable +# Term Section +TERM Eterm +TERM ansi +TERM color-xterm +TERM con132x25 +TERM con132x30 +TERM con132x43 +TERM con132x60 +TERM con80x25 +TERM con80x28 +TERM con80x30 +TERM con80x43 +TERM con80x50 +TERM con80x60 +TERM cons25 +TERM console +TERM cygwin +TERM dtterm +TERM dvtm +TERM dvtm-256color +TERM eterm-color +TERM fbterm +TERM gnome +TERM gnome-256color +TERM jfbterm +TERM konsole +TERM konsole-256color +TERM kterm +TERM linux +TERM linux-c +TERM mach-color +TERM mlterm +TERM putty +TERM putty-256color +TERM rxvt +TERM rxvt-256color +TERM rxvt-cygwin +TERM rxvt-cygwin-native +TERM rxvt-unicode +TERM rxvt-unicode256 +TERM rxvt-unicode-256color +TERM screen +TERM screen-16color +TERM screen-16color-bce +TERM screen-16color-s +TERM screen-16color-bce-s +TERM screen-256color +TERM screen-256color-bce +TERM screen-256color-s +TERM screen-256color-bce-s +TERM screen-256color-italic +TERM screen-bce +TERM screen-w +TERM screen.linux +TERM screen.xterm-256color +TERM st +TERM st-meta +TERM st-256color +TERM st-meta-256color +TERM tmux +TERM tmux-256color +TERM vt100 +TERM xterm +TERM xterm-16color +TERM xterm-256color +TERM xterm-256color-italic +TERM xterm-88color +TERM xterm-color +TERM xterm-debian +TERM xterm-termite + +## Documentation +# +# standard colors +# +# Below are the color init strings for the basic file types. A color init +# string consists of one or more of the following numeric codes: +# Attribute codes: +# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed +# Text color codes: +# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white +# Background color codes: +# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white +# +# +# 256 color support +# see here: http://www.mail-archive.com/bug-coreutils@gnu.org/msg11030.html) +# +# Text 256 color coding: +# 38;5;COLOR_NUMBER +# Background 256 color coding: +# 48;5;COLOR_NUMBER + +## Special files + +NORMAL 00;38;5;15 # no color code at all +#FILE 00 # regular file: use no color at all +RESET 0 # reset to "normal" color +DIR 00;38;5;6 # directory 01;34 +LINK 00;38;5;2 # symbolic link. (If you set this to 'target' instead of a + # numerical value, the color is as for the file pointed to.) +MULTIHARDLINK 00 # regular file with more than one link +FIFO 48;5;0;38;5;3;01 # pipe +SOCK 48;5;0;38;5;3;01 # socket +DOOR 48;5;0;38;5;3;01 # door +BLK 48;5;0;38;5;15;01 # block device driver +CHR 48;5;0;38;5;15;01 # character device driver +ORPHAN 48;5;0;38;5;1 # symlink to nonexistent file, or non-stat'able file +SETUID 48;5;1;38;5;3 # file that is setuid (u+s) +SETGID 48;5;1;38;5;3 # file that is setgid (g+s) +CAPABILITY 30;41 # file with capability +STICKY_OTHER_WRITABLE 48;5;2;38;5;3 # dir that is sticky and other-writable (+t,o+w) +OTHER_WRITABLE 48;5;0;38;5;6 # dir that is other-writable (o+w) and not sticky +STICKY 48;5;6;38;5;3 # dir with the sticky bit set (+t) and not other-writable +# This is for files with execute permission: +EXEC 00;38;5;2 + +## Archives or compressed (violet + bold for compression) +.tar 00;38;5;4 +.tgz 00;38;5;4 +.arj 00;38;5;4 +.taz 00;38;5;4 +.lzh 00;38;5;4 +.lzma 00;38;5;4 +.tlz 00;38;5;4 +.txz 00;38;5;4 +.zip 00;38;5;4 +.z 00;38;5;4 +.Z 00;38;5;4 +.dz 00;38;5;4 +.gz 00;38;5;4 +.lz 00;38;5;4 +.xz 00;38;5;4 +.bz2 00;38;5;4 +.bz 00;38;5;4 +.tbz 00;38;5;4 +.tbz2 00;38;5;4 +.tz 00;38;5;4 +.deb 00;38;5;4 +.rpm 00;38;5;4 +.jar 00;38;5;4 +.rar 00;38;5;4 +.ace 00;38;5;4 +.zoo 00;38;5;4 +.cpio 00;38;5;4 +.7z 00;38;5;4 +.rz 00;38;5;4 +.apk 00;38;5;4 +.gem 00;38;5;4 + +# Image formats (yellow) +.jpg 00;38;5;3 +.JPG 00;38;5;3 #stupid but needed +.jpeg 00;38;5;3 +.gif 00;38;5;3 +.bmp 00;38;5;3 +.pbm 00;38;5;3 +.pgm 00;38;5;3 +.ppm 00;38;5;3 +.tga 00;38;5;3 +.xbm 00;38;5;3 +.xpm 00;38;5;3 +.tif 00;38;5;3 +.tiff 00;38;5;3 +.png 00;38;5;3 +.PNG 00;38;5;3 +.svg 00;38;5;3 +.svgz 00;38;5;3 +.mng 00;38;5;3 +.pcx 00;38;5;3 +.dl 00;38;5;3 +.xcf 00;38;5;3 +.xwd 00;38;5;3 +.yuv 00;38;5;3 +.cgm 00;38;5;3 +.emf 00;38;5;3 +.eps 00;38;5;3 +.CR2 00;38;5;3 +.ico 00;38;5;3 + +# Files of special interest (base1) +.tex 00;38;5;7 +.rdf 00;38;5;7 +.owl 00;38;5;7 +.n3 00;38;5;7 +.ttl 00;38;5;7 +.nt 00;38;5;7 +.torrent 00;38;5;7 +.xml 00;38;5;7 +*Makefile 00;38;5;7 +*Rakefile 00;38;5;7 +*Dockerfile 00;38;5;7 +*build.xml 00;38;5;7 +*rc 00;38;5;7 +*1 00;38;5;7 +.nfo 00;38;5;7 +*README 00;38;5;7 +*README.txt 00;38;5;7 +*readme.txt 00;38;5;7 +.md 00;38;5;7 +*README.markdown 00;38;5;7 +.ini 00;38;5;7 +.yml 00;38;5;7 +.cfg 00;38;5;7 +.conf 00;38;5;7 +.h 00;38;5;7 +.hpp 00;38;5;7 +.c 00;38;5;7 +.cpp 00;38;5;7 +.cxx 00;38;5;7 +.cc 00;38;5;7 +.objc 00;38;5;7 +.sqlite 00;38;5;7 +.go 00;38;5;7 +.sql 00;38;5;7 +.csv 00;38;5;7 + +# "unimportant" files as logs and backups (base01) +.log 00;38;5;8 +.bak 00;38;5;8 +.aux 00;38;5;8 +.lof 00;38;5;8 +.lol 00;38;5;8 +.lot 00;38;5;8 +.out 00;38;5;8 +.toc 00;38;5;8 +.bbl 00;38;5;8 +.blg 00;38;5;8 +*~ 00;38;5;8 +*# 00;38;5;8 +.part 00;38;5;8 +.incomplete 00;38;5;8 +.swp 00;38;5;8 +.tmp 00;38;5;8 +.temp 00;38;5;8 +.o 00;38;5;8 +.pyc 00;38;5;8 +.class 00;38;5;8 +.cache 00;38;5;8 + +# Audio formats (orange) +.aac 00;38;5;1 +.au 00;38;5;1 +.flac 00;38;5;1 +.mid 00;38;5;1 +.midi 00;38;5;1 +.mka 00;38;5;1 +.mp3 00;38;5;1 +.mpc 00;38;5;1 +.ogg 00;38;5;1 +.opus 00;38;5;1 +.ra 00;38;5;1 +.wav 00;38;5;1 +.m4a 00;38;5;1 +# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions +.axa 00;38;5;1 +.oga 00;38;5;1 +.spx 00;38;5;1 +.xspf 00;38;5;1 + +# Video formats (as audio + bold) +.mov 00;38;5;1 +.MOV 00;38;5;1 +.mpg 00;38;5;1 +.mpeg 00;38;5;1 +.m2v 00;38;5;1 +.mkv 00;38;5;1 +.ogm 00;38;5;1 +.mp4 00;38;5;1 +.m4v 00;38;5;1 +.mp4v 00;38;5;1 +.vob 00;38;5;1 +.qt 00;38;5;1 +.nuv 00;38;5;1 +.wmv 00;38;5;1 +.asf 00;38;5;1 +.rm 00;38;5;1 +.rmvb 00;38;5;1 +.flc 00;38;5;1 +.avi 00;38;5;1 +.fli 00;38;5;1 +.flv 00;38;5;1 +.gl 00;38;5;1 +.m2ts 00;38;5;1 +.divx 00;38;5;1 +.webm 00;38;5;1 +# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions +.axv 00;38;5;1 +.anx 00;38;5;1 +.ogv 00;38;5;1 +.ogx 00;38;5;1# Configuration file for dircolors, a utility to help you set the +# LS_COLORS environment variable used by GNU ls with the --color option. + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copying and distribution of this file, with or without modification, +# are permitted provided the copyright notice and this notice are preserved. + +# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the +# slackware version of dircolors) are recognized but ignored. + +# You can copy this file to .dir_colors in your $HOME directory to override +# the system defaults. + +# Below, there should be one TERM entry for each termtype that is colorizable +# Term Section +TERM Eterm +TERM ansi +TERM color-xterm +TERM con132x25 +TERM con132x30 +TERM con132x43 +TERM con132x60 +TERM con80x25 +TERM con80x28 +TERM con80x30 +TERM con80x43 +TERM con80x50 +TERM con80x60 +TERM cons25 +TERM console +TERM cygwin +TERM dtterm +TERM dvtm +TERM dvtm-256color +TERM eterm-color +TERM fbterm +TERM gnome +TERM gnome-256color +TERM jfbterm +TERM konsole +TERM konsole-256color +TERM kterm +TERM linux +TERM linux-c +TERM mach-color +TERM mlterm +TERM putty +TERM putty-256color +TERM rxvt +TERM rxvt-256color +TERM rxvt-cygwin +TERM rxvt-cygwin-native +TERM rxvt-unicode +TERM rxvt-unicode256 +TERM rxvt-unicode-256color +TERM screen +TERM screen-16color +TERM screen-16color-bce +TERM screen-16color-s +TERM screen-16color-bce-s +TERM screen-256color +TERM screen-256color-bce +TERM screen-256color-s +TERM screen-256color-bce-s +TERM screen-256color-italic +TERM screen-bce +TERM screen-w +TERM screen.linux +TERM screen.xterm-256color +TERM st +TERM st-meta +TERM st-256color +TERM st-meta-256color +TERM tmux +TERM tmux-256color +TERM vt100 +TERM xterm +TERM xterm-16color +TERM xterm-256color +TERM xterm-256color-italic +TERM xterm-88color +TERM xterm-color +TERM xterm-debian +TERM xterm-termite + +## Documentation +# +# standard colors +# +# Below are the color init strings for the basic file types. A color init +# string consists of one or more of the following numeric codes: +# Attribute codes: +# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed +# Text color codes: +# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white +# Background color codes: +# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white +# +# +# 256 color support +# see here: http://www.mail-archive.com/bug-coreutils@gnu.org/msg11030.html) +# +# Text 256 color coding: +# 38;5;COLOR_NUMBER +# Background 256 color coding: +# 48;5;COLOR_NUMBER + +## Special files + +NORMAL 00;38;5;15 # no color code at all +#FILE 00 # regular file: use no color at all +RESET 0 # reset to "normal" color +DIR 00;38;5;6 # directory 01;34 +LINK 00;38;5;2 # symbolic link. (If you set this to 'target' instead of a + # numerical value, the color is as for the file pointed to.) +MULTIHARDLINK 00 # regular file with more than one link +FIFO 48;5;0;38;5;3;01 # pipe +SOCK 48;5;0;38;5;3;01 # socket +DOOR 48;5;0;38;5;3;01 # door +BLK 48;5;0;38;5;15;01 # block device driver +CHR 48;5;0;38;5;15;01 # character device driver +ORPHAN 48;5;0;38;5;1 # symlink to nonexistent file, or non-stat'able file +SETUID 48;5;1;38;5;3 # file that is setuid (u+s) +SETGID 48;5;1;38;5;3 # file that is setgid (g+s) +CAPABILITY 30;41 # file with capability +STICKY_OTHER_WRITABLE 48;5;2;38;5;3 # dir that is sticky and other-writable (+t,o+w) +OTHER_WRITABLE 48;5;0;38;5;6 # dir that is other-writable (o+w) and not sticky +STICKY 48;5;6;38;5;3 # dir with the sticky bit set (+t) and not other-writable +# This is for files with execute permission: +EXEC 00;38;5;2 + +## Archives or compressed (violet + bold for compression) +.tar 00;38;5;4 +.tgz 00;38;5;4 +.arj 00;38;5;4 +.taz 00;38;5;4 +.lzh 00;38;5;4 +.lzma 00;38;5;4 +.tlz 00;38;5;4 +.txz 00;38;5;4 +.zip 00;38;5;4 +.z 00;38;5;4 +.Z 00;38;5;4 +.dz 00;38;5;4 +.gz 00;38;5;4 +.lz 00;38;5;4 +.xz 00;38;5;4 +.bz2 00;38;5;4 +.bz 00;38;5;4 +.tbz 00;38;5;4 +.tbz2 00;38;5;4 +.tz 00;38;5;4 +.deb 00;38;5;4 +.rpm 00;38;5;4 +.jar 00;38;5;4 +.rar 00;38;5;4 +.ace 00;38;5;4 +.zoo 00;38;5;4 +.cpio 00;38;5;4 +.7z 00;38;5;4 +.rz 00;38;5;4 +.apk 00;38;5;4 +.gem 00;38;5;4 + +# Image formats (yellow) +.jpg 00;38;5;3 +.JPG 00;38;5;3 #stupid but needed +.jpeg 00;38;5;3 +.gif 00;38;5;3 +.bmp 00;38;5;3 +.pbm 00;38;5;3 +.pgm 00;38;5;3 +.ppm 00;38;5;3 +.tga 00;38;5;3 +.xbm 00;38;5;3 +.xpm 00;38;5;3 +.tif 00;38;5;3 +.tiff 00;38;5;3 +.png 00;38;5;3 +.PNG 00;38;5;3 +.svg 00;38;5;3 +.svgz 00;38;5;3 +.mng 00;38;5;3 +.pcx 00;38;5;3 +.dl 00;38;5;3 +.xcf 00;38;5;3 +.xwd 00;38;5;3 +.yuv 00;38;5;3 +.cgm 00;38;5;3 +.emf 00;38;5;3 +.eps 00;38;5;3 +.CR2 00;38;5;3 +.ico 00;38;5;3 + +# Files of special interest (base1) +.tex 00;38;5;7 +.rdf 00;38;5;7 +.owl 00;38;5;7 +.n3 00;38;5;7 +.ttl 00;38;5;7 +.nt 00;38;5;7 +.torrent 00;38;5;7 +.xml 00;38;5;7 +*Makefile 00;38;5;7 +*Rakefile 00;38;5;7 +*Dockerfile 00;38;5;7 +*build.xml 00;38;5;7 +*rc 00;38;5;7 +*1 00;38;5;7 +.nfo 00;38;5;7 +*README 00;38;5;7 +*README.txt 00;38;5;7 +*readme.txt 00;38;5;7 +.md 00;38;5;7 +*README.markdown 00;38;5;7 +.ini 00;38;5;7 +.yml 00;38;5;7 +.cfg 00;38;5;7 +.conf 00;38;5;7 +.h 00;38;5;7 +.hpp 00;38;5;7 +.c 00;38;5;7 +.cpp 00;38;5;7 +.cxx 00;38;5;7 +.cc 00;38;5;7 +.objc 00;38;5;7 +.sqlite 00;38;5;7 +.go 00;38;5;7 +.sql 00;38;5;7 +.csv 00;38;5;7 + +# "unimportant" files as logs and backups (base01) +.log 00;38;5;8 +.bak 00;38;5;8 +.aux 00;38;5;8 +.lof 00;38;5;8 +.lol 00;38;5;8 +.lot 00;38;5;8 +.out 00;38;5;8 +.toc 00;38;5;8 +.bbl 00;38;5;8 +.blg 00;38;5;8 +*~ 00;38;5;8 +*# 00;38;5;8 +.part 00;38;5;8 +.incomplete 00;38;5;8 +.swp 00;38;5;8 +.tmp 00;38;5;8 +.temp 00;38;5;8 +.o 00;38;5;8 +.pyc 00;38;5;8 +.class 00;38;5;8 +.cache 00;38;5;8 + +# Audio formats (orange) +.aac 00;38;5;1 +.au 00;38;5;1 +.flac 00;38;5;1 +.mid 00;38;5;1 +.midi 00;38;5;1 +.mka 00;38;5;1 +.mp3 00;38;5;1 +.mpc 00;38;5;1 +.ogg 00;38;5;1 +.opus 00;38;5;1 +.ra 00;38;5;1 +.wav 00;38;5;1 +.m4a 00;38;5;1 +# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions +.axa 00;38;5;1 +.oga 00;38;5;1 +.spx 00;38;5;1 +.xspf 00;38;5;1 + +# Video formats (as audio + bold) +.mov 00;38;5;1 +.MOV 00;38;5;1 +.mpg 00;38;5;1 +.mpeg 00;38;5;1 +.m2v 00;38;5;1 +.mkv 00;38;5;1 +.ogm 00;38;5;1 +.mp4 00;38;5;1 +.m4v 00;38;5;1 +.mp4v 00;38;5;1 +.vob 00;38;5;1 +.qt 00;38;5;1 +.nuv 00;38;5;1 +.wmv 00;38;5;1 +.asf 00;38;5;1 +.rm 00;38;5;1 +.rmvb 00;38;5;1 +.flc 00;38;5;1 +.avi 00;38;5;1 +.fli 00;38;5;1 +.flv 00;38;5;1 +.gl 00;38;5;1 +.m2ts 00;38;5;1 +.divx 00;38;5;1 +.webm 00;38;5;1 +# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions +.axv 00;38;5;1 +.anx 00;38;5;1 +.ogv 00;38;5;1 +.ogx 00;38;5;1 \ No newline at end of file diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 7b5e851..612ae57 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -1,5 +1,5 @@ # This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. +# It will 'FiraCode Nerd Font Mono'not be overwritten, so edit it as you like. # # Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). @@ -13,7 +13,8 @@ set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:monospace 8 +#font pango:monospace 8 +font 'FiraCode Nerd Font Mono' 8 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -55,12 +56,13 @@ bindsym $mod+Return exec /etc/profiles/per-user/hactario/bin/alacritty bindsym $mod+Shift+a kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run +# bindsym $mod+d exec --no-startup-id dmenu_run # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" # There also is i3-dmenu-desktop which only displays applications shipping a # .desktop file. It is a wrapper around dmenu, so you need that installed. # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop +bindsym $mod+d exec "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -fn 'Hack-10.5' -p 'launch% '" # change focus bindsym $mod+j focus left @@ -183,20 +185,25 @@ mode "resize" { bindsym $mod+r mode "resize" -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) +client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4 +client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A +client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36 +client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555 +client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36 +client.background #F8F8F2 bar { - font DroidSansMNerdFont, FontAwesome 12 - position bottom - status_command i3status-rs ~/.config/i3status-rust/config.toml - colors { - separator #666666 - background #222222 - statusline #dddddd - focused_workspace #0088CC #0088CC #ffffff - active_workspace #333333 #333333 #ffffff - inactive_workspace #333333 #333333 #888888 - urgent_workspace #2f343a #900000 #ffffff - } -} \ No newline at end of file + font 'FiraCode Nerd Font Mono',FontAwesome 12 + position bottom + status_command i3status ~/.config/i3status-rust/config.toml + colors { + background #282A36 + statusline #F8F8F2 + separator #44475A + focused_workspace #44475A #44475A #F8F8F2 + active_workspace #282A36 #44475A #F8F8F2 + inactive_workspace #282A36 #282A36 #BFBFBF + urgent_workspace #FF5555 #FF5555 #F8F8F2 + binding_mode #FF5555 #FF5555 #F8F8F2 + } +} diff --git a/i3/.config/i3status/config b/i3/.config/i3status/config new file mode 100644 index 0000000..2e5f2ee --- /dev/null +++ b/i3/.config/i3status/config @@ -0,0 +1,91 @@ +general { + + output_format = "i3bar" + colors = true + color_good = "#50FA7B" + color_degraded = "#F1FA8C" + color_bad = "#FF5555" + interval = 5 +} + +order += "ipv6" +order += "disk /" +order += "run_watch DHCP" +order += "run_watch VPNC" +order += "path_exists VPN" +order += "wireless wlan0" +order += "ethernet eth0" +order += "battery 0" +order += "cpu_temperature 0" +order += "memory" +order += "load" +order += "tztime local" +order += "tztime berlin" + +wireless wlan0 { + format_up = "W: (%quality at %essid, %bitrate) %ip" + format_down = "W: down" +} + +ethernet eth0 { + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery 0 { + format = "%status %percentage %remaining %emptytime" + format_down = "No battery" + status_chr = "⚡ CHR" + status_bat = "🔋 BAT" + status_unk = "? UNK" + status_full = "☻ FULL" + path = "/sys/class/power_supply/BAT%d/uevent" + low_threshold = 10 +} + +run_watch DHCP { + pidfile = "/var/run/dhclient*.pid" +} + +run_watch VPNC { + # file containing the PID of a vpnc process + pidfile = "/var/run/vpnc/pid" +} + +path_exists VPN { + # path exists when a VPN tunnel launched by nmcli/nm-applet is active + path = "/proc/sys/net/ipv4/conf/tun0" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" + hide_if_equals_localtime = true +} + +tztime berlin { + format = "%Y-%m-%d %H:%M:%S %Z" + timezone = "Europe/Berlin" +} + +load { + format = "%5min" +} + +cpu_temperature 0 { + format = "T: %degrees °C" + path = "/sys/devices/platform/coretemp.0/temp1_input" +} + +memory { + format = "%used" + threshold_degraded = "10%" + format_degraded = "MEMORY: %free" +} + +disk "/" { + format = "%free" +} + +read_file uptime { + path = "/proc/uptime" +} \ No newline at end of file diff --git a/setup.sh b/setup.sh index 10b1392..da22fa6 100755 --- a/setup.sh +++ b/setup.sh @@ -8,6 +8,7 @@ git submodule update # what directories should be installable by all users including the root user base=( + dracula git helix htop