From c439f19e186b76ad49afb76d7d4b0188c610557f Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Sat, 25 Mar 2023 23:06:09 +0100 Subject: [PATCH] GIT configuration --- config/git/config | 20 +++++++++++++++++ config/git/ignore | 53 ++++++++++++++++++++++++++++++++++++++++++++ config/i3status.conf | 39 ++++++++++++++++++++++++++++++++ 3 files changed, 112 insertions(+) create mode 100644 config/git/config create mode 100644 config/git/ignore create mode 100644 config/i3status.conf diff --git a/config/git/config b/config/git/config new file mode 100644 index 0000000..2416bfe --- /dev/null +++ b/config/git/config @@ -0,0 +1,20 @@ +[color] + ui = auto +[user] + name = Lionel Sambuc + email = lionel.sambuc@gmail.com +[merge] + tool = meld +[core] + editor = /usr/bin/vim + excludesfile = /Users/sambuc/.config/git/ignore +[push] + default = simple +[filter "media"] + required = true + clean = git media clean %f + smudge = git media smudge %f +[filter "lfs"] + clean = git-lfs clean %f + smudge = git-lfs smudge %f + required = true diff --git a/config/git/ignore b/config/git/ignore new file mode 100644 index 0000000..c36ad2a --- /dev/null +++ b/config/git/ignore @@ -0,0 +1,53 @@ +# Ignore all generated files : +*.[oa] +*.tmp* +*.log +*.pyc +*.elf +*.cmd +*.dis +*.sym +*.bin +*.exe + +# Backup files +*~ +*~~ +*.swp +*.old +*.orig + +# MacOS files +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# Hidden files +#.??* # Remove this comment in a project + +# except the followings: +!.gitignore diff --git a/config/i3status.conf b/config/i3status.conf new file mode 100644 index 0000000..e1bbf60 --- /dev/null +++ b/config/i3status.conf @@ -0,0 +1,39 @@ +general { + output_format = "none" + colors = true + interval = 5 +} + +order += "disk /" +order += "disk /local" +order += "disk /home" +order += "ethernet eth1" +order += "load" +order += "time" + +ethernet eth1 { + # if you use %speed, i3status requires the cap_net_admin capability + #format_up = "E: %ip (%speed)" + format_up = "E: %ip" + format_down = "E: down" +} + +time { + format = "%Y-%m-%d %H:%M:%S" +} + +load { + format = "%1min %5min %15min" +} + +disk "/" { + format = "root %avail" +} + +disk "/local" { + format = "local %avail" +} + +disk "/home" { + format = "home %avail" +}