From 441ee7d850a5c3bb68fb86c2e6d586e4c6b49aef Mon Sep 17 00:00:00 2001 From: DustVoice Date: Sun, 8 Dec 2019 01:12:48 +0100 Subject: [PATCH] Try to get some sense back into .gitignore --- .config/.gitignore | 11 +++++ .config/fish/.gitignore | 2 + .config/fish/functions/l.fish | 3 -- .config/fish/functions/layout.fish | 3 ++ .config/i3status/config | 64 ++++++++++++++++++++++++++++++ .config/nitrogen/.gitignore | 1 + .gitignore | 38 ++++++++---------- 7 files changed, 97 insertions(+), 25 deletions(-) create mode 100644 .config/.gitignore delete mode 100644 .config/fish/functions/l.fish create mode 100644 .config/fish/functions/layout.fish create mode 100644 .config/i3status/config create mode 100644 .config/nitrogen/.gitignore diff --git a/.config/.gitignore b/.config/.gitignore new file mode 100644 index 0000000..670b438 --- /dev/null +++ b/.config/.gitignore @@ -0,0 +1,11 @@ +/* +/*/ +!/.gitignore + +!/.compton.conf/ +!/fish/ +!/i3/ +!/i3status/ +!/nitrogen/ +!/nvim/ +!/polybar/ diff --git a/.config/fish/.gitignore b/.config/fish/.gitignore index 23efee9..eb57c3b 100644 --- a/.config/fish/.gitignore +++ b/.config/fish/.gitignore @@ -1 +1,3 @@ fish_variables + +!.gitignore diff --git a/.config/fish/functions/l.fish b/.config/fish/functions/l.fish deleted file mode 100644 index e1c7d5c..0000000 --- a/.config/fish/functions/l.fish +++ /dev/null @@ -1,3 +0,0 @@ -function l - ls -CF $argv -end diff --git a/.config/fish/functions/layout.fish b/.config/fish/functions/layout.fish new file mode 100644 index 0000000..1e90be8 --- /dev/null +++ b/.config/fish/functions/layout.fish @@ -0,0 +1,3 @@ +function layout + xkblayout-state print "%s %v" +end diff --git a/.config/i3status/config b/.config/i3status/config new file mode 100644 index 0000000..30161dd --- /dev/null +++ b/.config/i3status/config @@ -0,0 +1,64 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 5 +} + +order += "volume master" +order += "wireless _first_" +order += "ethernet _first_" +order += "battery all" +order += "disk /" +order += "cpu_usage" +order += "memory" +order += "tztime local" + +volume master { + format = "VOL: %volume" + device = "default" + mixer = "Master" +} + +wireless _first_ { + format_up = "W: %ip (%quality at %essid, %bitrate)" + format_down = "W: down" +} + +ethernet _first_ { + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery all { + format = "%status %percentage (%remaining)" + format_down = "No battery found" + status_chr = "CHR" + status_bat = "BAT" + status_unk = "UNK" + status_full = "FULL" +} + +disk "/" { + format = "%avail / %total" +} + +cpu_usage { + format = "%usage" +} + +memory { + format = "%used | %available" + threshold_degraded = "1G" + format_degraded = "MEMORY < %available" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} diff --git a/.config/nitrogen/.gitignore b/.config/nitrogen/.gitignore new file mode 100644 index 0000000..7103328 --- /dev/null +++ b/.config/nitrogen/.gitignore @@ -0,0 +1 @@ +*.cfg diff --git a/.gitignore b/.gitignore index 9f00b0c..9a06316 100644 --- a/.gitignore +++ b/.gitignore @@ -1,25 +1,19 @@ -* +/* +/*/ +!/.gitignore -!.gitignore +!/.bashrc +!/.gitconfig +!/.inputrc +!/.password-store +!/.xinitrc +!/.Xmodmap +!/.Xresources +!/.zshrc +!/README.md -!.bash_aliases -!.bashrc -!.gitconfig -!.inputrc -!.password-store -!.xinitrc -!.Xmodmap -!.Xresources -!.zshrc -!README.md +!/.config/ -!.config/.compton.conf -!.config/fish -!.config/i3 -!.config/nitrogen -!.config/nvim -!.config/polybar - -!.gnupg/gpg-agent.conf -!.gnupg/gpg.conf -!.gnupg/sshcontrol +!/.gnupg/gpg-agent.conf +!/.gnupg/gpg.conf +!/.gnupg/sshcontrol